[gradle] 04/05: Removed maven_testng.diff (no longer used)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 3 10:49:38 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository gradle.

commit ae8f384e64e2182031d803d2decafd7fd2789bc7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Mar 2 15:08:19 2016 +0100

    Removed maven_testng.diff (no longer used)
---
 debian/patches/maven_testng.diff | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/debian/patches/maven_testng.diff b/debian/patches/maven_testng.diff
deleted file mode 100644
index de619e8..0000000
--- a/debian/patches/maven_testng.diff
+++ /dev/null
@@ -1,31 +0,0 @@
-Description: Maven module uses a deprecated API from testng.
-Author: Kai-Chung Yan <seamlikok at gmail.com>
-Last-Update: 2015-07-09
---- a/subprojects/maven/src/main/groovy/org/gradle/api/publication/maven/internal/pom/ProjectDependencyArtifactIdExtractorHack.java
-+++ b/subprojects/maven/src/main/groovy/org/gradle/api/publication/maven/internal/pom/ProjectDependencyArtifactIdExtractorHack.java
-@@ -26,7 +26,6 @@
- import org.gradle.api.artifacts.repositories.ArtifactRepository;
- import org.gradle.api.plugins.BasePluginConvention;
- import org.gradle.api.tasks.Upload;
--import org.testng.internal.annotations.Sets;
- 
- import java.util.Collection;
- import java.util.Set;
-@@ -35,7 +34,7 @@
-  * Given a project dependency, determines the artifact ID that the depended-on project
-  * can be referred to from a Maven POM. Falls back to project.name if the artifact ID
-  * used for publishing the depended-on project cannot be determined with certainty.
-- * 
-+ *
-  * The main goal of this class is to fix GRADLE-443 without changing any other existing
-  * behavior (e.g. when a project that gets published to a Maven repo depends on a
-  * project published to an Ivy repo).
-@@ -96,7 +95,7 @@
-     }
- 
-     private Set<String> getArtifactIds(Collection<MavenDeployer> deployers) {
--        Set<String> result = Sets.newHashSet();
-+        Set<String> result = new java.util.HashSet<String>();
-         for (MavenDeployer deployer : deployers) {
-             result.add(deployer.getPom().getArtifactId());
-         }

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



More information about the pkg-java-commits mailing list