Sorry i confused the name, was Andres the one that guessed the porpuse. :D my
bad.

Gabriel wrote:
> 
> As Wendy said it is for a GWT library, so i need the java code to be in
> the jar file.
> 
> Thanks you all.
> 
> Kind Regards,
> 
> 
> Anders Hammar wrote:
>> 
>> The profile is called "release-profile" and still exists in 3.0-beta-1.
>> However, the comment says it is going to be removed in the future.
>> 
>> You normally trigger that profile with -DperformRelease=true (but -P
>> release-profile would work as well). The release plugin triggers this as
>> well by default.
>> 
>> /Anders
>> 
>> On Sat, May 22, 2010 at 21:07, Wendy Smoak <[email protected]> wrote:
>> 
>>> On Sat, May 22, 2010 at 2:07 PM, Gabriel <[email protected]> wrote:
>>> > Hey guys, how can i compile a jar project with the source code
>>> included
>>> > inside the jar.
>>>
>>> Why do you want to do this?  The convention in Maven is to produce a
>>> separate jar with a -sources classifier.
>>>
>>> (Not sure if it's still there, but try building with -Prelease to
>>> enable the default release profile.  You'll see the -sources and
>>> -javadoc jars in your repo.)
>>>
>>> --
>>> Wendy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Maven2-Compile-With-source-inclussion-tp28644935p28647791.html
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