Here's what I use for Struts:
<dependency>
<artifactId>struts</artifactId>
<groupId>struts</groupId>
<version>1.2.4</version>
</dependency>
<dependency>
<artifactId>commons-beanutils</artifactId>
<groupId>commons-beanutils</groupId>
<version>1.6.1</version>
</dependency>
<dependency>
<artifactId>struts-el</artifactId>
<groupId>struts</groupId>
<version>1.2.4</version>
</dependency>
<dependency>
<artifactId>strutstestcase</artifactId>
<groupId>strutstestcase</groupId>
<version>2.1.2-1.1-2.3</version>
<scope>test</scope>
</dependency>
The beanutils thing is apparently a bug in Maven 2 - that's why it's required.
For Spring, I use:
<dependency>
<artifactId>spring</artifactId>
<groupId>springframework</groupId>
<version>1.2.6</version>
</dependency>
<dependency>
<artifactId>spring-mock</artifactId>
<groupId>springframework</groupId>
<version>1.2.6</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>spring-jdbc</artifactId>
<groupId>springframework</groupId>
</exclusion>
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>springframework</groupId>
</exclusion>
</exclusions>
</dependency>
Hope this helps,
Matt
On 11/29/05, Christian Schulte <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I do not understand how transitive dependencies are supposed to work.
> Why are there no poms for spring 1.2.6 but for 1.2.5 ?
>
> What dependencies do I have to define if I need to use spring with
> struts and acegisecurity ?
>
> Currently I get two spring jar file in my ear. Spring 1.2.5 and 1.2.6
> and I don't get the reason for this.
>
> --
> Christian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]