Hello,
I have a m2eclipse managed web app Eclipse project. It depends on many
libraries and some of them use different versions of javassist library.
Despite the exclusions:
<dependency>
<groupId>com.javaforge.tapestry</groupId>
<artifactId>tapestry-spring</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<artifactId>tapestry</artifactId>
<groupId>tapestry</groupId>
</exclusion>
<exclusion>
<artifactId>tapestry-annotations</artifactId>
<groupId>tapestry</groupId>
</exclusion>
*<exclusion>
<artifactId>javassist</artifactId>
<groupId>jboss</groupId>
</exclusion>*
</exclusions>
</dependency>
<dependency>
<groupId>com.javaforge.tapestry</groupId>
<artifactId>tapestry-acegi</artifactId>
<version>0.1-SNAPSHOT</version>
<exclusions>
*<exclusion>
<artifactId>javassist</artifactId>
<groupId>jboss</groupId>
</exclusion>*
</exclusions>
</dependency>
<dependency>
<groupId>com.javaforge.tapestry</groupId>
<artifactId>tapestry-prop</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<artifactId>tapestry</artifactId>
<groupId>tapestry</groupId>
</exclusion>
*<exclusion>
<artifactId>javassist</artifactId>
<groupId>jboss</groupId>
</exclusion>*
</exclusions>
</dependency>
javassist with version 3.0 ends up in "Maven2 Dependencies". The command
line output says
(removed - nearer found: 3.4.ga)
which is correct. The mvn jetty:run works ok from the command line, but
running the web app from Eclipse with Jetty Launcher plugin complains,
because the 3.0 version of the javassist is used.
I can send a complete log output from mvn -X clean package.
Please advise,
Borut