Hi,

I am trying to use candy with appfuse 2M5 but when trying to build it gives
me an error complaining about the tools.jar from 1.4.2 JDK.

What is the best solution for that? Wouldn´t it have to be solved
automatically?

Follow the log below.

Thanks!

--
Marcelo Alcantara
Senior Developer/Architect
--------------------------------------------------------
[EMAIL PROTECTED]
+55 11 81968823

------------------------------------------------------------------------------------

[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building AppFuse Spring MVC Application
[INFO]    task-segment: [jetty:run-war]
[INFO]
----------------------------------------------------------------------------
[ERROR] reactor-execute : C:\eclipse_workspace\Monaco
Diagnosis: Failed to construct build plan for:
uol:Monaco:war:1.0-SNAPSHOT(  task-segment: [jetty:run-war] ). Reason:
Failed to load plugin: Plugin [
org.codehaus.mojo:native2ascii-maven-plugin]. Reason: Failed to load plugin.
Reason: Missing:
----------
1) com.sun:tools:jar:1.4.2

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
         -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
     1)
org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-alpha-1
     2) com.sun:tools:jar:1.4.2

----------
1 required artifact is missing.

for artifact:
 org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-alpha-1

from the specified remote repositories:
 appfuse (http://static.appfuse.org/repository),
 codehaus.org (http://repository.codehaus.org),
 snapshots (http://snapshots.repository.codehaus.org),
 central (http://repo1.maven.org/maven2)

FATAL ERROR: Error executing Maven for a project
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.sun:tools:jar:1.4.2

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
         -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
     1)
org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-alpha-1
     2) com.sun:tools:jar:1.4.2

----------
1 required artifact is missing.

for artifact:
 org.codehaus.mojo:native2ascii-maven-plugin:maven-plugin:1.0-alpha-1

from the specified remote repositories:
 appfuse (http://static.appfuse.org/repository),
 codehaus.org (http://repository.codehaus.org),
 snapshots (http://snapshots.repository.codehaus.org),
 central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Jul 13 14:33:04 BRT 2007
[INFO] Final Memory: 10M/18M
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Jul 13 14:33:04 BRT 2007
[INFO] Final Memory: 10M/18M
[INFO]
------------------------------------------------------------------------

Reply via email to