It's for plugins and that enforces the version of Maven it can run in. Purely a 
runtime check. It doesn't check anything at build time.

On Jul 8, 2014, at 4:40 PM, Karl Heinz Marbaise <[email protected]> wrote:

> Hi Igor,
> 
> 
> > I am not sure I understand your concern about Maven versions. The test
>> harness itself can be built with pretty much any version of Maven
> 
> Unfortunately this is not true...you can't build with Maven 2.2.1 cause you 
> will get things like this:
> 
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Unable to build project 
> '/Users/kama/Downloads/maven-plugin-testing-3.2.0/pom.xml; it requires Maven 
> version 3.1.1
> [INFO]
> 
> This is based on the prerequisites in the pom....in Maven 3. prerequisites is 
> not checked anymore.
> 
> The pom contains:
> 
> <prerequisites>
> <maven>3.1.1</maven>
> </prerequisites>
> 
> So this means only Maven 3.1.1 should be used to build it. But i can build it 
> with Maven 3.0.5...
> 
> So checking for a build requirement can only be done via 
> maven-enforcer-plugin correctly at the moment...for Maven 3.X version.
> 
> http://jira.codehaus.org/browse/MNG-4840
> http://jira.codehaus.org/browse/MNG-5297
> 
> 
> Kind regards
> Karl-Heinz
> 
> 
> > and I
>> expect any 3.x to work, but the plugins that use plugin testing 3.2.0
>> will have to use depend on Maven 3.2.1 or newer.
>> 
>> --
>> Regards,
>> Igor
>> 
>> On 2014-07-09, 0:18, Karl Heinz Marbaise wrote:
>>> Hi,
>>> 
>>> checked SHA1 Ok.
>>> 
>>> Tested with Maven 3.2.1, 3.1.1, 3.0.5....
>>> 
>>> Based on that I have found a small thing....
>>> 
>>> The maven version can't be controlled by prerequisites only via
>>> maven-enforcer-plugin so this will not work in Maven 3.X ...but this not
>>> an issue for the release...
>>> 
>>> +1 (non binding) from me.
>>> 
>>> Kind regards
>>> Karl-Heinz Marbaise
>>> > Staging repo:
>>>> https://repository.apache.org/content/repositories/maven-1039/
>>>> http://repository.apache.org/content/repositories/maven-1039/org/apache/maven/plugin-testing/maven-plugin-testing/3.2.0/maven-plugin-testing-3.2.0-source-release.zip
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Source release checksum(s):
>>>> maven-plugin-testing-3.2.0-source-release.zip sha1:
>>>> 53bf150ffb13ba07a76748cbe8103530fd4465d9
>>>> 
>>>> Staging site:
>>>> http://maven.apache.org/plugin-testing-archives/LATEST
>>>> 
>>>> Guide to testing staged releases:
>>>> http://maven.apache.org/guides/development/guide-testing-releases.html
>>>> 
>>>> Vote open for 72 hours.
>>>> 
>>>> [ ] +1
>>>> [ ] +0
>>>> [ ] -1
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

the course of true love never did run smooth ...

 -- Shakespeare









Reply via email to