[ 
https://issues.apache.org/jira/browse/KARAF-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031586#comment-13031586
 ] 

Jean-Baptiste Onofré commented on KARAF-629:
--------------------------------------------

It's the same issue that we had before. The problem is that a maven 3 build has 
uploaded the artifacts. So the metadata XML are maven3 and not compliant with 
maven 2.2.x.

So the workaround is to deploy/upload artifacts with maven 2.2.x to set the 
compliant metadata.

I launched a maven 2.2.x deploy goal right now.

> CommandArchetypeTest test case failure, expected START_TAG or END_TAG not 
> TEXT.
> -------------------------------------------------------------------------------
>
>                 Key: KARAF-629
>                 URL: https://issues.apache.org/jira/browse/KARAF-629
>             Project: Karaf
>          Issue Type: Bug
>         Environment: Apache Maven 2.2.1
>            Reporter: Jamie goodyear
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.1
>
>
> Error report from test build of 2.2.x branch:
> -------------------------------------------------------------------------------
> Test set: org.apache.karaf.archetypes.CommandArchetypeTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.039 sec <<< 
> FAILURE!
> testCommand(org.apache.karaf.archetypes.CommandArchetypeTest)  Time elapsed: 
> 7.007 sec  <<< ERROR!
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to read local 
> copy of metadata: Cannot read metadata from 
> '/Users/jamiegoodyear/.m2/repository/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/2.2.1-SNAPSHOT/maven-metadata-apache.snapshots.xml':
>  expected START_TAG or END_TAG not TEXT (position: TEXT seen 
> ...<extension>jar</... @13:25)
>   org.apache.karaf.jaas:org.apache.karaf.jaas.modules:jar:2.2.1-SNAPSHOT
> Path to dependency:
>         1) 
> org.apache.karaf.archetypes:archetypes-command:bundle:2.2.1-SNAPSHOT
>         2) 
> org.apache.karaf.shell:org.apache.karaf.shell.console:jar:2.2.1-SNAPSHOT
>         3) 
> org.apache.karaf.jaas:org.apache.karaf.jaas.modules:jar:2.2.1-SNAPSHOT
> ------
> The same error can be observed on hudson build 
> https://builds.apache.org/hudson/view/G-L/view/Karaf/job/Karaf-2.2.x/org.apache.karaf.archetypes$archetypes-itests/111/testReport/org.apache.karaf.archetypes/CommandArchetypeTest/testCommand/

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to