You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by UseTheFork <jv...@gmail.com> on 2009/09/14 03:09:46 UTC
Newbie question about defining goals
Hi,
This is a newbie clarification question. The set of default goals attached
to phases does depend on the packaging setting in the pom.xml.
Lets imagine that I want to add a goal G from plugin P to execute in phase
H. Let's imagine that this plugin P must be retrieved from a remote
repository R. What do I exactly need to put in my pom.xml?
Thanks,
UseTheFork
--
View this message in context: http://www.nabble.com/Newbie-question-about-defining-goals-tp25428980p25428980.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Newbie question about defining goals
Posted by UseTheFork <jv...@gmail.com>.
Super thanks !!!
UseTheFork
--
View this message in context: http://www.nabble.com/Newbie-question-about-defining-goals-tp25428980p25433476.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Newbie question about defining goals
Posted by "David C. Hicks" <dh...@i-hicks.org>.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>group</groupId>
<artifactId>p</artifactId>
<version>1.0</version>
</plugin>
<plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>p</artifactId>
<executions>
<execution>
<id>some-unique-id</id>
<phase>h</phase>
<goals>
<goal>g</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
UseTheFork wrote:
> Hi,
>
> This is a newbie clarification question. The set of default goals attached
> to phases does depend on the packaging setting in the pom.xml.
>
> Lets imagine that I want to add a goal G from plugin P to execute in phase
> H. Let's imagine that this plugin P must be retrieved from a remote
> repository R. What do I exactly need to put in my pom.xml?
>
> Thanks,
>
> UseTheFork
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org