You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Greg Morgan <dr...@cox.net> on 2007/11/01 10:13:49 UTC
Re: Is there a way to restrict the version of maven used?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Sellers wrote:
> Hi all.
>
> I know that there is a way to express a version range for a plugin, but is
> there a way to do that with a pom?
>
> So that if someone checks out the source and it's known to work with maven
> 2.0.7 and they are using 2.0.4, can it stop right away and say that they
> need to upgrade?
I believe you are looking for the prerequisites tag.
<prerequisites>2.0.7</prerequisites>
>
> Thanks for your time,
> Jim
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHKZjNxyxe5L6mr7IRAhZQAJ9P01Ff+dmqi+yTMmwnYUMTEsD4IwCgh/rQ
K5vLw209Wfgag/kNJu1vbw8=
=bSd5
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Is there a way to restrict the version of maven used?
Posted by Jim Sellers <ji...@gmail.com>.
Thanks all!! ;-)
On 11/1/07, Greg Morgan <dr...@cox.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nick Stolwijk wrote:
> > According to the POM model [1] this should be:
> >
> > <prerequisites
> > <
> http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_prerequisites
> >>
> >
> > <maven>2.0.7</maven>
> > </prerequisites>
>
> Nick, Thanks for providing the complete answer.
>
> Regards,
> Greg
>
> >
> > Hth,
> >
> > Nick Stolwijk
> >
> > [1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html
> >
> > Greg Morgan wrote:
> > Jim Sellers wrote:
> >
> >>>> Hi all.
> >>>>
> >>>> I know that there is a way to express a version range for a plugin,
> >>>> but is
> >>>> there a way to do that with a pom?
> >>>>
> >>>> So that if someone checks out the source and it's known to work with
> >>>> maven
> >>>> 2.0.7 and they are using 2.0.4, can it stop right away and say that
> they
> >>>> need to upgrade?
> >>>>
> >
> > I believe you are looking for the prerequisites tag.
> > <prerequisites>2.0.7</prerequisites>
> >
> >
> >>>> Thanks for your time,
> >>>> Jim
> >>>>
> >>>>
> >
> >>
> - ---------------------------------------------------------------------
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFHKZ52xyxe5L6mr7IRAnRYAJ9u5i1Z7s82vmrITGHp3/M/m1OHjACbBBwk
> IHe+i+TR5H+YWGyJ5o34wVY=
> =hVcx
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Is there a way to restrict the version of maven used?
Posted by Greg Morgan <dr...@cox.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nick Stolwijk wrote:
> According to the POM model [1] this should be:
>
> <prerequisites
> <http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_prerequisites>>
>
> <maven>2.0.7</maven>
> </prerequisites>
Nick, Thanks for providing the complete answer.
Regards,
Greg
>
> Hth,
>
> Nick Stolwijk
>
> [1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html
>
> Greg Morgan wrote:
> Jim Sellers wrote:
>
>>>> Hi all.
>>>>
>>>> I know that there is a way to express a version range for a plugin,
>>>> but is
>>>> there a way to do that with a pom?
>>>>
>>>> So that if someone checks out the source and it's known to work with
>>>> maven
>>>> 2.0.7 and they are using 2.0.4, can it stop right away and say that they
>>>> need to upgrade?
>>>>
>
> I believe you are looking for the prerequisites tag.
> <prerequisites>2.0.7</prerequisites>
>
>
>>>> Thanks for your time,
>>>> Jim
>>>>
>>>>
>
>>
- ---------------------------------------------------------------------
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHKZ52xyxe5L6mr7IRAnRYAJ9u5i1Z7s82vmrITGHp3/M/m1OHjACbBBwk
IHe+i+TR5H+YWGyJ5o34wVY=
=hVcx
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Is there a way to restrict the version of maven used?
Posted by Nick Stolwijk <ni...@planet.nl>.
According to the POM model [1] this should be:
<prerequisites <http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_prerequisites>>
<maven>2.0.7</maven>
</prerequisites>
Hth,
Nick Stolwijk
[1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html
Greg Morgan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jim Sellers wrote:
>
>> Hi all.
>>
>> I know that there is a way to express a version range for a plugin, but is
>> there a way to do that with a pom?
>>
>> So that if someone checks out the source and it's known to work with maven
>> 2.0.7 and they are using 2.0.4, can it stop right away and say that they
>> need to upgrade?
>>
>
> I believe you are looking for the prerequisites tag.
> <prerequisites>2.0.7</prerequisites>
>
>
>> Thanks for your time,
>> Jim
>>
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFHKZjNxyxe5L6mr7IRAhZQAJ9P01Ff+dmqi+yTMmwnYUMTEsD4IwCgh/rQ
> K5vLw209Wfgag/kNJu1vbw8=
> =bSd5
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> 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