users@glassfish.java.net

Re: v3 fails to build

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 07 Feb 2008 09:04:29 +0530

Hi Raju,

This is a temporary problem caused by some older version of HK2 project
artifacts being made available in java.net maven repository. This will
be fixed soon. Stay tuned.

Thanks,
Sahoo

Raju Uppalapati wrote:
> Followed the steps described in this blog and attempted to build.
> http://blogs.sun.com/jenblog/entry/glassfish_v3_getting_started_setting
>
> I see the errors below and the build failed. Did I checkout at the
> wrong time or is it my env ?
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Downloading:
> http://download.java.net/maven/glassfish/org/jvnet/poormans-installer/installer/1.1/installer-1.1.jar
> [WARNING] Unable to get resource from repository glassfish-repository
> (http://download.java.net/maven/glassfish)
> Downloading:
> http://download.java.net/maven/2/org/jvnet/poormans-installer/installer/1.1/installer-1.1.jar
> 9K downloaded
> [INFO] [compiler:compile]
> [INFO] Compiling 12 source files to
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/src/main/java/com/sun/enterprise/build/DistributionAssemblyMojo.java:[4,44]
> package com.sun.enterprise.module.common_impl does not exist
>
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/src/main/java/com/sun/enterprise/build/AbstractGlassfishMojo.java:[9,44]
> package com.sun.enterprise.module.common_impl does not exist
>
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/src/main/java/com/sun/enterprise/build/RunMojo.java:[4,44]
> package com.sun.enterprise.module.common_impl does not exist
>
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/src/main/java/com/sun/enterprise/build/AbstractGlassfishMojo.java:[37,12]
> cannot find symbol
> symbol : class Jar
> location: class com.sun.enterprise.build.AbstractGlassfishMojo
>
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/src/main/java/com/sun/enterprise/build/AbstractGlassfishMojo.java:[37,22]
> cannot find symbol
> symbol : variable Jar
> location: class com.sun.enterprise.build.AbstractGlassfishMojo
>
> /home/ru111118/workspace/glassfish/v3/build/maven-glassfish-plugin/src/main/java/com/sun/enterprise/build/RunMojo.java:[218,28]
> cannot find symbol
> symbol : variable AbstractFactory
> location: class com.sun.enterprise.build.RunMojo
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 30 seconds
> [INFO] Finished at: Wed Feb 06 13:33:30 GMT-08:00 2008
> [INFO] Final Memory: 26M/72M
> [INFO]
> ------------------------------------------------------------------------
>