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 <[EMAIL PROTECTED]>:

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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to