I have a common jar artifact that I have built and now want to deploy
to my company's remote repository, so I tried :-

mvn deploy

and saw that I needed to add :-

        <distributionManagement>
                <snapshotRepository>
                        <id>remote_repository</id>
                        <name>remote_repository Repository</name>
                        <url>file:///server/remote/.m2/repository</url>
                </snapshotRepository>
        </distributionManagement>

to the parent pom.xml . ok

All works fine but then I look in the remote repository I see

\1.0-SNAPSHOT
     Common-1.0-20051110.221828-1.jar
     Common-1.0-20051110.221828-1.pom

with timestamps on the jar names etc.

I want to share this jar as either
1.0-SNAPSHOT  or
1.0

Am I taking the wrong approach ? What is deploy for ?
Should I be using mvn release ?
I thought I could get away with the more simplistic deploy (to remote repo) ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to