Okay, i will try install phase.

thanks,
-Dave

On Mon, Apr 13, 2009 at 9:42 AM, Stephen Connolly <
[email protected]> wrote:

> nope as attaching to the deploy phase means that it gets to run after the
> lifecycle plugins (ie after deploy:deploy) therefore you need to attach it
> to an earlier phase (and the latest earlier phase available is install)
>
> Sent from my [rhymes with myPod] ;-)
>
>
> On 13 Apr 2009, at 15:09, David Hoffer <[email protected]> wrote:
>
>  Thanks much, I think you intended to say <phase>deploy</phase>.
>>
>> -Dave
>>
>> On Sat, Apr 11, 2009 at 12:08 PM, Stephen Connolly <
>> [email protected]> wrote:
>>
>>  2009/4/10 David Hoffer <[email protected]>
>>>
>>>  My project currently creates javadocs during the install goal, see pom
>>>> below.  How can I configure this to run only if deploy goal is run
>>>>
>>> instead?
>>>
>>>>
>>>> Alternatively, is there a way this can be externalized so that
>>>> individual
>>>> developers can turn this feature off when they do an install?
>>>>
>>>> <plugin>
>>>>              <groupId>org.apache.maven.plugins</groupId>
>>>>              <artifactId>maven-javadoc-plugin</artifactId>
>>>>              <version>2.5</version>
>>>>              <executions>
>>>>                  <execution>
>>>>                      <id>attach-javadocs</id>
>>>>
>>>
>>> <phase>install</phase>
>>>
>>>
>>>>                      <goals>
>>>>                          <goal>jar</goal>
>>>>                      </goals>
>>>>                  </execution>
>>>>              </executions>
>>>> </plugin>
>>>>
>>>>
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to