users@glassfish.java.net

Re: GlassFish 3.1.2 is here!

From: Jane Young <jane.young_at_oracle.com>
Date: Fri, 06 Apr 2012 05:42:12 -0700

Hi,

Which version of Maven are you using?
Please use version 2.2.1 and also remember to add the gf-repo element in
settings.xml and build with the command "mvn -Pgf-repo install". See:
https://wikis.oracle.com/display/GlassFish/FullBuildInstructions#FullBuildInstructions-Unabletobuildbecausemaven.glassfish.orgisoffline

Thanks,
Jane


On 4/6/12 5:32 AM, x wrote:
> Hello,
>
> I checked out the source repository for 3.1.2 and launched the build
> "mvn -U clean install" then the following error occurred.
>
> ---
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.glassfish.main:glassfish-parent:3.1.2
> (D:\ee\javanet\60\3.1.2\pom.xml) has 1 error
> [ERROR] Non-parseable POM
> C:\Users\xz\.m2\repository\net\java\jvnet-parent\1\jvnet-parent-1.pom:
> Expected root element 'project' but found 'html' (position: START_TAG
> seen <html>... @1:6) @
> C:\Users\xz\.m2\repository\net\java\jvnet-parent\1\jvnet-parent-1.pom,
> line 1, column 6 -> [Help 2]
> [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/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
> ---
>
> Does the repo server below has something problem now?
>
> http://maven.glassfish.org/content/groups/glassfish
>
> Or do I need some config changes before building the source?
>
> Thanks in advance.
>
> -xj