[gradle-debian-helper] 02/02: Log the dependencies with a generic 'debian' version as passed through too

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 14 22:37:32 UTC 2015


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

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

commit a8c541a36904471c0d899306c28637c2b9d05554
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Oct 15 00:37:23 2015 +0200

    Log the dependencies with a generic 'debian' version as passed through too
---
 .../src/main/java/org/debian/gradle/MavenDebianArtifactRepository.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle-helper-plugin/src/main/java/org/debian/gradle/MavenDebianArtifactRepository.java b/gradle-helper-plugin/src/main/java/org/debian/gradle/MavenDebianArtifactRepository.java
index f6b9cac..de5de79 100644
--- a/gradle-helper-plugin/src/main/java/org/debian/gradle/MavenDebianArtifactRepository.java
+++ b/gradle-helper-plugin/src/main/java/org/debian/gradle/MavenDebianArtifactRepository.java
@@ -130,7 +130,7 @@ public class MavenDebianArtifactRepository extends AbstractArtifactRepository im
          * issue the '.x' generic versions are detected and passed through. Artifacts with no generic version are still
          * affected though, and their rules have to be added to debian/maven.rules.
          */
-        if (!dependency.getVersion().endsWith(".x")) {
+        if (!dependency.getVersion().endsWith(".x") && !dependency.getVersion().equals("debian")) {
             // apply the first rule that matches
             for (DependencyRule rule : rulesets.get(DependencyRuleSetFiles.RulesType.RULES).getRules()) {
                 if (rule.matches(dependency)) {

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



More information about the pkg-java-commits mailing list