You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Rajesh Manoharan <ra...@gmail.com> on 2009/02/19 04:25:35 UTC

query in building samples

hi all,
	I am using apache tuscany sca1.4 source distribution. I built
Successfully in the top level directory and in the distribution
directory. For Building sample programs. It is mentioned that run mvn
from sca directory. I am using sca from the repository which is
downloaded. Is this correct?? and while building it is giving the
following error. Somebody please to run the sample programs.
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] 

You must specify at least one goal. Try 'mvn install' to build or 'mvn
-?' for options 
See http://maven.apache.org for more information.


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: 

You must specify at least one goal. Try 'mvn install' to build or 'mvn
-?' for options 
See http://maven.apache.org for more information.


        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
        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:287)
        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: < 1 second
[INFO] Finished at: Thu Feb 19 08:43:50 IST 2009
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
[Rajez@localhost sca]$ 


Re: query in building samples

Posted by Luciano Resende <lu...@gmail.com>.
The default goal might be missing, please try "mvn install".

Also note that the binary distribution will give you a better
experience, as most of the samples are already available in binary
format, and the other ones can easily be built using ant script as
described in each sample README.


On Wed, Feb 18, 2009 at 7:25 PM, Rajesh Manoharan <ra...@gmail.com> wrote:
> hi all,
>        I am using apache tuscany sca1.4 source distribution. I built
> Successfully in the top level directory and in the distribution
> directory. For Building sample programs. It is mentioned that run mvn
> from sca directory. I am using sca from the repository which is
> downloaded. Is this correct?? and while building it is giving the
> following error. Somebody please to run the sample programs.
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
>
> You must specify at least one goal. Try 'mvn install' to build or 'mvn
> -?' for options
> See http://maven.apache.org for more information.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException:
>
> You must specify at least one goal. Try 'mvn install' to build or 'mvn
> -?' for options
> See http://maven.apache.org for more information.
>
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
>        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:287)
>        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: < 1 second
> [INFO] Finished at: Thu Feb 19 08:43:50 IST 2009
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
> [Rajez@localhost sca]$
>
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/