You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2008/09/16 21:33:52 UTC

[jira] Created: (SM-1580) Error reading the archetype.xml

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.


[jira] Resolved: (SM-1580) Error reading the archetype.xml

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SM-1580.
--------------------------------------

    Resolution: Fixed

Issue is solved using maven 2.0.9.

> 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.