Maven compile with multiple src directories
Is there a way to compile multiple java source directories in a single maven project? 10 Answers 10
Is there a way to compile multiple java source directories in a single maven project? 10 Answers 10
I imported a Maven project and it used Java 1.5 even though I have 1.6 configured as my Eclipse default Preferences->Java->Installed JREs. When … Read more
I’m trying to define a property in our super pom which will be used by all child projects as the destination of the … Read more
How can I tell Maven 2 to load the Servlet 3.0 API? I tried: <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>3.0</version> <scope>provided</scope> </dependency> I use http://repository.jboss.com/maven2/ … Read more
In Maven2, to exclude a single transitive dependency, I have to do something like this: <dependency> <groupId>sample.group</groupId> <artifactId>sample-artifactB</artifactId> <version>1</version> <exclusions> <exclusion> <groupId>sample.group</groupId> <artifactId>sample-artifactAB</artifactId> … Read more
Previous I issued a question on how to change Maven project vesion from command line which lead me to a new issue. Previously … Read more
For a project at work, we’re considering using the Maven plugin for Eclipse to automate our builds. Right now the procedure is far … Read more
I have a proprietary jar that I want to add to my pom as a dependency. But I don’t want to add it … Read more
How do you build a Maven project without running unit tests? Currently restructuring some code I have for a Servlet and would like … Read more
I’m getting the following error. It seems there are multiple logging frameworks bound to slf4j. Not sure how to resolve this. Any help … Read more