By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

Axis2 Build through maven 2.0.4

P: 2
Hello All,
I have been following the release documentation of axis, i wanted the axis2.war by building the sources, i have downloaded the source, and as it is specified in the doc to build the sources through maven. I am running on Maven2.0.4 but my Build process is failing because of the following reason,
************************************************** *********************************************
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Axis 2.0 Parent Project
[INFO] Apache Axis 2.0 - Java2WSDL
[INFO] Apache Axis 2.0 - Kernel
[INFO] Maven 2 tools for Axis 2
[INFO] Axis 2 Aar Maven Plugin
[INFO] Axis 2 Mar Maven Plugin
[INFO] Axis 2 Java2WSDL Maven Plugin
[INFO] Apache Axis 2.0 - Data Binding
[INFO] Apache Axis 2.0 - Code Generation
[INFO] Apache Axis 2.0 - ADB Codegen
[INFO] Axis 2 WSDL2Code Maven Plugin
[INFO] Apache Axis 2.0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] You must specify at least one goal. Try 'install'
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: You must specify at least one goal. Try 'install'
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:132)
at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:2 56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.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.ja va:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Jan 10 06:10:47 GMT+05:30 2007
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------
************************************************** ************************************************** ****************

If you have worked with it or if you have any idea about the same.Please reply back as early as possible.

THANKS IN ADVANCE.....Looking for a proper guidance for the same...
Jan 9 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Hello All,
I have been following the release documentation of axis, i wanted the axis2.war by building the sources, i have downloaded the source, and as it is specified in the doc to build the sources through maven. I am running on Maven2.0.4 but my Build process is failing because of the following reason,
************************************************** *********************************************
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Axis 2.0 Parent Project
[INFO] Apache Axis 2.0 - Java2WSDL
[INFO] Apache Axis 2.0 - Kernel
[INFO] Maven 2 tools for Axis 2
[INFO] Axis 2 Aar Maven Plugin
[INFO] Axis 2 Mar Maven Plugin
[INFO] Axis 2 Java2WSDL Maven Plugin
[INFO] Apache Axis 2.0 - Data Binding
[INFO] Apache Axis 2.0 - Code Generation
[INFO] Apache Axis 2.0 - ADB Codegen
[INFO] Axis 2 WSDL2Code Maven Plugin
[INFO] Apache Axis 2.0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] You must specify at least one goal. Try 'install'
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: You must specify at least one goal. Try 'install'
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:132)
at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:2 56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.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.ja va:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Jan 10 06:10:47 GMT+05:30 2007
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------
************************************************** ************************************************** ****************

If you have worked with it or if you have any idea about the same.Please reply back as early as possible.

THANKS IN ADVANCE.....Looking for a proper guidance for the same...
I don't know anything about that thing but if it's saying

[INFO] You must specify at least one goal. Try 'install',

then I think you must take its advice
Jan 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.