[maven-plugin-tools] 21/31: Fixed the indentation of debian/build.xml

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Mar 16 14:39:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-plugin-tools.

commit c315581f6ab0db75b4c64338b4382e15558658d9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Oct 19 16:57:41 2013 +0000

    Fixed the indentation of debian/build.xml
---
 debian/build.xml | 108 +++++++++++++++++++++++++++----------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

diff --git a/debian/build.xml b/debian/build.xml
index ce8d5b2..2427b6b 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -2,37 +2,37 @@
 
 <project name="pkg-java" default="package" basedir="..">
 
-    <property file="debian/build.properties"/>
-    <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
-    <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
-
-    <macrodef name="cleanmodule">
-	    <attribute name="dir"/>
-	    <sequential>
-		  <ant target="clean" antfile="${maven.build}" dir="@{dir}">
-            <property name="debian.dir" location="debian" />
-            <property name="project.dir" value="@{dir}" />
-          </ant> 
-	    </sequential>
-    </macrodef>
-
-    <macrodef name="packagemodule">
-	    <attribute name="dir"/>
-	    <sequential>
-		<ant target="package" antfile="${maven.build}" dir="@{dir}">
-          <property name="debian.dir" location="debian" />
-          <property name="project.dir" value="@{dir}" />
-		</ant>
-	    </sequential>
-    </macrodef>
-
-    <target name="clean">
-        <cleanmodule dir=""/>
-        <cleanmodule dir="maven-plugin-tools-api"/>
-        <cleanmodule dir="maven-plugin-tools-beanshell"/>
-        <cleanmodule dir="maven-plugin-tools-java"/>
-        <cleanmodule dir="maven-plugin-plugin"/>
-    </target>
+  <property file="debian/build.properties"/>
+  <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
+  <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+  <macrodef name="cleanmodule">
+    <attribute name="dir"/>
+    <sequential>
+      <ant target="clean" antfile="${maven.build}" dir="@{dir}">
+        <property name="debian.dir" location="debian" />
+        <property name="project.dir" value="@{dir}" />
+      </ant> 
+    </sequential>
+  </macrodef>
+
+  <macrodef name="packagemodule">
+    <attribute name="dir"/>
+    <sequential>
+      <ant target="package" antfile="${maven.build}" dir="@{dir}">
+        <property name="debian.dir" location="debian" />
+        <property name="project.dir" value="@{dir}" />
+      </ant>
+    </sequential>
+  </macrodef>
+
+  <target name="clean">
+    <cleanmodule dir=""/>
+    <cleanmodule dir="maven-plugin-tools-api"/>
+    <cleanmodule dir="maven-plugin-tools-beanshell"/>
+    <cleanmodule dir="maven-plugin-tools-java"/>
+    <cleanmodule dir="maven-plugin-plugin"/>
+  </target>
 
   <target name="generate-sources">
     <taskdef name="modello" classname="ModelloTask" classpath="/usr/share/java/maven-ant-helper.jar:/usr/share/java/modello-core.jar:/usr/share/java/modello-plugin-xml.jar:/usr/share/java/modello-plugin-xpp3.jar"/>
@@ -55,29 +55,29 @@
   </target>
 
   <macrodef name="package-and-local-deploy">
-      <attribute name="dir"/>
-      <attribute name="project.dir" default="@{dir}"/>
-      <attribute name="artifactId" default="@{dir}"/>
-      <attribute name="group" default="plugin-tools"/>
-      <sequential>
-		<ant target="package" antfile="${maven.build}" dir="@{dir}">
-          <property name="debian.dir" location="debian" />
-          <property name="project.dir" value="@{project.dir}" />
-          <property name="package" value="${package}" />
-          <property name="use-local-repo" value="true" />
-          <property name="keep-cleaned-pom" value="true" />
-		</ant>
-        <mkdir dir="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/${version}" />
-        <mkdir dir="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/debian" />
-        <copy file="@{dir}/pom.xml" 
-          tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/${version}/@{artifactId}-${version}.pom" />
-        <copy file="@{dir}/${build.directory}/@{artifactId}-${version}.jar" 
-          tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/${version}/@{artifactId}-${version}.jar" />
-        <copy file="@{dir}/pom.xml" 
-          tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/debian/@{artifactId}-debian.pom" />
-        <copy file="@{dir}/${build.directory}/@{artifactId}-${version}.jar" 
-          tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/debian/@{artifactId}-debian.jar" />
-      </sequential>
+    <attribute name="dir"/>
+    <attribute name="project.dir" default="@{dir}"/>
+    <attribute name="artifactId" default="@{dir}"/>
+    <attribute name="group" default="plugin-tools"/>
+    <sequential>
+       <ant target="package" antfile="${maven.build}" dir="@{dir}">
+        <property name="debian.dir" location="debian" />
+        <property name="project.dir" value="@{project.dir}" />
+        <property name="package" value="${package}" />
+        <property name="use-local-repo" value="true" />
+        <property name="keep-cleaned-pom" value="true" />
+      </ant>
+      <mkdir dir="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/${version}" />
+      <mkdir dir="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/debian" />
+      <copy file="@{dir}/pom.xml" 
+        tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/${version}/@{artifactId}-${version}.pom" />
+      <copy file="@{dir}/${build.directory}/@{artifactId}-${version}.jar" 
+        tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/${version}/@{artifactId}-${version}.jar" />
+      <copy file="@{dir}/pom.xml" 
+        tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/debian/@{artifactId}-debian.pom" />
+      <copy file="@{dir}/${build.directory}/@{artifactId}-${version}.jar" 
+        tofile="debian/tmp/maven-repo/org/apache/maven/@{group}/@{artifactId}/debian/@{artifactId}-debian.jar" />
+    </sequential>
   </macrodef>
 
   <target name="package" depends="generate-sources">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-plugin-tools.git



More information about the pkg-java-commits mailing list