Hi,

I have a project structure such as this

parent-dir
   a-maven-proj1
   a-maven-proj2
   pom.xml

pom.xml in parent-dir is a parent pom.xml which include a-maven-proj1 and
a-maven-proj2 as modules.

If I run "mvn test" in parent-dir this goal is executed for both the modules
and I am happy.

Now the situation is that a-maven-proj2 uses a custom plugin which has
created a specific goal, let's say customplugin:run-app. 

When I run "mvn customplugin:run-app" in the parent-dir the goal is executed
for the both the modules. Since customplugin does not understand
a-maven-proj1 the execution fails.

That said, I was looking for a way such that I can specify on a command line
or in the configuration that customplugin:run-app should only be run for
a-maven-proj2.

Many thanks for the help

Regards
Kapil
-- 
View this message in context: 
http://www.nabble.com/How-to-run-a-goal-only-for-a-particular-project-in-a-multimodule-project---tp24255722p24255722.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to