Hi there, I'm testing a new little project that uses the Spring Framework and Acegi Security. This the relevant section from the pom (which is attached, BTW)
<dependency> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> <version>2.0.6</version> </dependency> <dependency> <groupId>org.acegisecurity</groupId> <artifactId>acegi-security</artifactId> <version>1.0.4</version> </dependency> <dependency> <groupId>org.acegisecurity</groupId> <artifactId>acegi-security-tiger</artifactId> <version>1.0.4</version> </dependency> When I issue a 'mvn package' I see that spring-2.0.6.jar is included (because I asked it to) and several spring-*-2.0.4 jars, which are needed by Acegi. How can I tell Acegi that I already have the Spring dependency covered (alberit with a newer one)? Best regards, Gerard.
<?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>application.demo</groupId> <artifactId>mavenflight</artifactId> <packaging>war</packaging> <version>20070906</version> <name>Maven Demo Application</name> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.1.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> <version>2.0.6</version> </dependency> <dependency> <groupId>org.acegisecurity</groupId> <artifactId>acegi-security</artifactId> <version>1.0.4</version> </dependency> <dependency> <groupId>org.acegisecurity</groupId> <artifactId>acegi-security-tiger</artifactId> <version>1.0.4</version> </dependency> </dependencies> <build> <finalName>mavenflight</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <debug>true</debug> <encoding>UTF-8</encoding> <optimize>false</optimize> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.5</version> <configuration> <contextPath>/</contextPath> <connectors> <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> <port>58082</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> <scanIntervalSeconds>5</scanIntervalSeconds> </configuration> </plugin> </plugins> </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]