I'm seeing the same failure. Cleaning the local repository of that
dependency did not help.
Tom
On 10/29/2012 8:54 AM, Martin Grebac wrote:
> Hi,
> with recent trunk, I'm getting hk2 dependency failures during build
> (below). Is this known issue? How to get around it?
> MartiNG
>
> ./gfbuild.sh clean install
> ...
> ...
> [INFO] GlassFish Main Parent Project ..................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.883s
> [INFO] Finished at: Mon Oct 29 14:47:13 CET 2012
> [INFO] Final Memory: 88M/359M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Plugin org.glassfish.hk2:config-generator:2.1.41 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor
> for org.glassfish.hk2:config-generator:jar:2.1.41: Failure to find
> org.glassfish.hk2:config-generator:pom:2.1.41 in
> http://repo.maven.apache.org/maven2 was cached in the local
> repository, resolution will not be reattempted until the update
> interval of central has elapsed or updates are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
>