cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Refondini <patrick.refond...@pobox.com>
Subject How to run block built with cocoon-22-archetype-block
Date Wed, 29 Nov 2006 00:31:49 GMT

Following doc:

http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html


I created a fresh block with:

mvn archetype:create -DarchetypeGroupId=org.apache.cocoon 
-DarchetypeArtifactId=cocoon-22-archetype-webapp 
-DarchetypeVersion=1.0.0-M4-SNAPSHOT -DgroupId=my.domain 
-DartifactId=testwebapp


Using installed local cocoon trunk at revision 480141 build with:

-Dmaven.war.shieldingclassloader=false

java version "1.5.0_06" on MacOSX 10.4.6
Maven version: 2.0.4

While trying either mvn package, mvn jetty:run, mvn jetty6:run
I always get the following error:

[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building testblock
[INFO]    task-segment: [package]
[INFO] 
----------------------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.cocoon:cocoon-deployer-plugin

Reason: Error getting POM for 'org.apache.cocoon:cocoon-deployer-plugin' 
from the repository: Unable to read local copy of metadata: Cannot read 
metadata from 
'/Users/patrick/.m2/repository/org/apache/cocoon/cocoon-deployer-plugin/1.0.0-M2-SNAPSHOT/maven-metadata-central.xml':

end tag name </head> must be the same as start tag <link> from line 17 
(position: TEXT seen .../planetmirror.com/themes/standard/pm.css\' 
type=\'text/css\'>\n</head>... @18:8)
   org.apache.cocoon:cocoon-deployer-plugin:pom:1.0.0-M2-SNAPSHOT


Any hint to work with block created from archetype ?

Patrick



Mime
View raw message