Maven supports any format for the version, however it will revert to a plain string comparison if you deviate from the format below, so you'll need to ensure that the ordering as a string is consistent with what you are expecting in choosing versions (ie 0.10.1.2 < 0.7.0.0, so you basically need to keep the parts of the same length).
- Brett 2008/8/19 rajkumar <[EMAIL PROTECTED]>: > Hi, > I want to publish an OSGi bundle in maven2 repository. > The version format for OSGi supports , > > major[.minor[.micro]][.qualifier] > > but maven supports something like > > <major>.<minor>.<revision>([ -<qualififer> ] | [ -<build> ]) > where: > the qualifier section is optional (and is SNAPSHOT, alpha-1, alpha-2) > > Is there anyway to have the same version number for both OSGi and maven. > Will maven supports 1.0.7.1088 as version number > or > Should I have something like 1.0.7-1088 for maven and 1.0.7.1088 for OSGi > BundleVersion. > > regards, > Rajkumar > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Brett Porter Blog: http://blogs.exist.com/bporter/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
