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]
>
>

Reply via email to