By using

C:\Program Files\apache-servicemix\examples\bridge>mvn -e
install:install-file -
DgroupId=org.apache.activemq -DartifactId=activmq-core
-Dversion=4.1-incubator-2
0070103 -Dpackaging=jar -Dfile=C:\"Schmid -
Downloads"\activemq-core-4.1.0-incub
ator.jar

which I copied from the instructions provided by maven after the error.
The reponse indeed indicates an error on my behalf, but since I am just
starting I do not know where to look. Actually I just wondered, why the
Tutorial does not seem to work and where my error there may be.

response:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task '-': you must specify a valid lifecycle phase, or a goal
in
the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Invalid task '-': you must specify a
val
id lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginA
rtifactId:pluginVersion:goal
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1515)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
        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(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)

Markus


Hi

how do you try to install the file?

Kristian


-- 
View this message in context: 
http://www.nabble.com/problem-with-bridge-example-tf4750679s12049.html#a13585329
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to