dev@glassfish.java.net

Re: Is there a build problem?

From: Ken Cavanaugh <Ken.Cavanaugh_at_Sun.COM>
Date: Wed, 18 Nov 2009 20:16:54 -0800

Jane Young wrote:
> Hi Ken,
>
> You need to build from a clean repo or remove javax/servlet/jsp from
> the local Maven repository and then try "-P external-repo" ]
OK, so I just delete ~/.m2/repository and try again? I have no idea how
many artifacts
are corrupted, so I'll just toss everything (most of my work in not in
GFv3 anyway, so I can
wait a couple of hours to get everything back again for QL and EJB
devtests).

Thanks,

Ken.
>
> Even though the system hosting GlassFish Nexus server is down, the
> page "http://maven.glassfish.org" redirects to a VMWare page which
> maven actually downloads the html content as the artifact to your
> local Maven repository. So this means that the downloaded artifacts in
> your local Maven repository is now messed-up. You'll need to remove
> the bad artifacts or start from a clean repo. Keep in mind that
> building from a clean repo will take a LONG time. If you don't want
> to wait, I suggest to remove the bad artifacts from the local Maven
> repo and try building again.
>
> HTH,
> Jane