Update of /var/cvs/applications/richtext
In directory james.mmbase.org:/tmp/cvs-serv3566

Modified Files:
        maven.xml 
Log Message:
arranged that i18n jars are shipped


See also: http://cvs.mmbase.org/viewcvs/applications/richtext


Index: maven.xml
===================================================================
RCS file: /var/cvs/applications/richtext/maven.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- maven.xml   13 Apr 2008 06:17:06 -0000      1.1
+++ maven.xml   7 Aug 2008 12:19:01 -0000       1.2
@@ -1,18 +1,31 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-This software is OSI Certified Open Source Software.
-OSI Certified is a certification mark of the Open Source Initiative.
-
-The license (Mozilla version 1.0) can be read at the MMBase site.
-See http://www.MMBase.org/license
--->
-<project xmlns:ant="jelly:ant">
+<?xml version="1.0" ?>
+<project xmlns:ant="jelly:ant"
+         xmlns:artifact="artifact"
+         >
 
-  <preGoal name="java:jar-resources">
-    <!-- Set the property html.dir that your Ant build uses to put the HTML 
into -->
-    <ant:property name="build.dir" value="target" />
-    <ant:ant dir="${basedir}" antfile="build.xml" target="kupu" />
+  <preGoal name="mmbase-module:webapp">
+    <attainGoal name="kupu" />
   </preGoal>
 
+  <goal name="kupu">
+
+    <ant:ant dir="${basedir}" antfile="build.xml" target="kupu">
+      <ant:property name="build.dir" value="target" />
+      <ant:property name="project.build.dir" location="target/richtext/lib" />
+    </ant:ant>
+
+    <artifact:install
+        artifact="${maven.build.dir}/richtext/lib/kupu-i18n.jar"
+        artifactIdOverride="kupu-i18n"
+        type="jar"
+        project="${pom}"/>
+    <artifact:install
+        artifact="${maven.build.dir}/richtext/lib/mmbase-kupu-i18n.jar"
+        artifactIdOverride="mmbase-kupu-i18n"
+        type="jar"
+        project="${pom}"/>
+
+  </goal>
+
 
 </project>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to