-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've checked it. The generated pom look as expected.

Ciao and thanks


Leszek Gawron wrote:
> [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.
> 

- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFUaG/LNdJvZjjVZARAlkkAJ4lcyfCsz7dkv7q03Wv1BOcMM5sxgCfbbb4
zt7o8twrkdj9DM2rng7qCUU=
=38ow
-----END PGP SIGNATURE-----

Reply via email to