A little bit of cavaet emptor on using version ranges in maven2 dependencies.
This is a feature that I hope all library writers start using! (including hivemind and tapestry) There is an issue with several projects in the repositories having bad maven-metadata.xml files. Also mvn install:install-file does really play well yet with this feature. I have filed bugs on this issue for people to watch and vote for so that we can start pressuring library writers to use version ranges in their pom's http://jira.codehaus.org/browse/MEV-441 http://jira.codehaus.org/browse/MEV-443 http://jira.codehaus.org/browse/MINSTALL-33 -Pat --- Patrick Moore <[EMAIL PROTECTED]> wrote: > Hi James -- > > I think you said when you get a chance you are going to update the > tapestry-acegi package. When you do you might wish to use this pom.xml. I > discovered this neat feature of maven2 that allows you to specify the minimum > version of a dependency. This allows users to upgrade their version of > tapestry, spring, etc. without having tapestry-acegi look for older versions. > > I think I got this right: > > <?xml version="1.0"?> > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>com.javaforge.tapestry</groupId> > <artifactId>tapestry-acegi</artifactId> > <name>Tapestry Acegi Integration</name> > <version>0.1-20060609.153634-9</version> > <inceptionYear>2006</inceptionYear> > <developers> > <developer> > <id>JC</id> > <name>James Carman</name> > <email>[EMAIL PROTECTED]</email> > </developer> > </developers> > <licenses> > <license> > <name>Apache License, Version 2.0</name> > <url>http://apache.org/licenses/LICENSE-2.0</url> > <distribution>repo</distribution> > </license> > </licenses> > <scm> > > <connection>scm:svn:http://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk</connection> > <url>http://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk</url> > </scm> > <organization> > <name>javaforge</name> > <url>http://javaforge.com</url> > </organization> > <build> > <plugins> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > </plugins> > </build> > <repositories> > <repository> > <id>cc-repo</id> > <name>Carman Consulting</name> > <url>http://www.carmanconsulting.com/mvn</url> > </repository> > </repositories> > <dependencies> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>[3.8.1,)</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>easymock</groupId> > <artifactId>easymock</artifactId> > <version>[1.1,)</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>commons-logging</groupId> > <artifactId>commons-logging</artifactId> > <version>[1.0.4,)</version> > </dependency> > <dependency> > <groupId>hivemind</groupId> > <artifactId>hivemind</artifactId> > <version>[1.1.1,)</version> > </dependency> > <dependency> > <groupId>hivemind</groupId> > <artifactId>hivemind-lib</artifactId> > <version>[1.1.1,)</version> > </dependency> > <dependency> > <groupId>javassist</groupId> > <artifactId>javassist</artifactId> > <version>[3.0,)</version> > </dependency> > <dependency> > <groupId>oro</groupId> > <artifactId>oro</artifactId> > <version>[2.0.8,)</version> > </dependency> > <dependency> > <groupId>com.javaforge.hivemind</groupId> > <artifactId>hivemind-utils</artifactId> > <version>[0.1-SNAPSHOT,)</version> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>[1.2.11,)</version> > </dependency> > <dependency> > <groupId>org.acegisecurity</groupId> > <artifactId>acegi-security</artifactId> > <version>[1.0.0,)</version> > </dependency> > <dependency> > <groupId>org.acegisecurity</groupId> > <artifactId>acegi-security-tiger</artifactId> > <version>[1.0.0,)</version> > </dependency> > <dependency> > <groupId>tapestry</groupId> > <artifactId>tapestry</artifactId> > <version>[4.0.1,)</version> > </dependency> > <dependency> > <groupId>tapestry</groupId> > <artifactId>tapestry-annotations</artifactId> > <version>[4.0.1,)</version> > </dependency> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>[2.4,)</version> > <scope>provided</scope> > </dependency> > </dependencies> > <distributionManagement> > <repository> > <id>cc-repo</id> > > <url>scpexe://www.carmanconsulting.com/var/www/carmanconsulting/mvn</url> > </repository> > <site> > <id>cc-site</id> > > <url>scp://carmanconsulting.com/var/www/carmanconsulting/tapestry-acegi/</url> > </site> > <status>deployed</status> > </distributionManagement> > </project> > > > > > > --------------------------------------------------------------------- > 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]