Small errata, by default you should of course set the skipDeploy to 'false' of course so that by default your pom is deployed.

G.

Le 29/09/2011 13:01, Guillaume Polet a écrit :
You must then configure the following property in the maven-deploy-plugin: http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skip If you want to be able to choose that from the CLI, add a property (let's say skipDeploy) in your parent pom.xml with the value 'true', bind that property to the m-d-p in the parent pom and then you can choose to skip deployment for the parent pom with 'mvn -DskipDeploy=true deploy' which will result in the build and deployment of all the modules except the parent pom.

Cheers,
Guillaume

Le 29/09/2011 12:42, Nazia Ghawte a écrit :
How to skip the deployment of parent Pom into the maven repository?

--
View this message in context: http://maven-users.828.n2.nabble.com/Skip-Pom-deployment-tp6843439p6843439.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