Error reading the archetype.xml
-------------------------------
Key: SM-1580
URL: https://issues.apache.org/activemq/browse/SM-1580
Project: ServiceMix
Issue Type: Bug
Components: archetypes
Affects Versions: 3.2.2
Environment: Linux 2.6.25, Maven 2.0.4, JDK Sun 1.6.0, ServiceMix 3.2.2
Reporter: Jean-Baptiste Onofré
To create a new SU, I use :
mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-service-unit -DgroupId=net.nanthrax.servicemix
-DartifactId=http-consumer-su
I have the following Build Error :
[INFO] Error creating from archetype
Embedded error: Error reading the META-INF/archetype.xml descriptor.
The META-INF/archetype.xml descriptor cannot be found.
I have test on SA maven create and the behavior is the same.
Analyzing my m2 local repository, I have seen that, in the
servicemix-service-unit-3.2.2.jar and servicemix-service-assembly-3.2.2.jar,
the archetype.xml file is located in META-INF/maven/archetype.xml. I have
exploded the repackaged the jar files, putting the archetype.xml directly in
the META-INF directory.
With this change, the build is OK (it's a workaround).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.