In Eclipse Luna, the m2e plugin is complaining about my use of the dependency plugin.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.orci.VATVD.db</groupId>
<artifactId>database</artifactId>
<outputDirectory>${project.build.directory}/VATVD-DGListener-${project.version}</outputDirectory>
<destFileName>VATVD-Database-${project.version}.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
The full message I’m getting is as follows:
“Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging: see MDEP-187. (org.apache.maven.plugins:maven-dependency-plugin:2.8:copy:default:process-sources)”
This seems to be a problem with the resolution in the plugin and not with my POM. Any suggestions on getting around this?