maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian E. Fox" <bri...@reply.infinity.nu>
Subject RE: SNAPSHOT checking plugin?
Date Sat, 01 Mar 2008 14:30:12 GMT
Yes, just put the config in a profile block.

-----Original Message-----
From: Ken Liu [mailto:ken.liu@gmail.com] 
Sent: Friday, February 29, 2008 4:17 PM
To: Maven Users List
Subject: Re: SNAPSHOT checking plugin?

Ok. The problem is that I would like to do the check for the SNAPSHOT
versions only at release-time, just like the release plugin does.
Normally,
the developers depend on SNAPSHOT dependencies during day to day
development, but at release time, we update all the dependencies to
depend
on specific versions.

Is there a way I can use profiles to add the configuration for the
enforcer
so that it only gets run when a special "release" profile is activated?

Ken


On 2/29/08, Brian E. Fox <brianf@reply.infinity.nu> wrote:
>
> This is the only way to do it. You should have a common pom that all
> your stuff shares and you would just put the config in that one place.
>
> -----Original Message-----
> From: Ken Liu [mailto:ken.liu@gmail.com]
> Sent: Friday, February 29, 2008 11:19 AM
> To: Maven Users List
> Subject: Re: SNAPSHOT checking plugin?
>
> This looks great, but I would prefer not to add additional
configuration
> to
> my POMs just to do a check for SNAPSHOT versions.  Is there any way to
> achieve this without adding stuff to POMs? (I would have to add
> configuration to all of my POMs, of which there are many).
>
> Thanks,
>
> Ken
>
>
> On 2/28/08, Jason Chaffee <jason_chaffee@tvworks.com> wrote:
> >
> > maven-enforcer-plugin
> >
> > you might have to build the latest from source to get all the
> documented
> > functionality as the current released one doesn't support everything
> on
> > the Web site.
> >
> > -----Original Message-----
> > From: Ken Liu [mailto:ken.liu@gmail.com]
> > Sent: Thursday, February 28, 2008 3:06 PM
> > To: Maven Users List
> > Subject: SNAPSHOT checking plugin?
> >
> > Hi all -
> >
> > I really like that the release-plugin checks the project for any
> > SNAPSHOT
> > dependencies, but I am not so crazy about the release-plugin itself.
> Is
> > there any plugin available that will only do the check for SNAPSHOT
> > dependencies, or is there any other way to do this?
> >
> > Thanks,
> >
> > Ken
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message