Try groupID = org.apache.maven.plugins instead. You're using a plugin
from Maven 1.x.
Cheers,
Brett
On 26/02/2009, at 11:20 PM, Vinicius Borges wrote:
Hello Everybody,
I wanto to build my application with Maven 2.0.10 and I've received
this error:
[INFO]
------------------------------------------------------------------------
[INFO] Building JA-SIG CAS Web Application
[INFO] task-segment: [clean, package, install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.pom
165b downloaded
Downloading:
http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.jar
4K downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The PluginDescriptor for the plugin Plugin
[maven:maven-war-plugin] was not found.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalStateException: The PluginDescriptor for the plugin
Plugin [maven:maven-war-plugin] was not found.
at
org
.apache
.maven
.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:327)
at
org
.apache
.maven
.plugin
.DefaultPluginManager
.verifyVersionedPlugin(DefaultPluginManager.java:212)
at
org
.apache
.maven
.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:
176)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:
1275)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1239)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.constructLifecycleMappings(DefaultLifecycleExecutor.java:1005)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
478)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 48 minutes 34 seconds
[INFO] Finished at: Thu Feb 26 08:51:13 BRT 2009
[INFO] Final Memory: 27M/52M
[INFO]
------------------------------------------------------------------------
What should be this error?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Brett Porter
[email protected]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]