Oleksiys,
I don't know who decides the maven version in Grizzly project, but the
new version 1.9.0.1 is actually less than the earlier version 1.9.0 as
per maven versioning scheme [1]. This is the second time I have come
across this for a Grizzly artifact. Earlier one was when something like
1.7.0_01 was used.
You can use a simple program like this to test it yourself:
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
class Main {
public static void main(String... args) {
DefaultArtifactVersion mv1 = new DefaultArtifactVersion(args[0]);
DefaultArtifactVersion mv2 = new DefaultArtifactVersion(args[1]);
System.out.println(mv1.compareTo(mv2));
}
}
java -cp
$HOME/.m2/repository/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.jar:.
Main $*
Thanks,
Sahoo
[1]
http://docs.codehaus.org/display/MAVEN/Versioning
attached mail follows:
Author: oleksiys
Date: 2008-12-10 17:30:57+0000
New Revision: 23856
Modified:
trunk/v3/pom.xml
Log:
+ integrate Grizzly 1.9.0.1, which has cometd fix
Modified: trunk/v3/pom.xml
Url:
https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/pom.xml?view=diff&rev=23856&p1=trunk/v3/pom.xml&p2=trunk/v3/pom.xml&r1=23855&r2=23856
==============================================================================
--- trunk/v3/pom.xml (original)
+++ trunk/v3/pom.xml 2008-12-10 17:30:57+0000
@@ -111,10 +111,10 @@
<deployment-api.version>1.2-rev-1</deployment-api.version>
<jaxrpc-api.version>1.1</jaxrpc-api.version>
<!-- When you change the following property, please change grizzly.package-version as well -->
- <grizzly.original-version>1.9.0</grizzly.original-version>
+ <grizzly.original-version>1.9.0.1</grizzly.original-version>
<!-- A version string like 1.8.6-RC2 is treated differently by OSGi, hence
we map it manually -->
- <grizzly.package-version>1.9.0</grizzly.package-version>
+ <grizzly.package-version>1.9.0.1</grizzly.package-version>
<jaxb-api.version>2.1</jaxb-api.version>
<jaxws-api.version>2.1</jaxws-api.version>
<jsr250-api.version>1.0</jsr250-api.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe_at_glassfish-svn.dev.java.net
For additional commands, e-mail: commits-help_at_glassfish-svn.dev.java.net