ok, one revelation here. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.7</version> <configuration> <skip>${skipDeploy}</skip> </configuration> </plugin> On changing the plugin version from 2.4 to 2.7 the artifact deployment was skipped for the first time,but it agin got deployed on running the deploy command for the second time.
-- View this message in context: http://maven-users.828.n2.nabble.com/Skip-Pom-deployment-tp6843439p6843702.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