Can you try with Maven 2.2.1?
On 2/27/12 11:25 PM, Javafuns wrote:
> yes, it is apparently failed.
>
> [INFO] JMS Module ........................................ SUCCESS
> [1.749s]
> [INFO] JMS admin ......................................... SUCCESS
> [1.752s]
> [INFO] JDBC Resource Adapter ............................. SUCCESS
> [0.269s]
> [INFO] Core JDBC Resource Adapter classes ................ SUCCESS
> [3.347s]
> [INFO] JDBC 30 related classes for JDBC Resource Adapter . SUCCESS
> [1.182s]
> [INFO] JDBC 40 related classes for JDBC Resource Adapter . SUCCESS
> [1.637s]
> [INFO] JDBC Module ....................................... SUCCESS
> [0.061s]
> [INFO] JDBC Templates .................................... SUCCESS
> [0.821s]
> [INFO] Distribution Module for JDBC Resource Adapter ..... SUCCESS
> [1.029s]
> [INFO] JDBC admin ........................................ FAILURE
> [4.149s]
> [INFO] GlassFish Module Extending system bundle to provide access to
> additional packages from oracle jdbc driver SKIPPED
> [INFO] Connector for JPA runtime in glassfish ............ SKIPPED
> [INFO] JPA container for glassfish ....................... SKIPPED
> [INFO] Declaring EclipseLink dependencies ................ SKIPPED
>
> This time, the error changed.
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.glassfish.jdbc.admin.cli.ListJdbcResourcesTest
> Feb 28, 2012 3:06:27 PM org.jvnet.hk2.config.ConfigParser handleElement
> SEVERE: Ignoring unrecognized element management-rules at Line number
> = 156
> Column number = 40
> System Id =
> file:/home/gavin/OpenSource/glassfish/main/appserver/jdbc/admin/target/test-classes/DomainTest.xml
> Public Id = null
> Location Uri=
> file:/home/gavin/OpenSource/glassfish/main/appserver/jdbc/admin/target/test-classes/DomainTest.xml
> CharacterOffset = 10721
>
> BTW, my os is Debian 3.2.6-1, amd64, java version "1.6.0_31".
> ------------------
> Gavin.Zhang_at_Beijing.COM
> ------------------ Original ------------------
> *From: * "Bill Shannon"<bill.shannon_at_oracle.com>;
> *Date: * Tue, Feb 28, 2012 01:58 PM
> *To: * "dev"<dev_at_glassfish.java.net>;
> *Cc: * "Javafuns"<javafuns_at_qq.com>;
> *Subject: * Re: failed to mvn install
> The tests produce a lot of messages like that without actually failing.
> Are you actually see test failures?
>
> Javafuns wrote on 2/27/12 8:29 PM:
> > I'm new to glassfish. I followed
> > https://wikis.oracle.com/display/GlassFish/FullBuildInstructions,
> and checked
> > out glassfish source code, then 'mvn install', but got following
> test errors.
> > Is there anyone know how to solve it ?
> > Thanks in advance.
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running org.glassfish.resources.javamail.admin.cli.TestDocument
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
> 0.005 sec
> > Running
> org.glassfish.resources.javamail.admin.cli.CreateJavaMailResourceTest
> > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser handleElement
> > SEVERE: Ignoring unrecognized element jdbc-resource at Line number = 47
> > Column number = 102
> > System Id =
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > Public Id = null
> > Location Uri=
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > CharacterOffset = 2299
> >
> > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser handleElement
> > SEVERE: Ignoring unrecognized element jdbc-resource at Line number = 48
> > Column number = 71
> > System Id =
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > Public Id = null
> > Location Uri=
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > CharacterOffset = 2370
> >
> > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser handleElement
> > SEVERE: Ignoring unrecognized element jdbc-connection-pool at Line
> number = 49
> > Column number = 146
> > System Id =
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > Public Id = null
> > Location Uri=
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > CharacterOffset = 2516
> >
> > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser handleElement
> > SEVERE: Ignoring unrecognized element jdbc-connection-pool at Line
> number = 53
> > Column number = 176
> > System Id =
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > Public Id = null
> > Location Uri=
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > CharacterOffset = 2886
> >
> > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser handleElement
> > SEVERE: Ignoring unrecognized element transaction-service at Line
> number = 145
> > Column number = 76
> > System Id =
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > Public Id = null
> > Location Uri=
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > CharacterOffset = 8946
> >
> > Feb 28, 2012 10:39:09 AM org.jvnet.hk2.config.ConfigParser handleElement
> > SEVERE: Ignoring unrecognized element management-rules at Line
> number = 175
> > Column number = 42
> > System Id =
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > Public Id = null
> > Location Uri=
> >
> file:/home/gavin/OpenSource/glassfish/main/appserver/resources/javamail/javamail-connector/target/test-classes/DomainTest.xml
> > CharacterOffset = 1095
> >
> > ------------------
> > Gavin.Zhang_at_Beijing.COM
>
>