What happens when we pass parameter -xyz; mvn --help to the rescue!
-pl or --projects means we ask maven to select a particular project or artifact 
to build and/or run a plugin on.

We can either give it a valid filesystem path like; mvn -pl client jetty:run 
(here client is the folder which is actually the cloud-client-ui artifact)
Or, we specify the artifactId, so we use <groupId>:<artifactId> as to use 
default groupId which is org.apache.cloudstack, so both of the following are 
valid as well:
mvn -pl :cloud-client-ui  jetty:run (here since we're already inside 
cloudstack's src, the groupId is already defined in all pom.xmls)
mvn -pl org.apache.cloudstack:cloud-client-ui  jetty:run

Regards.

________________________________________
From: Charles Moulliard [ch0...@gmail.com]
Sent: Friday, November 09, 2012 2:44 PM
To: cloudstack-dev
Subject: Meaning of parameter -pl developer, ...

Hi,

What does it happen when we pass parameter -pl developer or
-pl -:cloud-client-ui to maven ?

Regards,

--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Reply via email to