Is it possible to use the same .target file for every maven subproject?
Snippet from the parent .pom file
<groupId>root.server</groupId>
<artifactId>root.server</artifactId>
Snippet from child .pom file
<groupId>child.project</groupId>
<artifactId>child.project.parent</artifactId>
<target>
<artifact>
<groupId>root.server</groupId>
<artifactId>root.server</artifactId>
<version>${project.version}</version>
<classifier>targetfile</classifier>
</artifact>
</target>
When I try a "mvn clean install" in the child project I get an exception: Could not resolve target platform specification artifact
. When I try a "mvn clean install" in the parent of the child project everything works fine.
Is there a way to reuse one .target file for all projects (parent + subprojects) ?