${pom.artifactId} in the Manifest is verified to work.
Lars
Am 08.11.2006 um 09:57 schrieb Leszek Gawron:
[EMAIL PROTECTED] wrote:
Author: giacomo
Date: Tue Nov 7 23:50:28 2006
New Revision: 472413
URL: http://svn.apache.org/viewvc?view=rev&rev=472413
Log:
added MANIFEST entry for Cocoon Blocks
Modified:
cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/
main/resources/archetype-resources/pom.xml
Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/
src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/
cocoon-22-archetype-block/src/main/resources/archetype-resources/
pom.xml?view=diff&rev=472413&r1=472412&r2=472413
=====================================================================
=========
--- cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/
main/resources/archetype-resources/pom.xml (original)
+++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/
main/resources/archetype-resources/pom.xml Tue Nov 7 23:50:28 2006
@@ -62,6 +62,18 @@
<contextPath>/</contextPath>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Cocoon-Block-Name>${pom.artifactId}</Cocoon-Block-
Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
Will that work? I know this does not:
<webAppSourceDirectory>target/${artifactId}-${version}</
webAppSourceDirectory>
${artifactId}, ${version} are processed during archetype creation and
all you get are static strings.
--
Leszek Gawron CTO at MobileBox Ltd.
--
Lars Trieloff
visit http://www.mindquarry.com/