Thanks for replying,
I'm using Maven 3.0.3 on Win7 with jdk1.6.0_21
and i noticed that maven paused a while checking multiple versions of
scala and found the following.
Sorry for the bulky log.
F:\servicemix4-source\all\nmr\assembly\target\.scalaScriptGen\DefineProperties_1.scala:23:
error: not found: value proje
ct
project.getDependencyManagement().getDependencies().find { item =>
^
F:\servicemix4-source\all\nmr\assembly\target\.scalaScriptGen\DefineProperties_1.scala:33:
error: not found: value log
log.info("- %s = %s".format(key, value))
^
F:\servicemix4-source\all\nmr\assembly\target\.scalaScriptGen\DefineProperties_1.scala:34:
error: not found: value proje
ct
project.getProperties().put(key, value)
^
F:\servicemix4-source\all\nmr\assembly\target\.scalaScriptGen\DefineProperties_1.scala:37:
error: not found: value log
log.info("----------------------------------------------------------------------")
^
F:\servicemix4-source\all\nmr\assembly\target\.scalaScriptGen\DefineProperties_1.scala:38:
error: not found: value log
log.info("Setting version properties based on dependency management
information:")
^
F:\servicemix4-source\all\nmr\assembly\target\.scalaScriptGen\DefineProperties_1.scala:56:
error: not found: value log
log.info("----------------------------------------------------------------------")
^
6 errors found
[ERROR] 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: Process exited with an
error: 1(Exit value: 1) -> [Help 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: Process 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 exited 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
2011/5/6 Gert Vanthienen [via ServiceMix]
<[email protected]>:
> L.S.,
>
> Can you try building this again with -e to see the underlying stack
> trace? What version of Maven are you using?
>
> Regards,
>
> Gert Vanthienen
> ------------------------
> FuseSource
> Web: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
>
>
> On Fri, May 6, 2011 at 7:29 AM, shooding <[hidden email]> wrote:
>> I checked out src following the example here
>> http://servicemix.apache.org/smx4/developers.html
>> http://servicemix.apache.org/smx4/developers.html
>>
>> while doing
>> mvn clean install -Dmaven.test.skip = true
>>
>> I encountered BUILD FAILURE
>> [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)
>>
>> Changing the scala.version in nmr/pom.xml doesn't help.
>>
>> --
>> View this message in context:
>> http://servicemix.396122.n5.nabble.com/Build-SMX-4-3-source-failure-tp4375070p4375070.html
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
> Regards,
>
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://servicemix.396122.n5.nabble.com/Build-SMX-4-3-source-failure-tp4375070p4375146.html
> To unsubscribe from Build SMX 4.3 source failure, click here.
--
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-tp4375070p4375172.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.