Please open jira issue and attach complete project that will be sufficient to reproduce this. Also see http://docs.codehaus.org/display/M2ECLIPSE/How+To+Report+Issues

 Thanks

 Eugene


Borut Bolčina wrote:
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



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to