Hi

Have checked whether the feature file is a valid xml file?

Best regards
Krzysztof

On 20.06.2014 03:45, 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.


-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: [email protected] <mailto:[email protected]> |
Twitter: @KSobkowiak
Calendar: goo.gl/yvsebC

Reply via email to