I'm creating a jar file for my project, and then massaging it in Ant
before installing it in the repository. (Basically, I'm removing some
things and then obfuscating).
Trouble is, the maven-install-plugin is giving me warnings:
DEPRECATED: Binding aggregator mojos to lifecycle phases in the POM is
considered dangerous.
This feature has been deprecated. Please adjust your POM files accordingly.
Offending mojo:
org.apache.maven.plugins:maven-install-plugin:2.2:install-file
Here's the relevant section of the pom:
<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>install-obfuscated-jar</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${basedir}/target/${project.artifactId}-${project.version}-obs.jar</file>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>obs</classifier>
<packaging>jar</packaging>
</configuration>
</execution>
</executions>
</plugin>
What am I doing wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]