admin@glassfish.java.net

Re: [v3] ResolveError: Failed to start org.glassfish.admingui:console-plugin-service:1.0

From: Claudio Miranda <claudio_at_claudius.com.br>
Date: Thu, 3 Jul 2008 23:08:03 -0300

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_at_panzer v3]$ pwd
/home/claudio/alphaworks/projects/gf-workspace/v3

[claudio_at_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_at_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_at_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.