I've fixed this...

Seems like the new integration tests for the car-maven-plugin's geronimo-plugin.xml validate bits are ***VERY*** sensitive to the changes in the build configuration.

This broke because I changed the top-level pom's description from:

Apache Geronimo, the J2EE server project of the Apache Software Foundation.

to:

Apache Geronimo, the JavaEE server project of the Apache Software Foundation.

 * * *

I've not looked at the new car-m-p changes that recently went in... but I'm not sure that they should be pulling in descriptions from the projects pom... should they? Uh, I dunno...

Anyways... fixed now :-)

--jason


On Sep 8, 2007, at 1:30 AM, [EMAIL PROTECTED] wrote:

OpenEJB trunk at 573796
Geronimo Revision: 573798 built with tests included

See the full build-0400.log file at http://people.apache.org/ ~prasad/binaries/trunk/20070908/build-0400.log

            <type>jar</type>
        </dependency>
        <obsoletes>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
        </obsoletes>
        <source-repository>http://foo.com</source-repository>
        <source-repository>http://bar.com</source-repository>
<copy-file relative-to="WEB-INF" dest-dir="bar">META-INF/ foo.xml</copy-file>
        <config-xml-content>
            <ns2:gbean>
<ns2:attribute name="repositoryList">http:// geronimo.apache.org/plugins/plugin-repository-list-2.1.txt</ ns2:attribute> <ns2:attribute name="userRepositories">~/.m2/ repository,${key1}</ns2:attribute>
            </ns2:gbean>
        </config-xml-content>
<artifact-alias key="org.apache.geronimo.test/foo// car">org.apache.geronimo.test/bar/1.0/car</artifact-alias>
        <config-substitution key="key2">value2</config-substitution>
        <config-substitution key="key1">value1</config-substitution>
    </plugin-artifact>
</geronimo-plugin>
, found = <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geronimo-plugin xmlns="http://geronimo.apache.org/xml/ns/ plugins-1.3" xmlns:ns2="http://geronimo.apache.org/xml/ns/ attributes-1.2">
    <name>Geronimo Maven2 Plugins :: CAR</name>
    <category>Test</category>
<description>Apache Geronimo, the JavaEE server project of the Apache Software Foundation.</description>
    <url>http://geronimo.apache.org/</url>
    <author>The Apache Geronimo development community</author>
<license osi-approved="true">The Apache Software License, Version 2.0</license>
    <plugin-artifact>
        <module-id>
            <groupId>org.apache.geronimo.plugins.it</groupId>
            <artifactId>car-maven-plugin</artifactId>
            <version>2.1-SNAPSHOT</version>
            <type>jar</type>
        </module-id>
        <jvm-version>1.5</jvm-version>
        <jvm-version>1.5.2</jvm-version>
        <prerequisite>
            <id>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
            </id>
            <resource-type>joke</resource-type>
            <description>this is an explanation</description>
        </prerequisite>
        <dependency start="true">
            <groupId>velocity</groupId>
            <artifactId>velocity</artifactId>
            <version>1.4</version>
            <type>jar</type>
        </dependency>
        <dependency start="true">
            <groupId>xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.1.3</version>
            <type>jar</type>
        </dependency>
        <obsoletes>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
        </obsoletes>
        <source-repository>http://foo.com</source-repository>
        <source-repository>http://bar.com</source-repository>
<copy-file relative-to="WEB-INF" dest-dir="bar">META-INF/ foo.xml</copy-file>
        <config-xml-content>
            <ns2:gbean>
<ns2:attribute name="repositoryList">http:// geronimo.apache.org/plugins/plugin-repository-list-2.1.txt</ ns2:attribute> <ns2:attribute name="userRepositories">~/.m2/ repository,${key1}</ns2:attribute>
            </ns2:gbean>
        </config-xml-content>
<artifact-alias key="org.apache.geronimo.test/foo// car">org.apache.geronimo.test/bar/1.0/car</artifact-alias>
        <config-substitution key="key2">value2</config-substitution>
        <config-substitution key="key1">value1</config-substitution>
    </plugin-artifact>
</geronimo-plugin>
; See /home/prasad/geronimo/trunk/maven-plugins/car-maven-plugin/ src/it/metadatageneration-2/build.log for details
[INFO]
[INFO] ---------------------------------------------------------------------- ---------
[INFO] Test Summary (0:00:31.272)
[INFO]     Passed: 0
[INFO]     Failed: 4
[INFO] ---------------------------------------------------------------------- ---------
[INFO]
[INFO] The following builds failed:
[INFO] * /home/prasad/geronimo/trunk/maven-plugins/car-maven- plugin/src/it/j2ee-system/pom.xml [INFO] * /home/prasad/geronimo/trunk/maven-plugins/car-maven- plugin/src/it/j2ee-system-2/pom.xml [INFO] * /home/prasad/geronimo/trunk/maven-plugins/car-maven- plugin/src/it/metadatageneration/pom.xml [INFO] * /home/prasad/geronimo/trunk/maven-plugins/car-maven- plugin/src/it/metadatageneration-2/pom.xml
[INFO]
[INFO] ---------------------------------------------------------------------- --
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------- --
[INFO] 4 of 4 builds failed
[INFO] ---------------------------------------------------------------------- --
[INFO] For more information, run Maven with the -e switch
[INFO] ---------------------------------------------------------------------- --
[INFO] Total time: 14 minutes 16 seconds
[INFO] Finished at: Sat Sep 08 04:28:12 EDT 2007
[INFO] Final Memory: 133M/508M
[INFO] ---------------------------------------------------------------------- --

Reply via email to