You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by lg...@apache.org on 2006/08/17 16:41:14 UTC
svn commit: r432253 -
/cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml
Author: lgawron
Date: Thu Aug 17 07:41:14 2006
New Revision: 432253
URL: http://svn.apache.org/viewvc?rev=432253&view=rev
Log:
archetype should not define artifact finalName
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?rev=432253&r1=432252&r2=432253&view=diff
==============================================================================
--- 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 Thu Aug 17 07:41:14 2006
@@ -26,7 +26,9 @@
<version>1.0.0-SNAPSHOT</version>
<build>
- <finalName>${artifactId}</finalName>
+ <!-- with multimodule project setting finalName like this results in having 2 jars in cocoon/lib:
+ my-module.jar and my-module-1.0-SNAPSHOT.jar -->
+ <!-- finalName>${artifactId}</finalName -->
<plugins>
<plugin>
<groupId>org.apache.cocoon</groupId>
Re: svn commit: r432253 - /cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/pom.xml
Posted by Leszek Gawron <lg...@mobilebox.pl>.
lgawron@apache.org wrote:
> Author: lgawron
> Date: Thu Aug 17 07:41:14 2006
> New Revision: 432253
>
> URL: http://svn.apache.org/viewvc?rev=432253&view=rev
> Log:
> archetype should not define artifact finalName
>
> 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?rev=432253&r1=432252&r2=432253&view=diff
> ==============================================================================
> --- 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 Thu Aug 17 07:41:14 2006
> @@ -26,7 +26,9 @@
> <version>1.0.0-SNAPSHOT</version>
>
> <build>
> - <finalName>${artifactId}</finalName>
> + <!-- with multimodule project setting finalName like this results in having 2 jars in cocoon/lib:
> + my-module.jar and my-module-1.0-SNAPSHOT.jar -->
> + <!-- finalName>${artifactId}</finalName -->
> <plugins>
> <plugin>
> <groupId>org.apache.cocoon</groupId>
>
>
now I broke something: without finalName defined cocoon:deploy deploys
to target/artifactId-version while the jetty6:run goal is configured
with target/artifactId.
There are two ways to solve it:
change
<webAppSourceDirectory>target/${artifactId}</webAppSourceDirectory>
to something like:
<webAppSourceDirectory>target/$${artifactId}-$${version}</webAppSourceDirectory>
$$ sign does not work for escaping. Is there any way to escape the $
sign so the variables do not get resolved?
Or we could change cocoon deployer to deploy to target/artifactId no
matter what artifact jar full name is.
WDYT?
--
Leszek Gawron lgawron@mobilebox.pl
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65