[java-sig-commits] [maven] Bug 824789 - Use the version if it is possible.

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu May 24 13:20:54 UTC 2012


commit 544b33ba4e84421f9d3a9cd48d1066123217e8f4
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Thu May 24 14:41:57 2012 +0200

    Bug 824789 - Use the version if it is possible.

 0002-Use-custom-resolver.patch |    2 +-
 maven.spec                     |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/0002-Use-custom-resolver.patch b/0002-Use-custom-resolver.patch
index 0be399c..f147b04 100644
--- a/0002-Use-custom-resolver.patch
+++ b/0002-Use-custom-resolver.patch
@@ -62,7 +62,7 @@ index 8efc45c..df7d4e9 100644
          }
  
 -        return groupId + ":" + artifactId + ":" + version;
-+        if( System.getProperty("maven.local.mode") == null ) {
++        if( System.getProperty("maven.local.mode") == null || version != null) {
 +            return groupId + ":" + artifactId + ":" + version;
 +        } else {
 +            return versionlessKey(groupId, artifactId);
diff --git a/maven.spec b/maven.spec
index 2132fc4..92f2cc5 100644
--- a/maven.spec
+++ b/maven.spec
@@ -2,7 +2,7 @@
 
 Name:           maven
 Version:        3.0.4
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Java project management and project comprehension tool
 
 Group:          Development/Tools
@@ -359,6 +359,9 @@ ln -sf `rpm --eval '%%{_jnidir}'` %{_datadir}/%{name}/repository-jni/JPP
 
 
 %changelog
+* Thu May 24 2012 Krzysztof Daniel <kdaniel at redhat.com> 3.0.4-6
+- Bug 824789 -Use the version if it is possible.
+
 * Mon May 14 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3.0.4-5
 - Use Obsoletes instead of Conflicts
 


More information about the java-sig-commits mailing list