java - com.sun:tools:jar:1.4.2 missing when running "perform eclipse" in roo -
When I run "execution" in Rs, I get:
Roo & gt; Scanning Eclipse [INFO] for projects ... [INFO] ----------------------------------- - ------------------------------------ [INFO] Building Bugzter [INFO] Work-Segment: [ Eclipse: clear, eclipse: eclipse] [INFO] --------------------------------------- - -------------------------------- [INFO] [Eclipse: clean {execution: default-CLI}] [INFO ] Removed file: .project [info] Removing file: .classpath [info] Removing file: .wtpmodules [info] Removing file: .component [info] Removing file : Org.eclipse.wst. Common.component [INFO] DELETE FILE: org.eclipse.wst.common.project.facet.core.xml [INFO] Removing file: org.eclipse.jdt.core.prefs [INFO] Removing File: org.eclipse.ajdt.ui.prefs [INFO] Preparation Eclipse: Eclipse [INFO] -------------------------- ------------------- --------------------------- [Error] Build Error [INFO] ----------------------------------------------- ------------------- ------- [INFO] Failed to solve artwork: ---------- 1) com .sun: Tools: Jar: 1.4.2 File Manually Attempt to Download From Project Website Please. Then, install it using the command: Install mvn: Install file-DgroupId = com.sun -DartifactId = Tools -Dversion = 1.4.2 -Dpackaging = Jar -Defile = / path / / Optionally to enter, if You can deploy your own hosting repository file there: mvn deployment: deployed file -dgroupId = com.sun -DartifactId = tool -Dversion = 1.4.2 -Dpackaging = jar -file = / path / / file For -Durl = [url] - DrepositoryId = [id] Path to Dependency: 1) org.codehaus.mojo: aspectj-maven-plugin: maven-plugin: 1.0 2) com.sun: Tools: Jar: 1.4.2 --------- - 1 Required license The missing is missing org.codehaus.mojo: AspectJ-Maven-plugin: Maven-plugin: 1.0 Specified from the remote treasury: com.springsource.repository.bundles.release (http://repository.springsource.com/maven/bundles/ Released for artifact), com.springsource.repository.bundles.external (http://repository.springsource.com/maven/bundles/external), central (http://repo1.maven.org/maven2), codehaus .org (http: //repository.codehaus.org), com.springsource.repository.bundles.milestone (http://repository.springsource.com/maven/bundles/milestone), com.springsource.repository.bundles.snapshot (Http: /repository.springsource.com/maven/bundles/snapshot), snapshots (http://snapshots.repository.codehaus.org) [INFO] --------------- ---- ---------------------------------------------- ---- --- [INFO] More info For Mike, Maven K-E switch [INFO] ------------------------------ -------- ---------------------------------- [INFO] Total Time: 3 seconds [INFO] Finished: Wed July 28 20:57:52 CETT 2010 [INFO] Fi NAL Memory: 30m / 2 9 8m [INFO] ------------------------ ----------------- -------------------------------
Try downloading the tool 1.4.2 .jar and run MVN install: install-file -DgroupId = com.sun -DartifactId = tools -Dversion = 1.4.2 -Dackacking = jar -Dfile = / Path / to / file but this does not solve the problem.
Ubuntu 10.04 and Maven 2.2 is running
Any suggestions?
Reset your system environment parameter JAVA_HOME to the JDK (1.5+) directory instead of JDK.
Comments
Post a Comment