Hi,

I identified an issue with the Sonatype OPS4J Maven repository (it seems related to an update of Nexus there). When a feature is not found on the repository, instead of returning 404, it returns a HTML page saying 404.

If you remove the ops4j repository from etc/org.ops4j.pax.url.mvn.cfg, it should work.

Regards
JB

On 06/20/2014 03:45 AM, Sana wrote:
Hi,

I am trying to add a feature repository using mvn handler. My features.xml
file is right inside src/main/resources.

I have used build-helper-maven-plugin to attach features.xml while
installing the pom.xml. In my
.m2/repository/{group-id}/{artifact-id}/{version}/, I can see a
{artifact-id}-{version}-features.xml file created alongside the jar file.

When I try, features:addurl mvn
{group-id}/{artifact-id}/{version}/xml/features, I get the below error,

[Fatal Error] :6:3: The element type "hr" must be terminated by the matching
end-tag "</hr>".
Could not add Feature Repository:
org.xml.sax.SAXParseException: The element type "hr" must be terminated by
the matching end-tag "</hr>".
Please verify that the feature repository URL is correct and that your
network connection works fine.

Can someone please explain how does mvn handler works for features
repository?

Thanks!



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/feature-installer-does-not-work-with-mvn-tp5721001.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to