The purpose of this plugin is to spy out the artifacts that are produced by a project build. It serializes the project artifact and all attached artifacts into a properties file with the following format:
- key: the artifact's coordinates (groupId:artifactId:type:version:classifier)
- value: the filepath of the artifact relative to the project's base directory
The path of the artifact properties file can be adapted using the parameter outputFile
and is by default set to ${project.build.directory}/artifact-spy/artifacts.properties
.
<project>
...
<build>
...
<plugins>
...
<plugin>
<groupId>com.itemis.maven.plugins</groupId>
<artifactId>artifact-spy-plugin</artifactId>
<version>${version.artifact-spy-plugin}</version>
<executions>
<execution>
<id>spy-artifacts</id>
<phase>verify</phase>
<goals>
<goal>spy</goal>
</goals>
<configuration>
<outputFile>${project.build.directory}/spy/artifacts.properties</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
#
#Wed Apr 27 09:26:52 CEST 2016
com.itemis.maven.plugins\:org-parent\:pom\:1=pom.xml
#
#Wed Apr 27 08:51:13 CEST 2016
com.itemis.maven.plugins\:cdi-plugin-utils\:jar\:1.0.0=target/cdi-plugin-utils-1.0.0.jar
#
#Wed Apr 27 09:08:03 CEST 2016
com.itemis.maven.plugins\:ump-it-core\:zip\:pack\:0.0.1=target/ump-it-core-resources-0.0.1.zip
com.itemis.maven.plugins\:ump-it-core\:jar\:0.0.1=target/ump-it-core-0.0.1.jar
com.itemis.maven.plugins\:ump-it-core\:pom\:0.0.1=pom.xml