[maven-help-plugin] Install license files
by Mikolaj Izdebski
commit ea1a3f686695ed26f98c5d54060082fde4a438d5
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Jan 7 12:24:16 2013 +0100
Install license files
maven-help-plugin.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/maven-help-plugin.spec b/maven-help-plugin.spec
index 0d4d6ed..9864cf2 100644
--- a/maven-help-plugin.spec
+++ b/maven-help-plugin.spec
@@ -110,17 +110,20 @@ install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%files
+%doc LICENSE NOTICE
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
+%doc LICENSE NOTICE
%{_javadocdir}/%{name}
%changelog
* Mon Jan 7 2013 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 2.1.1-8
+- Install license files, resolves: rhbz#879368
- Fix HelpMojo.java package declaration
-- Add patch maven-plugin-tools-3.x compatibility
+- Add patch for compatibility with maven-plugin-tools-3.x
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
11 years, 3 months
[maven-help-plugin] Add patch maven-plugin-tools-3 compatibility
by Mikolaj Izdebski
commit 9cbbd3a86395ca138ee9a583c1a691f11476c776
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Jan 7 12:22:41 2013 +0100
Add patch maven-plugin-tools-3 compatibility
In newer versions of maven-plugin-tools the PluginUtils.toText()
static method was moved to GeneratorUtils class.
maven-help-plugin.spec | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/maven-help-plugin.spec b/maven-help-plugin.spec
index 683190f..0d4d6ed 100644
--- a/maven-help-plugin.spec
+++ b/maven-help-plugin.spec
@@ -29,11 +29,13 @@ BuildRequires: maven-plugin-exec
BuildRequires: xstream
BuildRequires: jpackage-utils
BuildRequires: plexus-containers-component-metadata
+BuildRequires: maven-plugin-tools-generators
Requires: ant
Requires: maven
Requires: jpackage-utils
Requires: java
Requires: xstream
+Requires: maven-plugin-tools-generators
Obsoletes: maven2-plugin-help < 0:%{version}-%{release}
Provides: maven2-plugin-help = 0:%{version}-%{release}
@@ -60,6 +62,12 @@ API documentation for %{name}.
%patch1
%patch2 -p1
+# In newer versions of maven-plugin-tools the PluginUtils.toText()
+# static method was moved to GeneratorUtils class.
+%pom_add_dep org.apache.maven.plugin-tools:maven-plugin-tools-generators
+sed -i "s|PluginUtils.toText|org.apache.maven.tools.plugin.generator.GeneratorUtils.toText|" \
+ src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
+
# Generated HelpMojo.java is missing package declaration. Use exec
# plugin to inject package declaration during process-sources phase.
%pom_add_plugin org.codehaus.mojo:exec-maven-plugin . "
@@ -112,6 +120,7 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%changelog
* Mon Jan 7 2013 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 2.1.1-8
- Fix HelpMojo.java package declaration
+- Add patch maven-plugin-tools-3.x compatibility
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
11 years, 3 months
[maven-help-plugin] Fix HelpMojo.java package declaration
by Mikolaj Izdebski
commit d3c9f4a0a024b17038fa2c19f27049ab8f50431b
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Jan 7 11:08:03 2013 +0100
Fix HelpMojo.java package declaration
See comment #2 in rhbz#879368, problem nr 1.
maven-help-plugin.spec | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/maven-help-plugin.spec b/maven-help-plugin.spec
index c5a9df2..683190f 100644
--- a/maven-help-plugin.spec
+++ b/maven-help-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-help-plugin
Version: 2.1.1
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Plugin to to get relative information about a project or the system
Group: Development/Libraries
@@ -25,6 +25,7 @@ BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-plugin-testing-harness
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-plugin-exec
BuildRequires: xstream
BuildRequires: jpackage-utils
BuildRequires: plexus-containers-component-metadata
@@ -59,6 +60,26 @@ API documentation for %{name}.
%patch1
%patch2 -p1
+# Generated HelpMojo.java is missing package declaration. Use exec
+# plugin to inject package declaration during process-sources phase.
+%pom_add_plugin org.codehaus.mojo:exec-maven-plugin . "
+ <executions>
+ <execution>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>sed</executable>
+ <arguments>
+ <argument>-i</argument>
+ <argument>1ipackage org.apache.maven.plugins.help;</argument>
+ <argument>target/generated-sources/plugin/org/apache/maven/plugins/help/HelpMojo.java</argument>
+ </arguments>
+ </configuration>"
+
%build
# no junit-addons, skip test
mvn-rpmbuild \
@@ -89,6 +110,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%{_javadocdir}/%{name}
%changelog
+* Mon Jan 7 2013 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 2.1.1-8
+- Fix HelpMojo.java package declaration
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
11 years, 3 months
[maven-assembly-plugin] Updated to latest upstream version.
by tradej@fedoraproject.org
commit df9d1971363c0faa1b80d0eee0f8c6ff882f2e3d
Author: Tomas Radej <tradej(a)redhat.com>
Date: Thu Dec 13 16:09:11 2012 +0100
Updated to latest upstream version.
- Fixed mail in changelog
.gitignore | 1 +
maven-assembly-plugin.spec | 8 ++++++--
sources | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 93e69f3..71dcc51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ maven-assembly-plugin-2.2-source-release.zip
maven-assembly-plugin-2.2.1-source-release.zip
maven-assembly-plugin-2.2.2-source-release.zip
/maven-assembly-plugin-2.3-source-release.zip
+/maven-assembly-plugin-2.4-source-release.zip
diff --git a/maven-assembly-plugin.spec b/maven-assembly-plugin.spec
index ea1fcba..99e933d 100644
--- a/maven-assembly-plugin.spec
+++ b/maven-assembly-plugin.spec
@@ -1,5 +1,5 @@
Name: maven-assembly-plugin
-Version: 2.3
+Version: 2.4
Release: 3%{?dist}
Summary: Maven Assembly Plugin
@@ -118,7 +118,11 @@ rm -rf target/site/api*
%{_javadocdir}/%{name}
%changelog
-* Thu Nov 22 2012 Jaromir Capik <tradej(a)redhat.com> - 2.3-3
+* Thu Dec 13 2012 Tomas Radej <tradej(a)redhat.com> - 2.4-1
+- Updated to latest upstream version.
+- Fixed mail in changelog
+
+* Thu Nov 22 2012 Jaromir Capik <jcapik(a)redhat.com> - 2.3-3
- Migration to plexus-containers-container-default
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.3-2
diff --git a/sources b/sources
index cde51ac..b613a46 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0451399f3330adc4cad54e3c9df95994 maven-assembly-plugin-2.3-source-release.zip
+09e5a61bb02ab56cbfbb881612a7f42f maven-assembly-plugin-2.4-source-release.zip
11 years, 3 months
[Bug 879571] New: maven-invoker-plugin: License files not installed
by Red Hat Bugzilla
Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=879571
Bug ID: 879571
Summary: maven-invoker-plugin: License files not installed
Product: Fedora
Version: 18
Component: maven-invoker-plugin
Severity: unspecified
Priority: unspecified
Reporter: mizdebsk(a)redhat.com
Description of problem:
maven-invoker-plugin is licensed under ASL 2.0. The license requires that
LICENSE and NOTICE files are included in each copy ow licensed work. Please
install both files (also with javadoc package).
Version-Release number of selected component (if applicable):
1.6-1
Additional info:
See licenseing guidelines
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 3 months
[Bug 879379] New: maven-idea-plugin: ASL 2.0 text not included
by Red Hat Bugzilla
Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=879379
Bug ID: 879379
Summary: maven-idea-plugin: ASL 2.0 text not included
Product: Fedora
Version: 18
Component: maven-idea-plugin
Severity: unspecified
Priority: unspecified
Reporter: mizdebsk(a)redhat.com
Description of problem:
ASL 2.0 text must be included in order to comply with upstream licensing terms
Version-Release number of selected component (if applicable):
2.2-8
Additional info:
See licensing guidelines
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 3 months