[animal-sniffer] Add jtidy depmap until this is fixed in jtidy

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Sep 30 10:57:57 UTC 2010


commit 2d23d6dcacbf2ed0462f3c2ad93c6ed971d277f6
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Sep 30 12:57:48 2010 +0200

    Add jtidy depmap until this is fixed in jtidy

 animal-sniffer-depmap.xml |   16 ++++++++++++++++
 animal-sniffer.spec       |    3 +++
 2 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/animal-sniffer-depmap.xml b/animal-sniffer-depmap.xml
new file mode 100644
index 0000000..a166e83
--- /dev/null
+++ b/animal-sniffer-depmap.xml
@@ -0,0 +1,16 @@
+<dependencies>
+	<dependency>
+	  <maven>
+		<groupId>net.sf.jtidy</groupId>
+		<artifactId>jtidy</artifactId>
+		<version>938</version>
+	  </maven>
+	  <jpp>
+		<groupId>JPP</groupId>
+		<artifactId>jtidy</artifactId>
+		<version>938</version>
+	  </jpp>
+	</dependency>
+
+</dependencies>
+
diff --git a/animal-sniffer.spec b/animal-sniffer.spec
index 734fe11..a29edd9 100644
--- a/animal-sniffer.spec
+++ b/animal-sniffer.spec
@@ -12,6 +12,7 @@ URL:            http://mojo.codehaus.org/animal-sniffer/
 # tar caf animal-sniffer-1.6.tar.xz animal-sniffer-1.6
 Source0:        %{name}-%{version}.tar.xz
 Source1:        %{name}.sh
+Source2:        %{name}-depmap.xml
 
 Patch0:         0001-add-asm-dependency-to-maven-plugin.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -64,6 +65,7 @@ export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
 mkdir -p $MAVEN_REPO_LOCAL
 mvn-jpp \
   -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
+  -Dmaven2.jpp.depmap.file=%{SOURCE2} \
   install javadoc:aggregate
 
 
@@ -141,6 +143,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Fri Sep 17 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.6-3
 - Add asm-all dependency to maven plugin
+- Add jtidy depmap
 
 * Fri Sep 17 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.6-2
 - Un-comment mojo-parent BR forgotten from testing


More information about the scm-commits mailing list