I just got a report from our CI guy that this change breaks the deploy.

That is, the javadoc jar doesn't get deployed anymore.  What's up?

-Dave

On Mon, Apr 13, 2009 at 8:09 AM, 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>
>> >
>>
>
>

Reply via email to