[maven] 02/04: Added a patch to run Maven in offline mode during the build
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jul 9 13:06:48 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 6c5e659eef426758d0260e28608ee3b81652a189
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jul 9 14:48:46 2015 +0200
Added a patch to run Maven in offline mode during the build
---
debian/changelog | 1 +
debian/patches/build-offline.patch | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7f0bd51..79733b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ maven (3.3.3-1) UNRELEASED; urgency=medium
* Moved the libraries to a separate libmaven3-core-java package
* Removed the unused dependencies on commons-codec, commons-httpclient
and commons-logging
+ * Added a patch to run Maven in offline mode during the build
* Updated maven-install-plugin version from 2.4 to 2.5.2
* Updated maven-dependency-plugin version from 2.4 to 2.7
* No longer build the apache-maven module
diff --git a/debian/patches/build-offline.patch b/debian/patches/build-offline.patch
new file mode 100644
index 0000000..1d98da8
--- /dev/null
+++ b/debian/patches/build-offline.patch
@@ -0,0 +1,13 @@
+Description: Run Maven in offline mode during the build
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -255,6 +255,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" />
++ <arg value="--offline" />
+ <arg value="${maven.debug}" />
+ <arg value="-B" />
+ <arg value="-V" />
diff --git a/debian/patches/series b/debian/patches/series
index c2212eb..1d170ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ plugins_version.diff
dep_versions.diff
add_dependencies.diff
modello-configuration.patch
+build-offline.patch
--
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