The former uses the parent POM's version, and the latter uses the
current project's version.
In GlassFish, they both point to the same value, so we should be using
${project.version}.
BN wrote:
> Jerome, Kohsuke
>
> I don't know what to put for the version for Universal. Monkey-see,
> Monkey-do is not working because I see both of the versions (below) used
> in pom.xml files -- seemingly at random.
> Which of these is correct or should I use something else?
>
>
> <dependency>
> <groupId>org.glassfish.common</groupId>
> <artifactId>universal</artifactId>
> <version>${*project.parent.version*}</version>
> </dependency>
>
>
> <dependency>
> <groupId>org.glassfish.common</groupId>
> <artifactId>universal</artifactId>
> <version>${*project.version*}</version>
> </dependency>
>
>
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com