this is what I get while runing the uberwar traget

[INFO] ------------------------------------------------------------------------
FATAL ERROR: Unable to configure the Maven application
Error stacktrace:
org.apache.maven.reactor.MavenExecutionException: You must specify descriptor or
descriptorId
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:183)
       at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:68
9)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:372)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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)
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: You must spec
ify descriptor or descriptorId
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:382)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:171)
       ... 10 more
Caused by: org.apache.maven.plugin.MojoExecutionException: You must specify desc
riptor or descriptorId
       at org.codehaus.cargo.maven2.UberWarMojo.execute(UberWarMojo.java:138)
       at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:417)
       at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
       ... 17 more

It's here :
http://xircles.codehaus.org/projects/cargo/lists

Anyway here is the question: I am trying to use cargo:uberwar and I
> follow instructions given on the cargo maven2 plugin page
> (http://cargo.codehaus.org/Maven2+plugin). When I try to
> build the uberwar I am getting the following error:
>
> [INFO] [cargo:uberwar]
> [INFO] ---------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ---------------------------------------------------
> [INFO] You must specify descriptor or descriptorId
> [INFO] ---------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ---------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Fri Jul 14 17:20:29 EDT 2006
> [INFO] Final Memory: 4M/9M
> [INFO] ---------------------------------------------------
> FATAL ERROR: Unable to configure the Maven application
> For more information, run with the -e flag
>
> here is thre relevant portion of my pom.xml:
> <project>
>
>    .....
>         <build>
>                 <plugins>
>                         <plugin>
>                                 <groupId>org.codehaus.cargo</groupId>
>
>                                 <artifactId>cargo-maven2-plugin</artifactId>
>                                 <configuration>
>
>                                         
<descriptor>src/assemble/merge.xml</descriptorId>
>                                 </configuration>
>                         </plugin>
>                 </plugins>
>         </build>
>
>    ......
>
> </project>
>
> Anyone knows what is wrong?


What is the detail given with the -e switch ?

Arnaud




--
Thanks,
Alex.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to