[Yanel-commits] rev 29513 - in public/yanel/contributions/resources/soap: . src/build src/java

michi at wyona.com michi at wyona.com
Tue Dec 4 09:08:42 CET 2007


Author: michi
Date: 2007-12-04 09:08:41 +0100 (Tue, 04 Dec 2007)
New Revision: 29513

Added:
   public/yanel/contributions/resources/soap/src/build/pom.xml
Removed:
   public/yanel/contributions/resources/soap/src/java/ch/
Modified:
   public/yanel/contributions/resources/soap/build.xml
   public/yanel/contributions/resources/soap/src/build/dependencies.xml
Log:
NAZ removed

Modified: public/yanel/contributions/resources/soap/build.xml
===================================================================
--- public/yanel/contributions/resources/soap/build.xml	2007-12-04 08:03:47 UTC (rev 29512)
+++ public/yanel/contributions/resources/soap/build.xml	2007-12-04 08:08:41 UTC (rev 29513)
@@ -34,6 +34,7 @@
     <jar destfile="${resource.lib.dir}/yanel-resource-${resource.name}-${resource.version}.jar"
       basedir="${resource.classes.dir}"
     />
+    <antcall target="install-jar"/>
   </target>
 
   <target name="clean" depends="init">
@@ -46,4 +47,23 @@
       <mapper type="flatten"/>
     </copy>
   </target>
+
+  <target name="install-jar" description="Place jar file for this resource into local maven repository" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+<!--
+  <target name="install-jar" description="Place jar file for this resource into local maven repository" depends="init, clean, compile" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+-->
+    <copy file="src/build/pom.xml" tofile="build/lib/pom.xml"/>
+
+    <replace file="build/lib/pom.xml" value="${resource.version}">
+      <replacetoken>@VERSION@</replacetoken>
+    </replace>
+    <replace file="build/lib/pom.xml" value="${resource.name}">
+      <replacetoken>@NAME@</replacetoken>
+    </replace>
+
+    <artifact:pom id="maven.project.core" file="build/lib/pom.xml"/>
+    <artifact:install file="build/lib/yanel-resource-${resource.name}-${resource.version}.jar">
+      <pom refid="maven.project.core"/>
+    </artifact:install>
+  </target>
 </project>

Modified: public/yanel/contributions/resources/soap/src/build/dependencies.xml
===================================================================
--- public/yanel/contributions/resources/soap/src/build/dependencies.xml	2007-12-04 08:03:47 UTC (rev 29512)
+++ public/yanel/contributions/resources/soap/src/build/dependencies.xml	2007-12-04 08:08:41 UTC (rev 29513)
@@ -10,7 +10,6 @@
       <dependency groupId="wyona-org-yanel" artifactId="yanel-core" version="${yanel.source.version}"/>
       <dependency groupId="xml-apis" artifactId="xml-apis" version="1.3.02"/>
       <dependency groupId="javax.servlet" artifactId="servlet-api" version="2.3" scope="provided"/>
-      <dependency groupId="naz-eld" artifactId="yanel-resource-naz-shared" version="0.0.1-dev-rXXX"/>
     </artifact:dependencies>
 
     <artifact:dependencies pathId="maven2.resource.classpath" filesetId="maven2.resource.fileset">

Added: public/yanel/contributions/resources/soap/src/build/pom.xml
===================================================================
--- public/yanel/contributions/resources/soap/src/build/pom.xml	                        (rev 0)
+++ public/yanel/contributions/resources/soap/src/build/pom.xml	2007-12-04 08:08:41 UTC (rev 29513)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>wyona-org-yanel</groupId>
+  <artifactId>yanel-resource- at NAME@</artifactId>
+  <version>@VERSION@</version>
+</project>



More information about the Yanel-commits mailing list