You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jan Torben Heuer <jt...@mail2003.dnsalias.org> on 2008/05/07 13:13:52 UTC
mvn install: add sources
Hi, can I make "mvn install" to install the sources, too?
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn install: add sources
Posted by Julien Simon <ka...@gmail.com>.
You need to use the maven assembly plug-in if you want to package and
install sources; http://maven.apache.org/plugins/maven-assembly-plugin/
On Wed, May 7, 2008 at 1:13 PM, Jan Torben Heuer <
jtnews@mail2003.dnsalias.org> wrote:
> Hi, can I make "mvn install" to install the sources, too?
>
> Jan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: mvn install: add sources
Posted by Olivier Lamy <ol...@apache.org>.
Hi,
Have a look here :
http://maven.apache.org/plugins/maven-source-plugin/usage.html
--
Olivier
2008/5/7 Jan Torben Heuer <jt...@mail2003.dnsalias.org>:
> Hi, can I make "mvn install" to install the sources, too?
>
> Jan
>
>
> ---------------------------------------------------------------------
> 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
AW: mvn install: add sources
Posted by "Baeriswyl Kuno - Extern (IT-BA-MV)" <ku...@sbb.ch>.
yes, use following plugin config :
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
Kuno
-----Ursprüngliche Nachricht-----
Von: news [mailto:news@ger.gmane.org] Im Auftrag von Jan Torben Heuer
Gesendet: Mittwoch, 7. Mai 2008 13:14
An: users@maven.apache.org
Betreff: mvn install: add sources
Hi, can I make "mvn install" to install the sources, too?
Jan
---------------------------------------------------------------------
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