How can I specify version ranges in the pom.xml file such that those
ranges persist to the MANIFEST.MF? I tried:
<project xmlns="
http://maven.apache.org/POM/4.0.0"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.glassfish</groupId>
<artifactId>glassfish-parent</artifactId>
<version>10.0-SNAPSHOT</version>
</parent>
<groupId>org.glassfish.admingui</groupId>
<artifactId>console-plugin-service</artifactId>
<packaging>hk2-jar</packaging>
<name>Admin GUI Integration</name>
<description>Glassfish V3 Admin Console Integration</description>
<dependencies>
<dependency>
<groupId>com.sun.enterprise</groupId>
<artifactId>hk2</artifactId>
<version>${hk2.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.common</groupId>
<artifactId>glassfish-api</artifactId>
* <version>[10.0*,11.0)</version>*
</dependency>
</dependencies>
...
Which gave me this in the MANIFEST.MF file:
bundle-version="[10.0.0.tp-2-SNAPSHOT, 10.0.0.tp-2-SNAPSHOT]
This was the first of several available versions available, however, I
don't want 1 version, I want "[10.0,11.0)". How can I do this?
Ken