[maven2/f14/master] Fix argument quoting for mvn scripts (Resolves rhbz#647945)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 8a259d5bc5638f7018ecc70b8dbf9cfd138d44a6
Author: Stanislav Ochotnicky <sochotnicky@xxxxxxxxxx>
Date:   Thu Nov 11 12:08:17 2010 +0100

    Fix argument quoting for mvn scripts (Resolves rhbz#647945)
    
    Remove old depmaps from -depmap.xml file

 maven2-2.2.1-depmap.xml |   21 ---------------------
 maven2-jpp-script       |    2 +-
 maven2-script           |    2 +-
 maven2.spec             |    6 +++++-
 4 files changed, 7 insertions(+), 24 deletions(-)
---
diff --git a/maven2-2.2.1-depmap.xml b/maven2-2.2.1-depmap.xml
index cb56d81..b0aff92 100644
--- a/maven2-2.2.1-depmap.xml
+++ b/maven2-2.2.1-depmap.xml
@@ -49,27 +49,6 @@
             <artifactId>xerces-j2</artifactId>
         </jpp>
     </dependency>
-    <dependency>
-        <maven>
-            <groupId>org.tmatesoft.svnkit</groupId>
-            <artifactId>svnkit</artifactId>
-        </maven>
-        <jpp>
-            <groupId>JPP</groupId>
-            <artifactId>svnkit</artifactId>
-        </jpp>
-    </dependency>
-
-    <dependency>
-        <maven>
-            <groupId>net.java.dev.jna</groupId>
-            <artifactId>jna</artifactId>
-        </maven>
-        <jpp>
-            <groupId>JPP</groupId>
-            <artifactId>jna</artifactId>
-        </jpp>
-    </dependency>
 
     <dependency>
         <maven>
diff --git a/maven2-jpp-script b/maven2-jpp-script
index cf222d5..1be34bf 100644
--- a/maven2-jpp-script
+++ b/maven2-jpp-script
@@ -7,4 +7,4 @@ fi
 
 export M2_HOME=/usr/share/maven2
 echo $JAVA_HOME
-export JAVA_HOME; $M2_HOME/bin/mvn -Dmaven2.jpp.mode $@
+export JAVA_HOME; $M2_HOME/bin/mvn -Dmaven2.jpp.mode "$@"
diff --git a/maven2-script b/maven2-script
index da9f6ba..d40aa46 100644
--- a/maven2-script
+++ b/maven2-script
@@ -7,4 +7,4 @@ fi
 
 export M2_HOME=/usr/share/maven2
 echo $JAVA_HOME
-export JAVA_HOME; $M2_HOME/bin/mvn $@
+export JAVA_HOME; $M2_HOME/bin/mvn "$@"
diff --git a/maven2.spec b/maven2.spec
index dce04d1..c2432d6 100644
--- a/maven2.spec
+++ b/maven2.spec
@@ -3,7 +3,7 @@
 
 Name:	    maven2
 Version:	2.2.1
-Release:	13%{?dist}
+Release:	14%{?dist}
 Summary:	Java project management and project comprehension tool
 
 Group:		Development/Build Tools
@@ -502,6 +502,10 @@ rm -rf $RPM_BUILD_ROOT
 %doc
 
 %changelog
+* Thu Nov 11 2010 Stanislav Ochotnicky <sochotnicky@xxxxxxxxxx> - 2.2.1-14
+- Remove old depmaps from -depmap.xml file
+- Fix argument quoting for mvn scripts (Resolves rhbz#647945)
+
 * Mon Sep 20 2010 Stanislav Ochotnicky <sochotnicky@xxxxxxxxxx> - 2.2.1-13
 - Create dangling symlinks during install (Resolves rhbz#613866)
 
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux