Hi,
Anyway I can't reproduce this problem on my MAC, I suspect somehow
this is a ENV specific issue.
Could you please check the assembly\target\.scalaScriptGen
\DefineProperties_1.scala
to see if this class start with
class
DefineProperties_1
(project
:org_scala_tools_maven_model
.MavenProjectAdapter
,session
:org
.apache
.maven
.execution.MavenSession,log :org.apache.maven.plugin.logging.Log) {
And we specify the maven-scala-plugin version in nmr\assembly\pom.xml,
if you want to try other version, you can change it there, [1] is all
available maven-scala-plugin version list.
Btw, the assembly module purpose is building the kit, if you want to
import the code to eclipse, you can safely skip this module.
[1]http://repo2.maven.org/maven2/org/scala-tools/maven-scala-plugin/
Freeman
On 2011-7-6, at 下午4:42, shooding wrote:
re-download all repository and still stops at "Failed to execute goal
org.scala-tools:maven-scala-plugin:2.15.0:script."
I wonder if this version of scala cannot recognize terms like
"project" ,
"log".
F:\smx4-src\all\nmr\assembly\target\.scalaScriptGen
\DefineProperties_1.scala:23:
error: not found: value project
project.getDependencyManagement().getDependencies().find { item =>
^
F:\smx4-src\all\nmr\assembly\target\.scalaScriptGen
\DefineProperties_1.scala:33:
error: not found: value log
log.info("- %s = %s".format(key, value))
^
F:\smx4-src\all\nmr\assembly\target\.scalaScriptGen
\DefineProperties_1.scala:34:
error: not found: value project
project.getProperties().put(key, value)
^
F:\smx4-src\all\nmr\assembly\target\.scalaScriptGen
\DefineProperties_1.scala:37:
error: not found: value log
log.info
("----------------------------------------------------------------------")
^
F:\smx4-src\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:\smx4-src\all\nmr\assembly\target\.scalaScriptGen
\DefineProperties_1.scala:56:
error: not found: value log
log.info
("----------------------------------------------------------------------")
^
6 errors found
I've tried to use scala-library 2.9.0 instead modifying all/nmr/
pom.xml
<scala.version>2.9.0</scala.version>
doesn't solve the problem.
-----
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-tp4375070p4556181.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