maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@maven.org>
Subject Re: How to deploy sources and javadocs?
Date Fri, 16 Feb 2007 14:17:48 GMT

On 16 Feb 07, at 2:47 AM 16 Feb 07, nicolas de loof wrote:

> Please note this configuration still exist in maven superPom.
> Simply add "-DperformRelease=true" and you will generate sources  
> and javadoc
> jar.
>

It will be removed in the first 2.1 alpha release. It should never  
have been in the super pom.

Jason.

> Nico.
>
>
>
> 2007/2/15, Steve Shucker <sshucker@vmsinfo.com>:
>>
>> 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
>>
>>


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


Mime
View raw message