maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Maven2 Compile With source inclussion
Date Sat, 22 May 2010 21:41:15 GMT
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 <wsmoak@gmail.com> wrote:

> On Sat, May 22, 2010 at 2:07 PM, Gabriel <gutierrez.ge@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message