Just for reference.
The joys of Maven.
Putting the relative path of the modules to ../pom.xml solved it.
The parent
element has a relativePath
element that you need to point to the directory of the parent. It defaults to ..
More Related Contents:
- Verification of dependency authenticity in Maven POM based automated build systems
- Finding the root directory of a multi module Maven reactor project
- Best practices for copying files with Maven
- Jenkins CI Pipeline Scripts not permitted to use method groovy.lang.GroovyObject
- How do you clear Apache Maven’s cache?
- Maven and adding JARs to system scope
- How to tell Maven to disregard SSL errors (and trusting all certs)?
- Why am I getting “Received fatal alert: protocol_version” or “peer not authenticated” from Maven Central?
- How to disable maven blocking external HTTP repositories?
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test
- Selenium-TestNG-Maven – Getting “java.lang.NoClassDefFoundError: org/openqa/selenium/firefox/FirefoxDriver”
- Error when deploying an artifact in Nexus
- Adding external JAR to Maven project in NetBeans
- How to get access to Maven’s dependency hierarchy within a plugin
- How do I Extract Version ID from POM inside Jenkins Declarative and Scripted pipelines?
- How to use BOM file with Maven?
- Getting “Skipping JaCoCo execution due to missing execution data file” upon executing JaCoCo
- How to resolve cyclic dependency in Maven?
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.
- maven command line how to point to a specific settings.xml for a single command?
- Is effective-pom a merge between super pom and application POM
- Maven Snapshot Repository vs Release Repository
- Maven multi-module project – copying all “package” JARS from submodules into parent/target/
- Generate test-jar along with jar file in test package
- Where should I put unit tests when migrating a Java 8 project to Jigsaw
- ClassNotFoundException with com.mysql.cj.jdbc.Driver, MySQL Connector and IntelliJ IDEA [duplicate]
- How to override the `project.build.finalName` Maven property from the command line?
- Make maven’s surefire show stacktrace in console
- Maven best practice for creating ad hoc zip artifact
- How to exclude maven dependencies?