You can use the mvn dependency:tree to trace the third part jar dependency.
-- Willem Jiang FuseSource Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Friday, August 10, 2012 at 2:37 PM, Gnanaguru S wrote: > > Jiang, > > I am not specifying about jetty anywhere in my pom file. But I was not able > to trace why this is getting into picture? Do anyother dependency uses it > implicitly. > > This is my pom file. Dependencies doesn't have jetty-web dependency > specified. > > Or any of my plugin downloading it. > > <?xml version="1.0" encoding="UTF-8"?> > > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > <groupId>com.mycompany</groupId> > <artifactId>camel-dd</artifactId> > <version>1.0.0-SNAPSHOT</version> > <packaging>war</packaging> > > <name>Camel Web Application</name> > <description>Camel project that deploys the Camel routes as a > WAR</description> > <url>http://www.myorganization.org</url> > > <properties> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > > <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> > </properties> > > <repositories> > <repository> > <id>release.fusesource.org (http://release.fusesource.org)</id> > <name>FuseSource Release Repository</name> > > <url>http://repo.fusesource.com/nexus/content/repositories/releases</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > <repository> > <id>snapshot.fusesource.org (http://snapshot.fusesource.org)</id> > <name>FuseSource Snapshot Repository</name> > > <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </repository> > <repository> > <id>ea.fusesource.org (http://ea.fusesource.org)</id> > <name>FuseSource Early Access Repository</name> > <url>http://repo.fusesource.com/nexus/content/groups/ea</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > </repositories> > > <pluginRepositories> > <pluginRepository> > <id>release.fusesource.org (http://release.fusesource.org)</id> > <name>FuseSource Release Repository</name> > > <url>http://repo.fusesource.com/nexus/content/repositories/releases</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > <pluginRepository> > <id>snapshot.fusesource.org (http://snapshot.fusesource.org)</id> > <name>FuseSource Snapshot Repository</name> > > <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > <pluginRepository> > <id>ea.fusesource.org (http://ea.fusesource.org)</id> > <name>FuseSource Early Access Repository</name> > <url>http://repo.fusesource.com/nexus/content/groups/ea</url> > <snapshots> > <enabled>false</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > > <dependencies> > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-core</artifactId> > <version>2.9.0.fuse-7-061</version> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-spring</artifactId> > <version>2.9.0.fuse-7-061</version> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-stream</artifactId> > <version>2.9.0.fuse-7-061</version> > </dependency> > > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-web</artifactId> > <version>3.0.7.RELEASE</version> > </dependency> > > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-api</artifactId> > <version>1.6.1</version> > </dependency> > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-log4j12</artifactId> > <version>1.6.1</version> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.2.16</version> > </dependency> > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-test</artifactId> > <version>2.9.0.fuse-7-061</version> > <scope>test</scope> > </dependency> > </dependencies> > > <build> > <defaultGoal>install</defaultGoal> > > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>2.3.2</version> > <configuration> > <source>1.6</source> > <target>1.6</target> > </configuration> > </plugin> > > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>jetty-maven-plugin</artifactId> > <version>7.5.4.v20111024</version> > <configuration> > <webAppConfig> > <contextPath>/</contextPath> > </webAppConfig> > <systemProperties> > > <systemProperty> > <name>com.sun.management.jmxremote</name> > <value/> > </systemProperty> > </systemProperties> > <scanIntervalSeconds>10</scanIntervalSeconds> > </configuration> > </plugin> > > </plugins> > </build> > > </project> > > > Regards > Guru > @gnanagurus > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-ActiveMQ-communication-failes-in-Tomcat-tp5716976p5717110.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).