[jboss-dev-forums] [Design of JBoss Build System] - Re: Maven Version ranges - The version format
adrian@jboss.org
do-not-reply at jboss.com
Sat Mar 29 10:24:46 EDT 2008
"alesj" wrote : "adrian at jboss.org" wrote :
| | However Maven doesn't use that scheme:
| | http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution
| | instead it is
| | major.minor.micro-qualifier-build
| |
| | So our
| | jboss-5.0.0.Beta4
| | should be under maven
| | jboss-5.0.0-Beta-4
| | for the version ranges to work properly.
| Can't you hack this?
| e.g. first trying how maven wants it, then also try our own
| So that the old stuff would still work.
How? Something like
| <dependency>
| <groupId>org.jboss</groupId>
| <artifactId>jbossas</artifactId>
| <version format="OSGi">5.0.0.Beta4</version>
| </dependency>
|
With some config that tells maven how to parse versions into its format?
| <version-format name="OSGi">org.jboss.maven.OSGiVersionParser</version-format>
|
I'd guess it probably isn't as simple as that (but I haven't looked at the code. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139831#4139831
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139831
More information about the jboss-dev-forums
mailing list