Hi all -

I am getting close to releasing a project and am trying to nail down all the
SNAPSHOT dependencies. I have one plugin (jboss-sar), which was never
released, and only has a 2.0-SNAPSHOT version available.  I want to take
this jar and assign a release number to it to be installed in our internal
maven repo.

Is there an "official" way to do this?  I have been manually doing the
following:
1) in the jar, editing plugin.xml and replacing the version "2.0-SNAPSHOT"
with "2.0-MINE"
2) in the jar, editing pom.properties and changing the property "
2.0-SNAPSHOT" with "2.0-MINE"
3) in the jar, editing pom.xml and replacing the version "2.0-SNAPSHOT" with
"2.0-MINE"
4) renaming the jar from "jboss-sar-maven-plugin-2.0-SNAPSHOT.jar" to "
jboss-sar-maven-plugin-2.0-MINE.jar"
5) using "mvn install:install-file" to add the jar to my internal repository

Is this sufficient?  Did I miss any steps?  Is there an easier way to do
this?

Reply via email to