Hi,

I'm having some problems creating a new block.

I'm using maven 2.0.9 whit the next commandline

mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org

After y select option 2, and the pom generated is:

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>

 <modelVersion>4.0.0</modelVersion>
 <packaging>jar</packaging>

 <parent>
   <groupId>com.integromics</groupId>
   <artifactId>[parent-archetype-id]</artifactId>
   <version>[parent-version]</version>
 </parent>
 <name>flowexamp</name>
 <groupId>com.integromics</groupId>
 <artifactId>flowexamp</artifactId>
 <version>1.0-SNAPSHOT</version>

 <dependencies>
   <dependency>
     <groupId>org.apache.cocoon</groupId>
     <artifactId>cocoon-core</artifactId>
   </dependency>
   <dependency>
     <groupId>org.apache.cocoon</groupId>
     <artifactId>cocoon-servlet-service-components</artifactId>
   </dependency>
   <dependency>
     <groupId>org.apache.cocoon</groupId>
     <artifactId>cocoon-template-impl</artifactId>
   </dependency>
   <dependency>
     <groupId>javax.servlet</groupId>
     <artifactId>servlet-api</artifactId>
     <scope>provided</scope>
   </dependency>

   <!--  Test dependencies -->
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <scope>test</scope>
   </dependency>
 </dependencies>

</project>

If you look the parent node is incorrect, and the version tag inside all dependecies is not generate.

Thanks all,
Jose Luis Carmona


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to