Hello, I have a pom.xml file that is used to install a jar file into the repository. I've attached the pom file. This file is included in a folder named jsr94 along with a jar file jsr94-1.0-SNAPSHOT.jar in that folder. When I execute mvn, everything works fine, the jar file gets copied into the repository.
I have a parent folder called libraries. Within that folder, there is a pom.xml file which contains the tag: <modules> <module>jsr94</module> </modules> so the jsr94 jar file can be installed. I've attached the pom.xml for this as well. However, when I execute mvn, I receive the following error: [INFO] Error configuring: org.apache.maven.plugins:maven-install-plugin. Reason: ERROR: Cannot override read-only parameter: packaging in goal: install:install Please help. Why does it work in the child pom.xml and not the parent.xml? Thanks. http://www.nabble.com/file/p13860110/pom.xml pom.xml http://www.nabble.com/file/p13860110/pom.xml pom.xml -- View this message in context: http://www.nabble.com/ERROR%3A-Cannot-override-read-only-parameter%3A-packaging-in-goal%3A-install%3A-install-tf4844440s177.html#a13860110 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]