I'm using the source plugin to create a -sources.jar of my artifact. They
are automatically installed/deployed with my project artifacts.


http://maven.apache.org/plugins/maven-source-plugin/index.html


2007/1/16, franz see <[EMAIL PROTECTED]>:


Good day to you, Steinar,

I see. How about doing

mvn -DperformRelease=true install

"-DperformRelease=true " will activate a profile of the super POM ( see
[1]
) which creates the source and javadoc jars.

Cheers,
Franz

[1]
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html


Steinar Bang wrote:
>
>>>>>> franz see <[EMAIL PROTECTED]>:
>
>> You can use mvn eclipse:eclipse -DdownloadSources instead ;)
>
> Thanx but that won't help me...:-)
>
> Unless I'm mistaken, that will pull down sources for jars into the
> local repo.
>
> What I want is to actually build a source jar when I'm building a jar,
> and placing the source jar in the repo, next to the regular jar, and
> the test jar.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context:
http://www.nabble.com/Q%3A-Creating-source-bundles-with-packaging-pom--tf2971381s177.html#a8382089
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to