[pkg-java] r15667 - in trunk/maven-ant-helper: . debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Sun Jan 8 23:31:44 UTC 2012


Author: ludovicc-guest
Date: 2012-01-08 23:31:44 +0000 (Sun, 08 Jan 2012)
New Revision: 15667

Modified:
   trunk/maven-ant-helper/debian/changelog
   trunk/maven-ant-helper/maven-build.xml
Log:
Add target local-install-doc to maven-build.xml

Modified: trunk/maven-ant-helper/debian/changelog
===================================================================
--- trunk/maven-ant-helper/debian/changelog	2012-01-08 13:26:33 UTC (rev 15666)
+++ trunk/maven-ant-helper/debian/changelog	2012-01-08 23:31:44 UTC (rev 15667)
@@ -1,3 +1,9 @@
+maven-ant-helper (7.7) UNRELEASED; urgency=low
+
+  * Add target local-install-doc to maven-build.xml
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Sun, 08 Jan 2012 14:45:49 +0100
+
 maven-ant-helper (7.6) unstable; urgency=low
 
   * Better handling of install in local-repo during build (Closes: #652804).

Modified: trunk/maven-ant-helper/maven-build.xml
===================================================================
--- trunk/maven-ant-helper/maven-build.xml	2012-01-08 13:26:33 UTC (rev 15666)
+++ trunk/maven-ant-helper/maven-build.xml	2012-01-08 23:31:44 UTC (rev 15667)
@@ -480,4 +480,18 @@
             basedir="${javadoc.dir}" />
     </target>
 
+    <target name="local-install-doc" depends="javadoc-jar">
+        <mkdir dir="${debian.dir}/.mh/maven-repo/${groupPath}/${artifactId}/${debianVersion}" />
+        <c:if>
+          <or>
+            <equals arg1="${type}" arg2="jar" />
+            <equals arg1="${type}" arg2="bundle" />
+          </or>
+          <then>
+              <copy tofile="${debian.dir}/.mh/maven-repo/${groupPath}/${artifactId}/${debianVersion}/${artifactId}.javadoc.jar"
+                file="${build.directory}/${artifactId}.javadoc.jar"/>
+          </then>
+        </c:if>
+    </target>
+
 </project>




More information about the pkg-java-commits mailing list