The version of com.sun:tool is not take any effect , it just dependent on your JDK which is set by the java home.

On Fri Sep 16 02:26:26 2011, bvahdat wrote:
Dear Claus,

thanks for the fix which indeed suppressed the unresolvable dependency on
the buildingtools module itself. however the problem still insists on the
'Camel build POM' module itself:

c:\dev\workspace\camel>mvn dependency:tree
...
...
[WARNING] The POM for
org.mortbay.jetty:jetty-maven-plugin:jar:${jetty-version} is missing, no
dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.mortbay.jetty:jetty-maven-plugin:${jetty-version}: Plugin
org.mortbay.jetty:jetty-maven-plugin:${jetty-ve
rsion} or one of its dependencies could not be resolved: Failed to read
artifact descriptor for
org.mortbay.jetty:jetty-maven-plugin:jar:${jetty-version}

IMHO either a<jetty-version>  property is required there to resolve the
dependecy to org.mortbay.jetty:jetty-maven-plugin:${jetty-version} correctly
or the dependency could also be removed completely, as there's no usage of
it there at all at the *level* of 'Camel build POM's module.

Other than that as the JDK 5 support has already been dropped I think the
following dependency in this pom should also be upgraded to 1.6.0 instead of
1.5.0:

                         <dependency>
                           <groupId>com.sun</groupId>
                           <artifactId>tools</artifactId>
                           <version>1.5.0</version>
                           <scope>system</scope>

<systemPath>${java.home}/../lib/tools.jar</systemPath>
                         </dependency>

Or am I wrong?

Regards, Babak


--
View this message in context: 
http://camel.465427.n5.nabble.com/mvn-eclipse-clean-eclipse-eclipse-not-being-happy-with-jetty-version-tp4806907p4807830.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to