Sorry but you got me lost there. I really don't know how you get very two different results running the same command with the same parameters and without changing the pom.xml's. Do you run those with a command line or do you use an IDE? Maybe somebody else has a better understanding than I am of what your problem is.

Anyway, I don't see why you would have to modify anything to your pom, since the result you want can be obtained just by changing the current directory when launching Maven.

Hope someone can help you more.

Guillaume

Le 29/09/2011 14:53, Nazia Ghawte a écrit :
Follwoing is the output on running the deploy command

First  when i chnage the version from 2.4 to 2.6

[INFO] Uploading repository metadata for: 'artifact
commons.adapter:pricing-ra'
[INFO]
------------------------------------------------------------------------
[INFO] Building Resource Adapter
[INFO]    task-segment: [deploy]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.6/maven-deploy-plugin-2.6.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/19/maven-plugins-19.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.6/maven-deploy-plugin-2.6.jar
[INFO] Reloading plugin container for:
org.apache.maven.plugins:maven-deploy-plugin. The plugin artifact has
changed.
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/dev/SVNWorkspace/resourceadapter/pom.xml to
/usr/local/apache-maven-2.0.9/repo/com/pf/resourceadapter/1.0-SNAPSHOT/resourceadapter-1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
[INFO] Skipping artifact deployment
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] commons-adapter ....................................... SUCCESS
[9.058s]
[INFO] parser ................................................ SUCCESS
[4.884s]
[INFO] uri-ra ................................................ SUCCESS
[5.204s]
[INFO] tax-ra ................................................ SUCCESS
[5.134s]
[INFO] pricing-ra ............................................ SUCCESS
[5.085s]
[INFO] Resource Adapter ...................................... SUCCESS
[2.941s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------


2) when i run the same command again
[INFO] Uploading repository metadata for: 'artifact
commons.adapter:pricing-ra'
[INFO]
------------------------------------------------------------------------
[INFO] Building Resource Adapter
[INFO]    task-segment: [deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/dev/SVNWorkspace/resourceadapter/pom.xml to
/usr/local/apache-maven-2.0.9/repo/com/pf/resourceadapter/1.0-SNAPSHOT/resourceadapter-1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from maven
Uploading:
scp://10.11.19.113/home/dev/com/pf/resourceadapter/1.0-SNAPSHOT/resourceadapter-1.0-20110929.112106-10.pom
4K uploaded
[INFO] Retrieving previous metadata from maven
[INFO] Uploading repository metadata for: 'artifact com.pf:resourceadapter'
[INFO] Retrieving previous metadata from maven
[INFO] Uploading repository metadata for: 'snapshot
com.pf:resourceadapter:1.0-SNAPSHOT'
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] commons-adapter ....................................... SUCCESS
[9.585s]
[INFO] parser ................................................ SUCCESS
[4.946s]
[INFO] uri-ra ................................................ SUCCESS
[5.186s]
[INFO] tax-ra ................................................ SUCCESS
[5.059s]
[INFO] pricing-ra ............................................ SUCCESS
[5.133s]
[INFO] Resource Adapter ...................................... SUCCESS
[6.234s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------



--
View this message in context: 
http://maven-users.828.n2.nabble.com/Skip-Pom-deployment-tp6843439p6843774.html
Sent from the maven users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to