Hi,
i've created a new archetype: (the pom.xml)
*<groupId>com.company.maven.archetype</groupId>
<artifactId>Generic</artifactId>
<packaging>jar</packaging>
<version>0.0.1</version>
<name>Company Generic archetype</name>
<description>default archetype for company maven projects</description>
<parent>
<groupId>com.company.maven.pom</groupId>
<artifactId>Parent</artifactId>
<version>0.0.15</version>
</parent>
*
*deployed to it: http://ct-repo01:8081/artifactory/libs-releases-local*
*manually created the catalog file: ~/.m2/archetype-catalog.xml*
<?xml version="1.0" encoding="UTF-8"?>
<archetype-catalog>
<archetypes>
<archetype>
<groupId>com.company.maven.archetype</groupId>
<artifactId>Generic</artifactId>
<version>0.0.1</version>
<repository>http://ct-repo01:8081/artifactory/libs-releases-local
</repository>
<description>Generic Company ArcheType for Maven
Projects</description>
</archetype>
</archetypes>
</archetype-catalog>
when trying to use it from eclipse (using New->Project->Maven Project),and
picking from the default-local catalog the Generic archetype.
i get an error after writing the basic pom info:
*Failed to create project.
Unable to create project from archetype
[com.company.maven.archetype:Generic:0.0.1 ->
http://ct-repo01:8081/artifactory/libs-releases-local]
Failed to generate project from the old archetype**
*
--
Eyal Edri