You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ken Liu <ke...@gmail.com> on 2008/02/29 00:06:01 UTC

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

RE: SNAPSHOT checking plugin?

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
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 <br...@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 <ja...@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


Re: SNAPSHOT checking plugin?

Posted by Ken Liu <ke...@gmail.com>.
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 <br...@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 <ja...@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
>
>

RE: SNAPSHOT checking plugin?

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
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 <ja...@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


Re: SNAPSHOT checking plugin?

Posted by Ken Liu <ke...@gmail.com>.
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 <ja...@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
>
>

RE: SNAPSHOT checking plugin?

Posted by Jason Chaffee <ja...@tvworks.com>.
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