I am on XP
-D
On 5/9/06, Brett Porter <[EMAIL PROTECTED]> wrote:
>
> what operating system? Looks like line ending issues in the tests.
>
> These seem minor. It's probably one failure that affects all those
> tests.
>
> - Brett
>
> dan tran wrote:
> > here you go
> >
> > Results :
> > Tests run: 260, Failures: 48, Errors: 0, Skipped: 0
> >
> >
> > One of those test is in
> > Running
> >
> org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTe
> > t
> > Tests run: 39, Failures: 22, Errors: 0, Skipped: 0, Time elapsed:
> 6.266 sec
> > <<<
> > FAILURE!
> >
> >
> > Test set:
> >
>
org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTest
> >
>
-------------------------------------------------------------------------------
> >
> > Tests run: 39, Failures: 22, Errors: 0, Skipped: 0, Time elapsed:
> 6.266 sec
> > <<< FAILURE!
> > testSimulateRewrite(
> >
>
org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTest
> )
> > Time elapsed: 0.125 sec <<< FAILURE!
> > junit.framework.ComparisonFailure: Check the transformed POM
> > expected:<...?xml version=" 1.0" encoding="UTF-8"?>
> > <!--
> > ~ Copyright 2005-2006 The Apache Software Foundation.
> > ~
> > ~ Licensed under the Apache License, Version 2.0 (the "License");
> > ~ you may not use this file except in compliance with the License.
> > ~ You may obtain a copy of the License at
> > ~
> > ~ http://www.apache.org/licenses/LICENSE-2.0
> > ~
> > ~ Unless required by applicable law or agreed to in writing,
software
>
> > ~ distributed under the License is distributed on an "AS IS" BASIS,
> > ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> > ~ See the License for the specific language governing permissions
and
>
> > ~ limitations under the License.
> > -->
> > <project>
> > <modelVersion>4.0.0</modelVersion>
> > <groupId>groupId</groupId>
> > <artifactId>artifactId</artifactId>
> > <version>1.1-SNAPSHOT</version>
> > <scm>
> > <connection>scm:svn:file://localhost/tmp/scm-repo/trunk
> </connection>
> > <developerConnection>scm:svn: file://localhost/tmp/scm-repo/trunk
> > </developerConnection>
> > <url>file://localhost/tmp/scm-repo/trunk </url>
> > </scm>...> but was:<...project>
> > <modelVersion>4.0.0</modelVersion>
> > <groupId>groupId</groupId>
> > <artifactId>artifactId</artifactId>
> > <version>1.1-SNAPSHOT</version>
> >
> > <scm>
> >
<connection>scm:svn:file://localhost/tmp/scm-repo/trunk</connection>
>
> > <developerConnection>scm:svn:file://localhost/tmp/scm-repo/trunk
> > </developerConnection>
> > <url> file://localhost/tmp/scm-repo/trunk</url>
> > </scm>
> > ...>
> > at junit.framework.Assert.assertEquals(Assert.java:81)
> > at
> >
>
org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTest.testSimulateRewrite
> >
> > (RewritePomsForDevelopmentPhaseTest.java:68)
> >
> > testRewriteBasicPomWithCvs(
> >
>
org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTest
> )
> > Time elapsed: 0.234 sec <<< FAILURE!
> > junit.framework.ComparisonFailure: Check the transformed POM
> > expected:<...?xml version="1.0" encoding="UTF-8"?>
> > <!--
> > ~ Copyright 2005-2006 The Apache Software Foundation.
> > ~
> > ~ Licensed under the Apache License, Version 2.0 (the "License");
> > ~ you may not use this file except in compliance with the License.
> > ~ You may obtain a copy of the License at
> > ~
> > ~ http://www.apache.org/licenses/LICENSE-2.0
> > ~
> > ~ Unless required by applicable law or agreed to in writing,
software
> > ~ distributed under the License is distributed on an "AS IS" BASIS,
> > ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> > ~ See the License for the specific language governing permissions
and
>
> > ~ limitations under the License.
> > -->
> > <project>
> > <modelVersion>4.0.0</modelVersion>
> > <groupId>groupId</groupId>
> > <artifactId>artifactId</artifactId>
> > <version>1.1-SNAPSHOT</version>
> > <prerequisites>
> > <maven>2.0.4</maven>
> > </prerequisites>
> > <scm>
> > <connection>scm:cvs:pserver:[EMAIL PROTECTED]
> > :/tmp/scm-repo:module</connection>
> > <developerConnection>scm:cvs:ext:[EMAIL PROTECTED]
> > :/tmp/scm-repo:module</developerConnection>
> > <url> http://localhost/viewcvs.cgi/module</url>
> > </scm>...> but was:<...project>
> > <modelVersion>4.0.0</modelVersion>
> > <groupId>groupId</groupId>
> > <artifactId>artifactId</artifactId>
> > <version>1.1-SNAPSHOT</version>
> >
> > <prerequisites>
> > <maven>2.0.4</maven>
> > </prerequisites>
> >
> > <scm>
> > <connection> scm:cvs:pserver:[EMAIL PROTECTED]
> > :/tmp/scm-repo:module</connection>
> > <developerConnection>scm:cvs:ext:[EMAIL PROTECTED]
> > :/tmp/scm-repo:module</developerConnection>
> > <url> http://localhost/viewcvs.cgi/module</url>
> > </scm>
> > ...>
> > at junit.framework.Assert.assertEquals(Assert.java:81)
> > at
> >
>
org.apache.maven.plugins.release.phase.AbstractReleaseTestCase.compareFiles(
> >
> > AbstractReleaseTestCase.java:236)
> > at
> >
>
org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTest.testRewriteBasicPomWithCvs
> >
> > (RewritePomsForDevelopmentPhaseTest.java :231)
> >
> > testRewriteBasicPomWithCvsFromTag(
> >
>
org.apache.maven.plugins.release.phase.RewritePomsForDevelopmentPhaseTest
> )
> > Time elapsed: 0.109 sec <<< FAILURE!
> > junit.framework.ComparisonFailure : Check the transformed POM
> > expected:<...?xml version="1.0" encoding="UTF-8"?>
> >
> >
> > On 5/9/06, Mike Perham <[EMAIL PROTECTED] > wrote:
> >>
> >> Why would you complain about an error but NOT attach the error
> itself?
> >>
> >> I get this error when I try to run the release tests:
> >>
> >> [INFO] Failed to resolve artifact.
> >>
> >> Missing:
> >> ----------
> >> 1) org.apache.maven.surefire:surefire-junit:jar:2.0-SNAPSHOT
> >>
> >> Try downloading the file manually from the project website.
> >>
> >> Then, install it using the command:
> >> mvn install:install-file -DgroupId=org.apache.maven.surefire
> >> -DartifactId=surefire-junit \
> >> -Dversion=2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >>
> >> Path to dependency:
> >> 1) dummy:dummy:jar:1.0
> >> 2) org.apache.maven.surefire:surefire-junit:jar:2.0-SNAPSHOT
> >>
> >> ----------
> >> 1 required artifact is missing.
> >>
> >> for artifact:
> >> dummy:dummy:jar:1.0
> >>
> >> from the specified remote repositories:
> >> central (http://repo1.maven.org/maven2 )
> >>
> >> -----Original Message-----
> >> From: dan tran [mailto:[EMAIL PROTECTED]
> >> Sent: Tuesday, May 09, 2006 10:47 AM
> >> To: [email protected]
> >> Subject: Problem build latest releasd plugin
> >>
> >> I am having test failures in latest release plugin, does any one
> >> encounter this?
> >> or it is just me!!
> >>
> >> -Dan
> >>
> >>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>