cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: svn commit: r472413 - /cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml
Date Wed, 08 Nov 2006 08:57:01 GMT
giacomo@apache.org 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.


Mime
View raw message