dev@glassfish.java.net

pom.xml review request - use hk2 in asadmin

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Tue, 18 Aug 2009 14:38:02 -0700

Before I check in the changes to asadmin to use hk2, would someone please
review the corresponding admin/cli/pom.xml changes?

Thanks!

Index: pom.xml
===================================================================
--- pom.xml (revision 30538)
+++ pom.xml (working copy)
@@ -136,7 +136,7 @@

<mainClass>com.sun.enterprise.admin.cli.AsadminMain</mainClass>
                         </manifest>
                         <manifestEntries>
- <Class-Path>cli-optional.jar glassfish.jar server-mgmt.jar common-util.jar
admin-util.jar launcher.jar backup.jar stax-osgi.jar admin-cli-l10n.jar
security.jar glassfish-api.jar</Class-Path>
+ <Class-Path>cli-optional.jar glassfish.jar server-mgmt.jar common-util.jar
admin-util.jar launcher.jar backup.jar stax-osgi.jar admin-cli-l10n.jar
security.jar glassfish-api.jar hk2.jar hk2-core.jar</Class-Path>
                         <!-- 5776: we do not need backup jar entry, but I
retain it, Kedar -->
                         </manifestEntries>
                     </archive>
@@ -217,5 +217,9 @@
             <artifactId>glassfish-api</artifactId>
             <version>${project.parent.version}</version>
         </dependency>
+ <dependency>
+ <groupId>com.sun.enterprise</groupId>
+ <artifactId>hk2</artifactId>
+ </dependency>
     </dependencies>
 </project>



(BTW, why is the groupId for hk2 "com.sun.enterprise" instead of
"org.jvnet.hk2"?)