Tried building our project (uima) - that works, but the deploy (snapshot)
deploys a broken file.

The file under <version>-SNAPSHOT/maven-metadata.xml can't be read using
http://repository.apache.org/snapshots/org/apache/uima/parent-pom-docbook/4-SNAPSHOT/maven-metadata.xml.
 
A build referring to this gets:

[DEBUG] Could not find metadata
org.apache.uima:parent-pom-docbook:4-SNAPSHOT/maven-metadata.xml
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for
http://repository.apache.org/snapshots
Downloading:
http://repository.apache.org/snapshots/org/apache/uima/parent-pom-docbook/4-SNAPSHOT/maven-metadata.xml
[DEBUG] Reading resolution tracking file
/home/schor/.m2/repository/org/apache/uima/parent-pom-docbook/4-SNAPSHOT/resolver-status.properties
[DEBUG] Writing resolution tracking file
/home/schor/.m2/repository/org/apache/uima/parent-pom-docbook/4-SNAPSHOT/resolver-status.properties
[DEBUG] Could not find metadata
org.apache.uima:parent-pom-docbook:4-SNAPSHOT/maven-metadata.xml in
apache.snapshots (http://repository.apache.org/snapshots)

If you try that URL in a browser, it returns some message saying the file isn't
there.

(However, if you try the alternative way to get a file in Nexus: going to the 
url:
http://repository.apache.org , and then clicking on the "snapshot" repositories,
and then navigating to org/apache/uima/parent-pom-docbook/4-SNAPSHOT, you can
right click the maven-metadata.xml file and the repository browser pops up a
"download" button, which does work.)


A workaround is to use mvn 3.0-beta-1 - it doesn't exhibit this problem, and the
deploy to the snapshot works fine; browsing to maven-metadata.xml shows the file
in the browser.

I compared the two files in my local .m2 repos which I'm guessing are the
"local" copies that are copied up to the server: these are named in the local
repo: maven-metadata-apache.snapshots.https.xml

The files differ: the RC3 version's top XML element is:
<metadata modelVersion="1.1.0">

The 3.0-beta-1's top element is:
<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0
http://maven.apache.org/xsd/metadata-1.0.0.xsd";
xmlns="http://maven.apache.org/METADATA/1.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

So - it looks like RC3 is missing the namespaces declarations?  (I think this is
also true for RC2).

-Marshall Schor


On 9/26/2010 12:24 PM, Benjamin Bentmann wrote:
> Hi,
>
> in preparation for the release of Apache Maven 3.0, the Maven team is seeking
> your help to discover regressions since Maven 2.x. Everybody interested in
> taking a preview of the upcoming release for a test drive can get source and
> binary bundles from this URL:
>
> https://repository.apache.org/content/repositories/maven-014/org/apache/maven/apache-maven/3.0-RC3/
>
>
> Before reporting any issues found during testing, please be sure to have a
> close look at the compatibility notes for Maven 3.x:
>
> https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes
>
> If you encounter unexpected build issues, please fill a report in JIRA that
> provides sufficient information to reproduce and analyze the issue:
>
> http://jira.codehaus.org/browse/MNG
>
> The fixes contained in this release candidate since the 3.0-beta-3 release and
> the previous release candidates can be seen in JIRA:
>
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=13142
>
> Thanks,
>
>
> -The Maven team
>
> ---------------------------------------------------------------------
> 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]

Reply via email to