You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Benjamin Francisoud (JIRA)" <ji...@apache.org> on 2008/09/19 18:08:44 UTC

[jira] Created: (RAMPART-195) Maven metadata are invalid in official repo preventing the use of rampart in offline mode

Maven metadata are invalid in official repo preventing the use of rampart in offline mode
-----------------------------------------------------------------------------------------

                 Key: RAMPART-195
                 URL: https://issues.apache.org/jira/browse/RAMPART-195
             Project: Rampart
          Issue Type: Bug
          Components: distribution
    Affects Versions: 1.3
            Reporter: Benjamin Francisoud
            Assignee: Ruchith Udayanga Fernando
             Fix For: 1.3


This pom file http://repo1.maven.org/maven2/org/apache/rampart/rampart/1.3/rampart-1.3.pom
in the 1.3 directory declares a version equals to 1.3-SNAPSHOT :(

Maven crash because of the "SNAPSHOT" when using the offline mode on my project.

{noformat}
$ mvn -o clean install
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building [Frontal][C-Interops-A] Builder
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\development\sqli\agora\TO1663\trunk\Frontal-C-Interops-A-Builder\target
[INFO] [site:attach-descriptor]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.rampart
ArtifactId: rampart-project
Version: 1.3-SNAPSHOT

Reason: System is offline.

  org.apache.rampart:rampart-project:pom:1.3-SNAPSHOT



NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Fri Sep 19 18:02:56 CEST 2008
[INFO] Final Memory: 13M/23M
[INFO] ------------------------------------------------------------------------
{noformat}

This is a known bug of maven: http://jira.codehaus.org/browse/MNG-2433

But this rampart metadata file is invalid, it should be 
<version>1.3</version>

Modifing it localy fixes the problem.

cheers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.