The variables you changed should have already contained those values...
however, since the admingui builds separately from the rest of
GlassFish, if the glassfish-api version changes, you have to rebuild
everything or it doesn't work. In my local build, I have also
hard-coded the glassfish-api until we can get version ranges working --
it's a pain. :( I'm glad you got it working!
Just to let people know, I got it working after some changes to 2 pom.xml
I am not a maven expert, so this changes could be wrong, but it works.
[claudio@panzer v3]$ pwd
/home/claudio/alphaworks/projects/gf-workspace/v3
[claudio@panzer v3]$ svn st|grep ^M
M admingui/war/src/main/webapp/WEB-INF/sun-web.xml
M admingui/war/src/main/webapp/WEB-INF/web.xml
M admingui/plugin-service/pom.xml
M admingui/web/pom.xml
[claudio@panzer v3]$ svn diff admingui/plugin-service/pom.xml
admingui/web/pom.xml
Index: admingui/plugin-service/pom.xml
===================================================================
--- admingui/plugin-service/pom.xml (revision 21154)
+++ admingui/plugin-service/pom.xml (working copy)
@@ -66,7 +66,7 @@
<dependency>
<groupId>com.sun.enterprise</groupId>
<artifactId>hk2</artifactId>
- <version>${hk2.version}</version>
+ <version>0.3.5</version>
</dependency>
<dependency>
<groupId>org.glassfish.common</groupId>
@@ -97,4 +97,8 @@
</repository>
<!-- all the other repositories are inherited -->
</repositories>
+ <properties>
+ <glassfish-api.version>10.0.0-rev6</glassfish-api.version>
+ </properties>
+
</project>
Index: admingui/web/pom.xml
===================================================================
--- admingui/web/pom.xml (revision 21154)
+++ admingui/web/pom.xml (working copy)
@@ -93,4 +93,8 @@
<scope>provided</scope>
</dependency>
</dependencies>
+ <properties>
+ <glassfish-api.version>10.0.0-rev6</glassfish-api.version>
+ </properties>
+
</project>
On Wed, Jul 2, 2008 at 7:02 PM, Ken Paulsen <Ken.Paulsen@sun.com> wrote:
I don't think the incorrect version in admingui/pom.xml is used (anymore?).
We have a lot of cleanup work needed on these pom.xml files (sorry!). The
parent for the admingui/plugin-service/pom.xml is:
<parent>
<groupId>org.glassfish</groupId>
<artifactId>glassfish-parent</artifactId>
<version>10.0-SNAPSHOT</version>
</parent>
So it should be the correct version. However, this may not have got built
(or installed) in your ~/.m2 directory. Try rebuilding it and placing it in
your modules directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: admin-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: admin-help@glassfish.dev.java.net