I don't know which of these dependencies triggers the inclusion of
ehcache, but if you just type "mvn -X ..." you will get a text tree
showing your dependencies. If you pipe that output into a file or copy
and paste the CLI output into a file, you can search for "ehcache",
and probably find it rather quickly yourself.

Wayne

On 7/15/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
hi all,
 i have a webapp built on top of two projects,  a backend projet which uses
spring and hibernate, and
a webproject done using webwork which uses backend to connect to the
database...

somehow, in my web-inf\lib  directory an ehcache-1.1.jar is included, and i
cannot find out why
it gets included, or which dependency triggers its inclusion..
the problem i am having is that i plan to use acegisecurity in my app, and
acegi requires ehcache-1.2.3..
so i will end up having two versions of ehcache which will make my app blow
up at runtime

if anyone has experienced this, could you pls tell me which is the
dependency that triggers the inclusion
of ehcache-1.1?

here's are my dependencies of both projects..

*** backend ****
<dependencies>
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
   </dependency>
   <dependency>
     <groupId>commons-logging</groupId>
     <artifactId>commons-logging</artifactId>
     <version>1.1</version>
   </dependency>
   <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring</artifactId>
   </dependency>
   <dependency>
     <groupId>hibernate</groupId>
     <artifactId>hibernate</artifactId>
     <version>3.1rc2</version>
   </dependency>
   <dependency>
     <groupId>springframework</groupId>
     <artifactId>spring-mock</artifactId>
   </dependency>
   <dependency>
          <groupId>geronimo-spec</groupId>
          <artifactId>geronimo-spec-j2ee-jacc</artifactId>
          <version>1.0-rc1</version>
   </dependency>
   <dependency>
          <groupId>javax.mail</groupId>
          <artifactId>mail</artifactId>
          <version>1.4</version>
   </dependency>

   <dependency>
        <groupId>hsqldb</groupId>
        <artifactId>hsqldb</artifactId>
        <version>1.8.0.4</version>
   </dependency>

   <dependency>
        <groupId>dbunit</groupId>
        <artifactId>dbunit</artifactId>
        <version>2.1</version>
   </dependency>


 </dependencies>

**** webwork *****
<dependencies>
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
   </dependency>
   <dependency>
     <groupId>opensymphony</groupId>
     <artifactId>webwork</artifactId>
     <version>2.2.5</version>
   </dependency>
   <dependency>
     <groupId>opensymphony</groupId>
     <artifactId>sitemesh</artifactId>
     <version>2.3</version>
   </dependency>
   <dependency>
     <groupId>log4j</groupId>
     <artifactId>log4j</artifactId>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>servlet-api</artifactId>
     <version>2.4</version>
     <scope>provided</scope>
   </dependency>
   <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring</artifactId>
   </dependency>
   <dependency>
     <groupId>springframework</groupId>
     <artifactId>spring-mock</artifactId>
   </dependency>
   <dependency>
     <groupId>commons-logging</groupId>
     <artifactId>commons-logging</artifactId>
     <version>1.0.3</version>
   </dependency>
   <dependency>
     <groupId>commons-lang</groupId>
     <artifactId>commons-lang</artifactId>
     <version>2.3</version>
   </dependency>

   <dependency>
     <groupId>commons-collections</groupId>
     <artifactId>commons-collections</artifactId>
     <version>3.0</version>
   </dependency>
   <dependency>
     <groupId>commons-beanutils</groupId>
     <artifactId>commons-beanutils</artifactId>
     <version>1.7.0</version>
   </dependency>

   <dependency>
     <groupId>jstl</groupId>
     <artifactId>jstl</artifactId>
     <version>1.1.2</version>
   </dependency>
   <dependency>
     <groupId>taglibs</groupId>
     <artifactId>standard</artifactId>
     <version>1.1.2</version>
   </dependency>
   <dependency>
     <groupId>freemarker</groupId>
     <artifactId>freemarker</artifactId>
     <version>2.3.9</version>
   </dependency>
   <dependency>
     <groupId>velocity</groupId>
     <artifactId>velocity</artifactId>
     <version>1.4-rc1</version>
   </dependency>
   <dependency>
     <groupId>velocity-tools</groupId>
     <artifactId>velocity-tools</artifactId>
     <version>1.2</version>
   </dependency>
   <dependency>
     <groupId>velocity-tools</groupId>
     <artifactId>velocity-tools-view</artifactId>
     <version>1.2</version>
   </dependency>
   <dependency>
     <groupId>velocity</groupId>
     <artifactId>velocity</artifactId>
     <version>1.4</version>
   </dependency>
   <dependency>
     <groupId>jmock</groupId>
     <artifactId>jmock</artifactId>
     <version>1.2.0</version>
   </dependency>
   <dependency>
     <groupId>WebWork</groupId>
     <artifactId>WebWorkBackend</artifactId>
     <version>1.0-SNAPSHOT</version>
     <scope>compile</scope>
   </dependency>
   <dependency>
     <groupId>dwr</groupId>
     <artifactId>dwr</artifactId>
     <version>2.0</version>
   </dependency>
   <dependency>
     <groupId>ajaxtags</groupId>
     <artifactId>ajaxtags</artifactId>
     <version>1.3-beta-rc4</version>
    </dependency>
    <dependency>
     <groupId>jericho-html</groupId>
     <artifactId>jericho-html</artifactId>
     <version>2.4</version>
    </dependency>


thanks in advance and regards
 marco


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to