maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Shucker <sshuc...@vmsinfo.com>
Subject Re: How to deploy sources and javadocs?
Date Thu, 15 Feb 2007 18:03:07 GMT
Better yet, I just realized I can add a few lines to my pom and always 
generate source jars alongside the binary ones:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

-Steve

Joakim Erdfelt wrote:
> Manual way ...
>
> mvn clean source:jar javadoc:jar deploy
>
> That causes the jar to be create for each, and be attached to the
> 'current' active build.
> The deploy just takes what is attached and deploys it.
>
> - Joakim
>
> Dave Hoffer wrote:
>   
>> It doesn't seem the deploy plug-in supports deploying sources and
>> javadocs for external artifacts.  How can this be done?
>>
>>  
>>
>> -dh
>>
>>
>>   
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message