[maven] 08/09: Ensure the maven-ant-task doesn't attempt to download from the Internet
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Nov 19 19:05:17 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.
commit c053662080cb3a7b06e510563ce8851edc987797
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Nov 19 13:16:28 2015 +0100
Ensure the maven-ant-task doesn't attempt to download from the Internet
---
debian/changelog | 1 +
debian/patches/build-offline.patch | 25 ++++++++++++++++++++++++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index a3b7e8d..a45c665 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ maven (3.3.9-1) UNRELEASED; urgency=medium
- Depend on plexus-containers >= 1.6
- Ignore maven-enforcer-plugin
- Updated the Maven version in the rules of debian/maven.buildRules
+ * Ensure the maven-ant-task doesn't attempt to download from the Internet
-- Emmanuel Bourg <ebourg at apache.org> Thu, 19 Nov 2015 10:28:12 +0100
diff --git a/debian/patches/build-offline.patch b/debian/patches/build-offline.patch
index 1d98da8..6282cfc 100644
--- a/debian/patches/build-offline.patch
+++ b/debian/patches/build-offline.patch
@@ -3,7 +3,30 @@ Author: Emmanuel Bourg <ebourg at apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
-@@ -255,6 +255,7 @@
+@@ -109,6 +109,7 @@
+ <localRepository path="${maven.repo.local}" />
+ </artifact:pom>
+ <artifact:dependencies pathId="pom.pathid" filesetId="pom.fileset" useScope="compile">
++ <remoteRepository id="central" url="file:///usr/share/maven-repo"/>
+ <localRepository path="${maven.repo.local}" />
+ <pom refid="pom" />
+ </artifact:dependencies>
+@@ -116,12 +117,14 @@
+
+ <!-- Pull the dependencies for Modello -->
+ <artifact:dependencies pathId="modello.pathid" filesetId="modello.fileset">
++ <remoteRepository id="central" url="file:///usr/share/maven-repo"/>
+ <localRepository path="${maven.repo.local}" />
+ <dependency groupId="org.codehaus.modello" artifactId="modello-maven-plugin" version="${pom.properties.modelloVersion}" />
+ </artifact:dependencies>
+
+ <!-- Pull the dependencies for the MetadataGenerator CLI -->
+ <artifact:dependencies pathId="pmdg.pathid" filesetId="pmdg.fileset">
++ <remoteRepository id="central" url="file:///usr/share/maven-repo"/>
+ <localRepository path="${maven.repo.local}" />
+ <dependency groupId="org.codehaus.plexus" artifactId="plexus-component-metadata" version="${pom.properties.plexusVersion}" />
+ </artifact:dependencies>
+@@ -255,6 +258,7 @@
<!--jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/-->
<!--jvmarg value="${maven-compile.jvmargs}"/-->
<classpath refid="maven.classpath" />
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven.git
More information about the pkg-java-commits
mailing list