You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Miguel Griffa <mi...@gmail.com> on 2006/03/15 19:27:23 UTC

-DperformRelease=true unusable in pom?

I've followed discussions about including source and javadocs in jar, beyond
discussion of the practice,
I understand that there are two ways of doing this in m now, prepending
source:jar javadoc:jar to install/deploy or so,
or setting the property -DperformRelease=true
did anyone try setting this in settings.xml or in pom? for me (2.0.2) it
works only if I set it in command line,
 what it terribly annoying, any experience with this?

--
Miguel Griffa
Skype: miguel.griffa
Y!: m_griffa
MSN: m1gu3l1t0_6@hotmail.com
Cell: 15-62519355

Re: -DperformRelease=true unusable in pom?

Posted by Eric Redmond <er...@gmail.com>.
If I understand it correctly, any property which can be set by the -D flag
should also be settable through the POM properties element, such as:
<properties>
    <performRelease>true</performRelease>
</properties>


On 3/15/06, Miguel Griffa <mi...@gmail.com> wrote:
>
> I've followed discussions about including source and javadocs in jar,
> beyond
> discussion of the practice,
> I understand that there are two ways of doing this in m now, prepending
> source:jar javadoc:jar to install/deploy or so,
> or setting the property -DperformRelease=true
> did anyone try setting this in settings.xml or in pom? for me (2.0.2) it
> works only if I set it in command line,
> what it terribly annoying, any experience with this?
>
> --
> Miguel Griffa
> Skype: miguel.griffa
> Y!: m_griffa
> MSN: m1gu3l1t0_6@hotmail.com
> Cell: 15-62519355
>