I have seen a lot of posts asking about how to install jar files in the local
repo, and install:install-file works fine, but I can't find a way of
automating it. All the docs and the posts talk about manually installing
3rd party jars when they are needed. My goal is to have a project in source
control that anybody can checkout and run a single mvn goal, resulting in N
jar files in the local mvn repository.
I have tried configuring a pom with install-file as an execution in the
install cycle, e.g.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<file>...</file>
<groupId>...</groupId>
<artifactId>...</artifactId>
<version>...</version>
</configuration>
<plugin>
</plugins>
</build>
Is this so crazy? The plugin barfs with a message about "Cannot override
read-only parameter:". It seems I cannot use install-file except on the
command line. Have I missed something obvious? Is there a better way to do
this?
--
View this message in context:
http://www.nabble.com/Automating-install%3Ainstall-file-tf2071058.html#a5701835
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]