Skip to main content

Questions tagged [maven]

Apache Maven is a build automation and project management tool used primarily for Java projects. This tag is for questions that don't relate to a specific Maven version. Use the gradle tag instead for questions relating to Gradle.

maven
16 votes
5 answers
28k views

eclipse on maven project warning 'DTD or XML schema'

Description Resource Path Location Type No grammar constraints (DTD or XML schema) detected for the document. TEST-net.kindleit.gae.example.server.MessageRepositoryTest.xml /projecttest-...
cometta's user avatar
  • 35.5k
1 vote
1 answer
1k views

Retrieve property from classpath inside POM

For my current project I want to integrate a maven plug-in for database migrations. For this plug-in to work, however, I have to obtain the database settings inside my POM. My database settings are ...
Jeroen's user avatar
  • 527
28 votes
7 answers
16k views

Maven and the JOGL library?

I've been studying Maven in my free time over the last several days but can't seem to figure out how to organize a project so that the JOGL libraries are used. I would preferably like the following: ...
Ricket's user avatar
  • 33.8k
2 votes
3 answers
2k views

Maven Eclipse Plugin - " ... cannot be resolved"

I am using Eclipse 3.5, Maven 2.0.9 for my multi module Java project in one single workspace. My plugin declaration is below: <plugin> <groupId>org.apache.maven.plugins</...
GaryHalcon's user avatar
15 votes
8 answers
17k views

Best practices for code formatting on large projects [closed]

I maintain the build for a large Java EE/Maven/Hudson/Perforce project with about 20 developers spread across the world. The solution in-place for code formatting is to format the codebase using ...
SamBeran's user avatar
  • 1,934
7 votes
2 answers
11k views

GlassFish v3 and glassfish-maven-plugin (Mac)

I'm trying to use the glassfish-maven-plugin (https://maven-glassfish-plugin.dev.java.net/) with GlassFish v3 (I'm on a Mac and using Eclipse) and I can't seem to get my web app to deploy. I keep ...
anthonator's user avatar
  • 5,115
19 votes
5 answers
27k views

JavaFX with Maven [closed]

I recently started a JavaFX project, and I'd like to use Maven as my compiler/deployment tool. Is there a good tutorial or plugin to integrate JavaFX and Maven?
Alotor's user avatar
  • 7,477
0 votes
3 answers
2k views

Warning : No pom file was found, assuming default settings!

I installed Maven 1, following the doc here http://maven.apache.org/maven-1.x/start/install.html Installation was successful, then I typed in "maven site" as shown in the doc here maven.apache.org/...
Sylph's user avatar
  • 1,465
9 votes
3 answers
21k views

How to upload jar to respository?

I have jar files that cannot be found on Maven Central repository. I would like to add the jar so I can just include extra tag in my pom.xml file and other developer can use the jar. What are the ...
cometta's user avatar
  • 35.5k
2 votes
1 answer
1k views

Debug Maven project in Eclipse with third party sources

I am currently developing a maven project in eclipse. The m2eclipse plugin works beautifully. It even works out of the box with debugging. But when I am debugging open source third party libarries. ...
savanna's user avatar
  • 749
7 votes
1 answer
2k views

building cocoa project with maven

i have a cocoa project and i'd like to build it with maven. is there any maven plugin for building objective-c code?
Vyacheslav Karpukhin's user avatar
9 votes
2 answers
3k views

Could Free Pascal benefit of something like Apache Maven?

Apache Maven is a very popular build and dependency management tool in the Java open source ecosphere. I did some tests to find out if it can handle compiled Free Pascal / Delphi units and found it ...
3 votes
0 answers
2k views

Maven: How to get all transitive dependencies programatically in a MOJO [duplicate]

Possible Duplicate: How to get access to Maven’s dependency hierarchy within a plugin. The dependency:tree plugin:goal has an option 'verbose' which displays all conflicts & duplicates ...
javamonkey79's user avatar
  • 17.7k
3 votes
2 answers
3k views

How do you suppress property replacement when creating a project from an archetype?

I'm trying to create an archtype for a simple project, this project contains some ssl certs that i'd like to includes as resources in the archtype so when the project gets created those certs will be ...
darkman x's user avatar
718 votes
14 answers
505k views

Run a single test method with maven

I know you can run all the tests in a certain class using: mvn test -Dtest=classname But I want to run an individual method and -Dtest=classname.methodname doesn't seem to work.
BillMan's user avatar
  • 9,774

15 30 50 per page