Creating sources jar

2008-03-04 Thread Dooing
Hi,

when installing a jar (MyProject-1.1.jar) of the project containing the class 
files - is it possible to also create  install MyProject-1.1-source.jar and 
MyProject-1.1-java-api.jar at the same time?

Thanks in advance,

Stefanie
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

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



Re: Creating sources jar

2008-03-04 Thread VUB Stefan Seidel

The easiest way to do this is to run
mvn clean install -DperformRelease
For more information on what happens behind the curtain see the maven 
doc about the super pom.


regards,

Stefan

[EMAIL PROTECTED] wrote:

Hi,

when installing a jar (MyProject-1.1.jar) of the project containing the class 
files - is it possible to also create  install MyProject-1.1-source.jar and 
MyProject-1.1-java-api.jar at the same time?

Thanks in advance,

Stefanie


--
best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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



Re: Creating sources jar

2008-03-04 Thread simon
I prefer to generate the -sources jars whenever the normal jar is
created. Building a source jar is a pretty quick process. This can be
achieved just by binding the maven-source-plugin to the install phase.

By java-api.jar, do you mean a jar containing javadocs? If so, then
that can be done with the maven-javadoc-plugin. 

This file configures both of these plugins (though it can be done more
simply):
  http://svn.apache.org/repos/asf/myfaces/core/trunk_1.2.x/impl/pom.xml

As Stefan says, the build-in super pom that is the ancestor of all
other poms (and which is shown in the maven site docs) automatically
enables the maven-source-plugin when the -DperformRelease flag is used.
Can't remember for the moment if it does javadocs as well..

Regards,
Simon

On Tue, 2008-03-04 at 18:56 +0100, VUB Stefan Seidel wrote:
 The easiest way to do this is to run
 mvn clean install -DperformRelease
 For more information on what happens behind the curtain see the maven 
 doc about the super pom.
 
 regards,
 
 Stefan
 
 [EMAIL PROTECTED] wrote:
  Hi,
  
  when installing a jar (MyProject-1.1.jar) of the project containing the 
  class files - is it possible to also create  install 
  MyProject-1.1-source.jar and MyProject-1.1-java-api.jar at the same time?
  
  Thanks in advance,
  
  Stefanie
 


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



Re: Creating sources jar

2008-03-04 Thread Dooing
 The easiest way to do this is to run
 mvn clean install -DperformRelease
 For more information on what happens behind the curtain see the maven 
 doc about the super pom.

WORKS! GREAT! THANKS! :-)
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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