Improve error message when pom does not match the artifact's location in the 
repo
---------------------------------------------------------------------------------

                 Key: MRM-811
                 URL: http://jira.codehaus.org/browse/MRM-811
             Project: Archiva
          Issue Type: Improvement
    Affects Versions: 1.1
            Reporter: Wendy Smoak
            Priority: Minor


When the information in the pom does not match the artifact's location in the 
repository, Archiva gives the generic

Error Occurred

    * Unable to find project model for [com.example:other:3.3.3].

The log file describes the actual problem.  This info should be displayed to 
the user.

2008-05-17 18:54:33,338 [btpool0-3] WARN  
org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer  - 
File other-3.3.3.pom has an invalid project model 
[groupId:commons-chain|artifactId:commons-chain|version:1.1|packaging:jar]: The 
model artifactId [commons-chain] does not match the artifactId portion of the 
filename: other
2008-05-17 18:54:33,382 [btpool0-3] WARN  
org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer  - 
Invalid or corrupt pom. Project model not added to database - 
commons-chain:commons-chain:1.1



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to