Yeah, it only worked with Maven 2.0.8 for me :( kinda crappy... there's no
way no ensure that the user is building with Maven 2.0.8 only... I think
Maven only checks for versions < the prerequisite.


gnodet wrote:
> 
> So it works only with maven 2.0.8 ?
> I'm not sure if the prerequisite fails if using a greater version btw ...
> 
> On Mon, Jun 16, 2008 at 9:10 PM, janstey <[EMAIL PROTECTED]> wrote:
>>
>> Actually, make that Maven 2.0.8... I got the same error with Maven 2.0.9
>> when
>> deploying from the tooling/jbi-maven-plugin directory.
>>
>> I was deploying from this directory to get around the known problem of
>> the
>> plugin being generated without ant tasks the first time around.
>>
>>
>> janstey wrote:
>>>
>>> I was getting this error today while deploying
>>> http://svn.apache.org/repos/asf/servicemix/smx3/trunk (using Maven
>>> 2.0.7).
>>> Maven 2.0.9 works fine so we should probably change the maven version
>>> prerequisite from 2.0.6 to 2.0.9.
>>>
>>> Cheers,
>>> Jon
>>>
>>> [INFO] Building Servicemix :: Build
>>> [INFO]    task-segment: [deploy]
>>> [INFO]
>>> ----------------------------------------------------------------------------
>>> [INFO] [plugin:descriptor]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> org.apache.maven.tools.plugin.scanner.MojoScanner.setActiveExtractors(Ljava/util/Set;)V
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> java.lang.NoSuchMethodError:
>>> org.apache.maven.tools.plugin.scanner.MojoScanner.setActiveExtractors(Ljava/util/Set;)V
>>>       at
>>> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:116)
>>>       at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>>>       at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>>>       at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>>>       at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>>>       at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>>>       at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>>>       at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>>>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>>>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>>>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>       at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>       at java.lang.reflect.Method.invoke(Method.java:585)
>>>       at
>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>       at
>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Maven-version-prerequisite-tp17867522p17871387.html
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-version-prerequisite-tp17867522p17871908.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to