On Fri, 2003-09-19 at 01:51, Rafal Krzewski wrote:
> Craig S. Cottingham wrote:
>
> > Is there something I can add to project.xml or project.properties that
> > will control whether or not a snapshot is generated? Does it help that
> > I've adopted the convention of ending the value of the currentVersion
> > tag in project.xml with "-dev" for those jars in flux, while those which
> > are frozen will not end with "-dev"?
>
> There's nothing in Maven to deal with this for you, but I think this is
> a good idea. Would you please file a Jira issue for it?
I will. I think I found a workaround in the meantime.
Add maven.xml to the basedir of every jar. (Most, if not all, of them
have a maven.xml already.) Add a goal to each one like this:
<goal name="install">
<attainGoal name="jar:install-snapshot" />
</goal>
Call the multiproject:goal goal, and tell it to call "install" in all
subprojects. As a jar is frozen, change its maven.xml to attain
"jar:install" instead.
This is off the top of my head, so it may be wrong in some details. I'll
have to try this later.
--
Craig S. Cottingham
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]