jira-importer commented on issue #149:
URL: 
https://github.com/apache/maven-install-plugin/issues/149#issuecomment-2771840956

   **[Daniel 
Takai](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=daniel.takai)**
 commented
   
   We're experiencing the same problem. We run
   
   * Archiva 1.2.1
   * CentOS release 5 (Final)
   * Java 1.6.0_02
   * Maven 2.2.1
   
   ```
   [INFO] Retrieving previous metadata from snapshots 
   [INFO] 
------------------------------------------------------------------------
   [ERROR] BUILD ERROR
   [INFO] 
------------------------------------------------------------------------
   [INFO] Error installing artifact's metadata: 
          Error installing metadata: 
          Error updating group repository metadata in epilog 
          non whitespace content is not allowed but got n 
          (position: END_TAG seen ...</metadata>\nn... @14:2) 
   [INFO] 
------------------------------------------------------------------------
   ```
   
   This problem occurs on a regular basis (daily) and causes problems with our 
builds since artifacts cannot be deployed and builds fail. The corrupt metadata 
needs to be repaired manually which is quite a lot of work. Quite nerve 
wrecking when you really need that build and Archiva goes booooom.
   
   An example for corrupt metadata look like this:
   
   ```xml
   <metadata>
     <groupId>com.some.group</groupId>
     <artifactId>html</artifactId>
     <versioning>
       <latest>0.1-SNAPSHOT</latest>
       <versions>
         <version>0.1-SNAPSHOT</version>
       </versions>
       <lastUpdated>20100202145220</lastUpdated>
     </versioning>
   </metadata>
   >html</artifactId>
     <versioning>
       <latest>0.1-SNAPSHOT</latest>
       <versions>
         <version>0.1-SNAPSHOT</version>
       </versions>
       <lastUpdated>20100202163215</lastUpdated>
     </versioning>
   </metadata>
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to