You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2011/08/30 11:49:43 UTC

Jenkins dependency in camel-core pom.xml for SNAPSHOTs

Hi

Take a look at the pom.xml for camel-core that the CI server at Apache produces
https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-core/2.9-SNAPSHOT/camel-core-2.9-SNAPSHOT.pom

If you notice then it adds a dependency to jenkins
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
<systemPath>
/home/jenkins/tools/java/jdk1.6.0_20-32/jre/../lib/tools.jar
</systemPath>
</dependency>
</dependencies>

I have not been able to figure out why it does that, and where you can
disable it from doing this.

Anyone seen this before? And know a reason for doing this.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: Jenkins dependency in camel-core pom.xml for SNAPSHOTs

Posted by Claus Ibsen <cl...@gmail.com>.
Maybe we need to add this profile in camel-core
http://maven.apache.org/general.html#tools-jar-dependency

Also discussed here
http://jenkins.361315.n4.nabble.com/com-sun-tools-jar-1-5-is-missing-td390964.html




On Tue, Aug 30, 2011 at 11:49 AM, Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> Take a look at the pom.xml for camel-core that the CI server at Apache produces
> https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-core/2.9-SNAPSHOT/camel-core-2.9-SNAPSHOT.pom
>
> If you notice then it adds a dependency to jenkins
> <dependency>
> <groupId>com.sun</groupId>
> <artifactId>tools</artifactId>
> <version>1.5.0</version>
> <scope>system</scope>
> <systemPath>
> /home/jenkins/tools/java/jdk1.6.0_20-32/jre/../lib/tools.jar
> </systemPath>
> </dependency>
> </dependencies>
>
> I have not been able to figure out why it does that, and where you can
> disable it from doing this.
>
> Anyone seen this before? And know a reason for doing this.
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/