You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2006/03/13 13:16:49 UTC

svn commit: r385530 - /cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml

Author: bruno
Date: Mon Mar 13 04:16:47 2006
New Revision: 385530

URL: http://svn.apache.org/viewcvs?rev=385530&view=rev
Log:
Make sure template-instructions.xml is included in the jar

Modified:
    cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml

Modified: cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml?rev=385530&r1=385529&r2=385530&view=diff
==============================================================================
--- cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml (original)
+++ cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml Mon Mar 13 04:16:47 2006
@@ -37,4 +37,22 @@
       <version>2.2.0-SNAPSHOT</version>
     </dependency>
   </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+      <!-- Note: the file template-instructions.xml is not in the default resources directory as
+                 the sources of the template block are shared with Cocoon 2.1. Once this is no
+                 longer the case, this file can be moved into the resources dir again and this
+                 special configuration can be removed. -->
+      <resource>
+        <targetPath>org/apache/cocoon/template</targetPath>
+        <directory>src/main/java/org/apache/cocoon/template</directory>
+        <includes>
+          <include>template-instructions.xml</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
 </project>