[Bug 783580] New: Update Request: snakeyaml 1.9
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Update Request: snakeyaml 1.9
https://bugzilla.redhat.com/show_bug.cgi?id=783580
Summary: Update Request: snakeyaml 1.9
Product: Fedora
Version: 16
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: snakeyaml
AssignedTo: jcapik(a)redhat.com
ReportedBy: mmorsi(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
jcapik(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Currently snakeyaml is at version 1.8 in Fedora and JRuby which depends on it
is at version 1.6.3.
A CVE (#770821) has been filed against JRuby which requires us to update to
version 1.6.5.1 which depends on the latest snakeyaml release 1.9
Could you update the version of snakeyaml in Fedora rawhide, f16, to version
1.9?
Here is the changelog and updated spec / srpm which I've built:
http://code.google.com/p/snakeyaml/wiki/changes
http://mo.morsi.org/files/rpms/snakeyaml-1.9-1.fc16.src.rpm
mo.morsi.org/files/rpms/snakeyaml.spec
Alternatively, I've requested committer rights for snakeyaml in the pkgdb. If
you would like to add me as a comaintainer, I can just push these updates
myself.
Thank you greatly
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 2 months
[args4j] More src encoding fixes.
by Ville Skyttä
commit ff8d9b2abafc31bf3d532d455c7b3906e3239dc1
Author: Ville Skyttä <ville.skytta(a)iki.fi>
Date: Wed Feb 1 00:31:39 2012 +0200
More src encoding fixes.
args4j-srcencoding.patch | 30 ++++++++++++++++++++++++++++++
args4j.spec | 6 +++---
2 files changed, 33 insertions(+), 3 deletions(-)
---
diff --git a/args4j-srcencoding.patch b/args4j-srcencoding.patch
index da4ba1e..e32244f 100644
--- a/args4j-srcencoding.patch
+++ b/args4j-srcencoding.patch
@@ -89,3 +89,33 @@ index d4fd9b6..eb51bb9 100644
*/
public class XmlParser {
public void parse(URL xml, CmdLineParser parser, Object bean) {
+diff -up args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java~ args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java
+--- args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java~ 2012-02-01 00:25:06.619059734 +0200
++++ args4j-2.0.16/args4j/src/org/kohsuke/args4j/XmlParser.java 2012-02-01 00:28:06.611756117 +0200
+@@ -95,7 +95,7 @@ public class XmlParser {
+
+ /**
+ * Implementation of @Option so we can instantiate it.
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ class OptionImpl extends AnnotationImpl implements Option {
+ protected OptionImpl(ConfigElement ce) throws ClassNotFoundException {
+@@ -111,7 +111,7 @@ public class XmlParser {
+
+ /**
+ * Implementation of @Argument so we can instantiate it.
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ class ArgumentImpl extends AnnotationImpl implements Argument {
+ protected ArgumentImpl(ConfigElement ce) throws ClassNotFoundException {
+@@ -122,7 +122,7 @@ public class XmlParser {
+
+ /**
+ * Base class for the @Option and @Argument implementation classes.
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ class AnnotationImpl {
+ protected AnnotationImpl(ConfigElement ce) throws ClassNotFoundException {
diff --git a/args4j.spec b/args4j.spec
index fb8f128..6c7f030 100644
--- a/args4j.spec
+++ b/args4j.spec
@@ -6,7 +6,7 @@ Name: args4j
%global site_name %{name}-site
Version: 2.0.16
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Small Java lib that makes it easy to parse command line options/args in CUI apps
License: MIT and BSD
Group: Development/Libraries
@@ -20,7 +20,7 @@ Source0: %{name}-%{version}.tar.xz
Patch0: %{name}-wagon-svn-removal.patch
Patch1: %{name}-ant-removal.patch
Patch2: %{name}-osgi.patch
-# https://github.com/kohsuke/args4j/commit/fc85e79
+# https://github.com/kohsuke/args4j/commit/fc85e79 + some additions
Patch3: %{name}-srcencoding.patch
BuildArch: noarch
@@ -114,7 +114,7 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/%{name}
%changelog
-* Tue Jan 31 2012 Ville Skyttä <ville.skytta(a)iki.fi> - 2.0.16-6
+* Tue Jan 31 2012 Ville Skyttä <ville.skytta(a)iki.fi> - 2.0.16-7
- Apply upstream source encoding patch to fix build with java 1.7.
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.0.16-5
12 years, 2 months
[args4j] Apply upstream source encoding patch to fix build with java 1.7.
by Ville Skyttä
commit ac4a12b4036b65bcf93c05fd7db5fb46dd842215
Author: Ville Skyttä <ville.skytta(a)iki.fi>
Date: Wed Feb 1 00:13:16 2012 +0200
Apply upstream source encoding patch to fix build with java 1.7.
args4j-srcencoding.patch | 91 ++++++++++++++++++++++++++++++++++++++++++++++
args4j.spec | 8 ++++-
2 files changed, 98 insertions(+), 1 deletions(-)
---
diff --git a/args4j-srcencoding.patch b/args4j-srcencoding.patch
new file mode 100644
index 0000000..da4ba1e
--- /dev/null
+++ b/args4j-srcencoding.patch
@@ -0,0 +1,91 @@
+diff --git a/args4j/src/org/kohsuke/args4j/ClassParser.java b/args4j/src/org/kohsuke/args4j/ClassParser.java
+index 1f25aa3..047415e 100644
+--- a/args4j/src/org/kohsuke/args4j/ClassParser.java
++++ b/args4j/src/org/kohsuke/args4j/ClassParser.java
+@@ -11,7 +11,7 @@
+ *
+ * This can be used to feed option bindings that span across multiple instances.
+ *
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ public class ClassParser {
+ public void parse(Object bean, CmdLineParser parser) {
+diff --git a/args4j/src/org/kohsuke/args4j/Config.java b/args4j/src/org/kohsuke/args4j/Config.java
+index bf594b6..0aa5888 100644
+--- a/args4j/src/org/kohsuke/args4j/Config.java
++++ b/args4j/src/org/kohsuke/args4j/Config.java
+@@ -17,7 +17,7 @@
+ * Metadataconfiguration.
+ * This class holds all metadata for a class, mainly a list of @Options and @Arguments.
+ *
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ public class Config {
+
+@@ -31,7 +31,7 @@
+ /**
+ * The ConfigElement is an <tt><option></tt> or <tt><argument></tt> tag
+ * in the xml configuration file.
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ public class ConfigElement {
+ public String field;
+@@ -54,7 +54,7 @@ public boolean isInvalid() {
+
+ /**
+ * SAX-Handler for reading the configuration file.
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ public class ConfigHandler extends DefaultHandler {
+ public ConfigHandler(Config config) {
+diff --git a/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties b/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties
+index ab51cee..8483207 100644
+--- a/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties
++++ b/args4j/src/org/kohsuke/args4j/Messages_de_DE.properties
+@@ -1,17 +1,25 @@
++# Unicode for Umlauts
++# Ae, ae \u00c4, \u00e4
++# Oe, oe \u00d6, \u00f6
++# Ue, ue \u00dc, \u00fc
++# ss \u00df
++
++
++
+ MISSING_OPERAND = \
+- Option "{0}" ben�tigt einen Operanden
++ Option "{0}" ben\u00f6tigt einen Operanden
+
+ UNDEFINED_OPTION = \
+- "{0}" ist keine g�ltige Option
++ "{0}" ist keine g\u00fcltige Option
+
+ NO_ARGUMENT_ALLOWED = \
+ Kein Argument erlaubt: {0}
+
+ REQUIRED_OPTION_MISSING = \
+- Option "{0}" wird ben�tigt
++ Option "{0}" wird ben\u00f6tigt
+
+ REQUIRED_ARGUMENT_MISSING = \
+- Argument "{0}" wird ben�tigt
++ Argument "{0}" wird ben\u00f6tigt
+
+ TOO_MANY_ARGUMENTS = \
+ Zu viele Argumente: {0}
+diff --git a/args4j/src/org/kohsuke/args4j/XmlParser.java b/args4j/src/org/kohsuke/args4j/XmlParser.java
+index d4fd9b6..eb51bb9 100644
+--- a/args4j/src/org/kohsuke/args4j/XmlParser.java
++++ b/args4j/src/org/kohsuke/args4j/XmlParser.java
+@@ -37,7 +37,7 @@
+ * <args>
+ * </pre>
+ *
+- * @author Jan Mat�rne
++ * @author Jan Materne
+ */
+ public class XmlParser {
+ public void parse(URL xml, CmdLineParser parser, Object bean) {
diff --git a/args4j.spec b/args4j.spec
index ccf4d18..fb8f128 100644
--- a/args4j.spec
+++ b/args4j.spec
@@ -6,7 +6,7 @@ Name: args4j
%global site_name %{name}-site
Version: 2.0.16
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Small Java lib that makes it easy to parse command line options/args in CUI apps
License: MIT and BSD
Group: Development/Libraries
@@ -20,6 +20,8 @@ Source0: %{name}-%{version}.tar.xz
Patch0: %{name}-wagon-svn-removal.patch
Patch1: %{name}-ant-removal.patch
Patch2: %{name}-osgi.patch
+# https://github.com/kohsuke/args4j/commit/fc85e79
+Patch3: %{name}-srcencoding.patch
BuildArch: noarch
@@ -59,6 +61,7 @@ This package contains the API documentation for %{name}.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
# removing classpath addition
sed -i 's/<addClasspath>true/<addClasspath>false/g' %{tools_name}/pom.xml
@@ -111,6 +114,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/%{name}
%changelog
+* Tue Jan 31 2012 Ville Skyttä <ville.skytta(a)iki.fi> - 2.0.16-6
+- Apply upstream source encoding patch to fix build with java 1.7.
+
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.0.16-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 2 months
[Bug 786041] New: Problem with activator
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Problem with activator
https://bugzilla.redhat.com/show_bug.cgi?id=786041
Summary: Problem with activator
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: urgent
Priority: unspecified
Component: felix-gogo-shell
AssignedTo: tradej(a)redhat.com
ReportedBy: akurtako(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
tradej(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
During eclipse installation I see the following in the log:
gogo: InterruptedException: sleep interrupted
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at org.apache.felix.gogo.shell.Activator.run(Activator.java:72)
at java.lang.Thread.run(Thread.java:722)
This might be stopping eclipse from reconciling properly.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 2 months
[Bug 757732] New: Provide a way to use versions to resolve artifacts
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Provide a way to use versions to resolve artifacts
https://bugzilla.redhat.com/show_bug.cgi?id=757732
Summary: Provide a way to use versions to resolve artifacts
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: maven
AssignedTo: sochotni(a)redhat.com
ReportedBy: sochotni(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Currently our resolver ignores versions completely and returns unversioned jar
all the time.
The change should make it possible to differentiate. So when package A requests
gid:aid:version but we don't have that same exact version installed it will
return unversioned jar as before.
If however, package B_v2 provides gid:aid:version requested by package A our
resolver should prefer jar from this rpm to default unversioned one.
This feature will probably require change to %add_maven_depmap macro as well
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 2 months
[maven] Add forgotten patch
by Stanislav Ochotnicky
commit dc239c72e50e64db585778055c0beaf82e9a9eae
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Tue Jan 31 16:13:08 2012 +0100
Add forgotten patch
0005-Use-generics-in-modello-generated-code.patch | 47 +++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/0005-Use-generics-in-modello-generated-code.patch b/0005-Use-generics-in-modello-generated-code.patch
new file mode 100644
index 0000000..a4d2c68
--- /dev/null
+++ b/0005-Use-generics-in-modello-generated-code.patch
@@ -0,0 +1,47 @@
+From 1c572bcc5083b79307ab0c0e4ee9ba15e334c7d3 Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
+Date: Tue, 31 Jan 2012 13:12:32 +0100
+Subject: [PATCH 5/5] Use generics in modello generated code
+
+---
+ maven-model/pom.xml | 2 ++
+ pom.xml | 3 +++
+ 2 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/maven-model/pom.xml b/maven-model/pom.xml
+index 63b2d23..951cd57 100644
+--- a/maven-model/pom.xml
++++ b/maven-model/pom.xml
+@@ -50,6 +50,7 @@ under the License.
+ <models>
+ <model>src/main/mdo/maven.mdo</model>
+ </models>
++ <useJava5>true</useJava5>
+ </configuration>
+ <executions>
+ <execution>
+@@ -97,6 +98,7 @@ under the License.
+ <configuration>
+ <version>3.0.0</version>
+ <packageWithVersion>true</packageWithVersion>
++ <useJava5>true</useJava5>
+ </configuration>
+ </execution>
+ </executions>
+diff --git a/pom.xml b/pom.xml
+index 8cba9cc..c55f33c 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -424,6 +424,9 @@
+ <groupId>org.codehaus.modello</groupId>
+ <artifactId>modello-maven-plugin</artifactId>
+ <version>${modelloVersion}</version>
++ <configuration>
++ <useJava5>true</useJava5>
++ </configuration>
+ <executions>
+ <execution>
+ <id>site-docs</id>
+--
+1.7.7.6
+
12 years, 2 months
[maven] Alphabetize BRs/Rs and add xmlunit to BRs
by Stanislav Ochotnicky
commit 341ded3b4d315eed59f911b9a67321c7869edfff
Author: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Date: Tue Jan 31 15:53:40 2012 +0100
Alphabetize BRs/Rs and add xmlunit to BRs
maven.spec | 54 ++++++++++++++++++++++++++++--------------------------
1 files changed, 28 insertions(+), 26 deletions(-)
---
diff --git a/maven.spec b/maven.spec
index ea408e4..83cdd22 100644
--- a/maven.spec
+++ b/maven.spec
@@ -40,59 +40,61 @@ Patch200: 0002-Use-custom-resolver.patch
Patch201: 0004-Fix-text-scope-skipping-with-maven.test.skip.patch
+BuildRequires: aether >= 1.13.1
+BuildRequires: animal-sniffer >= 1.6-5
+BuildRequires: apache-commons-parent
+BuildRequires: async-http-client
+BuildRequires: atinject
+BuildRequires: buildnumber-maven-plugin
+BuildRequires: google-guice >= 3.0
+BuildRequires: hamcrest
BuildRequires: maven
BuildRequires: maven2-common-poms
-BuildRequires: maven-parent
BuildRequires: maven-assembly-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-parent
BuildRequires: maven-resources-plugin
BuildRequires: maven-site-plugin
BuildRequires: maven-surefire-plugin
BuildRequires: maven-surefire-provider-junit4
-BuildRequires: buildnumber-maven-plugin
+BuildRequires: mojo-parent
BuildRequires: plexus-containers-component-metadata >= 1.5.5
BuildRequires: plexus-containers-container-default
-BuildRequires: animal-sniffer >= 1.6-5
-BuildRequires: mojo-parent
-BuildRequires: atinject
-BuildRequires: aether >= 1.13.1
-BuildRequires: async-http-client
-BuildRequires: sonatype-oss-parent
BuildRequires: sisu >= 2.1.1-2
-BuildRequires: google-guice >= 3.0
-BuildRequires: hamcrest
-BuildRequires: apache-commons-parent
+BuildRequires: sonatype-oss-parent
+BuildRequires: xmlunit
-Requires: java >= 1:1.6.0
-Requires: maven2-common-poms
-Requires: maven-parent
-Requires: plexus-classworlds >= 2.4
+Requires: aether >= 1.13.1
+Requires: animal-sniffer >= 1.6-5
Requires: apache-commons-cli
+Requires: apache-commons-parent
+Requires: async-http-client
+Requires: atinject
+Requires: google-guice >= 3.0
Requires: guava
Requires: hamcrest
+Requires: hamcrest
+Requires: java >= 1:1.6.0
+Requires: maven2-common-poms
+Requires: maven-parent
+Requires: maven-wagon
+Requires: mojo-parent
Requires: nekohtml
Requires: plexus-cipher
+Requires: plexus-classworlds >= 2.4
Requires: plexus-containers-component-annotations
Requires: plexus-containers-container-default
Requires: plexus-interpolation
Requires: plexus-sec-dispatcher
Requires: plexus-utils
+Requires: sisu >= 2.1.1-2
+Requires: sonatype-oss-parent
Requires: xbean
Requires: xerces-j2
-Requires: maven-wagon
-Requires: aether >= 1.13.1
-Requires: async-http-client
-Requires: sonatype-oss-parent
-Requires: sisu >= 2.1.1-2
-Requires: google-guice >= 3.0
-Requires: atinject
-Requires: animal-sniffer >= 1.6-5
-Requires: mojo-parent
-Requires: hamcrest
-Requires: apache-commons-parent
+
# for noarch->arch change
Obsoletes: %{name} < 0:3.0.3-11
12 years, 2 months