Hi,
Looks like org.scala-tools:maven-scala-plugin:2.15.0 artifacts somehow
is corrupt, could you try to remove org/scala-tools/ from your local
maven repo or even remove your whole local maven repo(you actually can
rename your local maven repo folder and so will re-download all
artifacts again) and build again?
Freeman
On 2011-7-6, at 上午10:30, shooding wrote:
To be ready for remote debugging, i try to build the source again,
still get the same exception.
[ERROR] Failed to execute goal
org.scala-tools:maven-scala-plugin:2.15.0:script (add-features-to-
startup)
on project apa
che-servicemix-nmr: wrap: org.apache.commons.exec.ExecuteException:
Process
exited with an error: 1(Exit value: 1) -> [H
elp 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute
goal org.scala-tools:maven-scala-plugin:2.15.0
:script (add-features-to-startup) on project apache-servicemix-nmr:
wrap:
org.apache.commons.exec.ExecuteException: Proc
ess exited with an error: 1(Exit value: 1)
at
org
.apache
.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org
.apache
.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org
.apache
.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org
.apache
.maven
.lifecycle
.internal
.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org
.apache
.maven
.lifecycle
.internal
.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org
.apache
.maven
.lifecycle
.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:
183)
at
org
.apache
.maven
.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:
161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:597)
at
org
.codehaus
.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
290)
at
org
.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
230)
at
org
.codehaus
.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.MojoExecutionException: wrap:
org.apache.commons.exec.ExecuteException: Process exite
d with an error: 1(Exit value: 1)
at
org_scala_tools_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:
350)
at
org
.apache
.maven
.plugin
.DefaultBuildPluginManager
.executeMojo(DefaultBuildPluginManager.java:101)
at
org
.apache
.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited
with an
error: 1(Exit value: 1)
at
org
.apache
.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:
346)
at
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:
149)
at
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:
136)
at
org_scala_tools_maven_executions
.JavaMainCallerByFork.run(JavaMainCallerByFork.java:80)
at
org_scala_tools_maven_executions
.JavaMainCallerSupport.run(JavaMainCallerSupport.java:96)
at
org_scala_tools_maven
.ScalaScriptMojo.compileScript(ScalaScriptMojo.java:263)
at
org_scala_tools_maven.ScalaScriptMojo.doExecute(ScalaScriptMojo.java:
162)
at
org_scala_tools_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:
342)
... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible
solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/
MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the
command
[ERROR] mvn <goals> -rf :apache-servicemix-nmr
-----
Industrial Technology Research Institute
Rm. 226 Bldg. 14, 2F, 195, Sec. 4, Chung Hsing Rd.,
Chutung, Hsinchu, Taiwan 31040, R.O.C.
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Build-SMX-4-3-source-failure-tp4375070p4555510.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com