OSGi doesn't like maven snapshots and uses them as classifiers.
However I am not sure if they are ever used, I just noticed the Felix plugin reported it:
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.comet is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.comet.concurrent is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.websockets is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.websockets.frametypes is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.websockets.glassfish is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.websockets.rfc6455 is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.http.ajp is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.grizzly.servlet is set to different values in the source (5.0.2-SNAPSHOT) and in the manifest (5.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
[WARNING] Bundle org.glassfish.main.grizzly:glassfish-grizzly-extra-all:jar:8.0.2-SNAPSHOT : Version for package org.glassfish.extras.grizzly is set to different values in the source (8.0.2-SNAPSHOT) and in the manifest (8.0.2). The version in the manifest is not picked up by an other sibling bundles in this project or projects that directly depend on this project
<Export-Package>
org.glassfish.grizzly.comet.*;version=${grizzly.version},
org.glassfish.grizzly.websockets.*;version=${grizzly.version},
org.glassfish.grizzly.http.ajp.*;version=${grizzly.version},
org.glassfish.grizzly.servlet.*;version=${grizzly.version},
org.glassfish.grizzly.extras.*;version=${project.version},
org.glassfish.extras.grizzly.*;version=${project.version}
</Export-Package>
There are two options:
- Delete it, then this artifact would be used just as some "transport box dependency" for other modules
- Fix it, generate proper osgi version property.
Recommendation: try first without any instructions and compare results.
OSGi doesn't like maven snapshots and uses them as classifiers.
However I am not sure if they are ever used, I just noticed the Felix plugin reported it:
There are two options:
Recommendation: try first without any instructions and compare results.