You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Wabner <th...@hora-obscura.de> on 2007/01/12 11:21:25 UTC

Howto deploy source jars to local repository maven2

Hi,

we have the problem that we want to deploy source jar files with maven2 
to our local repository. I cannot found any documentation about the 
deployment of source jar's to a repository (I have also not found a goal 
or plugin which helps).

Any hints or tipps are very welcome.

Many thanks in advance,

- Thomas Wabner

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


Re: Howto deploy source jars to local repository maven2

Posted by Thomas Wabner <th...@hora-obscura.de>.
Hi Yann Le Du,

many many thanks for this hint ;-) Works perfect *jippi*

- Thomas

Yann Le Du schrieb:
> Hi Thomas,
>
> You can use the performRelease option :
>
> mvn install -DperformRelease=true
>
> It installs, along the usual JAR, a "source JAR" and a "Javadoc JAR".
>
> - Yann
>
> 2007/1/12, Thomas Wabner <th...@hora-obscura.de>:
>>
>> Hi,
>>
>> we have the problem that we want to deploy source jar files with maven2
>> to our local repository. I cannot found any documentation about the
>> deployment of source jar's to a repository (I have also not found a goal
>> or plugin which helps).
>>
>> Any hints or tipps are very welcome.
>>
>> Many thanks in advance,
>>
>> - Thomas Wabner
>>
>> ---------------------------------------------------------------------
>> 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


Re: Howto deploy source jars to local repository maven2

Posted by Yann Le Du <le...@gmail.com>.
Hi Thomas,

You can use the performRelease option :

mvn install -DperformRelease=true

It installs, along the usual JAR, a "source JAR" and a "Javadoc JAR".

- Yann

2007/1/12, Thomas Wabner <th...@hora-obscura.de>:
>
> Hi,
>
> we have the problem that we want to deploy source jar files with maven2
> to our local repository. I cannot found any documentation about the
> deployment of source jar's to a repository (I have also not found a goal
> or plugin which helps).
>
> Any hints or tipps are very welcome.
>
> Many thanks in advance,
>
> - Thomas Wabner
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>