cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Luis Carmona <jlcarm...@integromics.com>
Subject Problems creating block
Date Fri, 20 Feb 2009 11:23:08 GMT
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-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message