Hi all,
I've configured install plugin to install additional file (created by the
assembly plugin from the same project). Settings is as below. However, the
very last step of installing the main artifact, I got this error
ERROR: Cannot override read-only parameter: packaging in goal:
install:install
Any idea why and how to work around it?
Thanks,
Hung-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3</version>
<configuration>
<file>target/${standalone-jar-name}.jar</file>
<packaging>jar</packaging>
<groupId>org.terracotta.hibernate-cache</groupId>
<artifactId>${standalone-jar-name}</artifactId>
<version>${project.version}</version>
</configuration>
<executions>
<execution>
<id>install-standalone</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</plugin>
--
View this message in context:
http://www.nabble.com/ERROR%3A-Cannot-override-read-only-parameter%3A-packaging-in-goal%3A-install%3Ainstall-tp24299872p24299872.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]