I have two projects: Parent project: A, Sub project: B A/pom.xml: <groupId>com.dummy.bla</groupId> <artifactId>parent</artifactId> <version>0.1-SNAPSHOT</version> <packaging>pom</packaging> And in B/pom.xml, I have: <parent> <groupId>com.dummy.bla</groupId> <artifactId>parent</artifactId> <version>0.1-SNAPSHOT</version> </parent> <groupId>com.dummy.bla.sub</groupId> <artifactId>kid</artifactId> I want...
  • May 24, 2022
  • 0 Comments
On my machine I have two Java versions installed: (1.6 and 1.7 installed manually by me). I need both of them for different projects. But for Maven I need...
  • May 22, 2022
  • 0 Comments
Recently, Apache Maven seems to be having caching issues. Performing clean installs on our projects using Windows Vista or Windows 7 sometimes produce artifacts with the same data as...
  • May 21, 2022
  • 0 Comments
After updating IntelliJ from version 12 to 13, the following Maven-related plugins cannot be resolved: org.apache.maven.plugins:maven-clean-plugin:2.4.1 org.apache.maven.plugins:maven-deploy-plugin org.apache.maven.plugins:maven-install-plugin org.apache.maven.plugins:maven-site-plugin When using IntelliJ 12, these were not in the plugins...
  • May 21, 2022
  • 0 Comments
Is there a way I can configure maven to always download sources and javadocs? Specifying -DdownloadSources=true -DdownloadJavadocs=true everytime (which usually goes along with running mvn compile twice because I...
  • May 21, 2022
  • 0 Comments
Is there a Maven “phase” or “goal” to simply execute the main method of a Java class? I have a project that I’d like to test manually by simply...
  • May 21, 2022
  • 0 Comments
How do I get my project’s runtime dependencies copied into the target/lib folder? As it is right now, after mvn clean install the target folder contains only my project’s...
  • May 19, 2022
  • 0 Comments