acd2e2f
Name:           maven-plugin-tools
1be8f39
Version:        3.3
bbad233
Release:        2%{?dist}
Jaromir Capik 4ab9ea4
Epoch:          0
acd2e2f
Summary:        Maven Plugin Tools
1e73313
License:        ASL 2.0
acd2e2f
URL:            http://maven.apache.org/plugin-tools/
9416e5d
BuildArch:      noarch
9416e5d
bbad233
Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugin-tools/%{name}/%{version}/%{name}-%{version}-source-release.zip
bbad233
bbad233
Patch0:         0001-Avoid-duplicate-MOJO-parameters.patch
bbad233
Stanislav Ochotnicky 7705668
BuildRequires:  maven-local
b153c8a
BuildRequires:  mvn(com.sun:tools)
4d666a1
BuildRequires:  mvn(com.thoughtworks.qdox:qdox)
4d666a1
BuildRequires:  mvn(net.sf.jtidy:jtidy)
4d666a1
BuildRequires:  mvn(org.apache.ant:ant)
4d666a1
BuildRequires:  mvn(org.apache.ant:ant-launcher)
4d666a1
BuildRequires:  mvn(org.apache.maven.doxia:doxia-sink-api)
4d666a1
BuildRequires:  mvn(org.apache.maven.doxia:doxia-site-renderer)
4d666a1
BuildRequires:  mvn(org.apache.maven:maven-artifact)
b153c8a
BuildRequires:  mvn(org.apache.maven:maven-compat)
4d666a1
BuildRequires:  mvn(org.apache.maven:maven-core)
4d666a1
BuildRequires:  mvn(org.apache.maven:maven-model)
1be8f39
BuildRequires:  mvn(org.apache.maven:maven-parent:pom:)
4d666a1
BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
4d666a1
BuildRequires:  mvn(org.apache.maven:maven-repository-metadata)
b153c8a
BuildRequires:  mvn(org.apache.maven.plugins:maven-enforcer-plugin)
b153c8a
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
b153c8a
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
b153c8a
BuildRequires:  mvn(org.apache.maven.reporting:maven-reporting-api)
b153c8a
BuildRequires:  mvn(org.apache.maven.reporting:maven-reporting-impl)
4d666a1
BuildRequires:  mvn(org.apache.velocity:velocity)
1be8f39
BuildRequires:  mvn(org.beanshell:bsh)
b153c8a
BuildRequires:  mvn(org.codehaus.modello:modello-maven-plugin)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-ant-factory)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-archiver)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-bsh-factory)
1be8f39
BuildRequires:  mvn(org.codehaus.plexus:plexus-compiler-manager)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-annotations)
b153c8a
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-metadata)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-container-default)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
4d666a1
BuildRequires:  mvn(org.codehaus.plexus:plexus-velocity)
1be8f39
BuildRequires:  mvn(org.ow2.asm:asm)
1be8f39
BuildRequires:  mvn(org.ow2.asm:asm-commons)
1be8f39
BuildRequires:  mvn(xmlunit:xmlunit)
acd2e2f
acd2e2f
%description
27d4107
The Maven Plugin Tools contains the necessary tools to be able to produce Maven
27d4107
Plugins in a variety of languages.
acd2e2f
9416e5d
%package -n maven-plugin-annotations
9416e5d
Summary:        Maven Plugin Java 5 Annotations
4389369
Obsoletes:      maven-plugin-annotations < 0:%{version}-%{release}
1e73313
9416e5d
%description -n maven-plugin-annotations
9416e5d
This package contains Java 5 annotations to use in Mojos.
9416e5d
9416e5d
%package -n maven-plugin-plugin
9416e5d
Summary:        Maven Plugin Plugin
9416e5d
Obsoletes:      maven2-plugin-plugin < 0:%{version}-%{release}
9416e5d
Provides:       maven2-plugin-plugin = 0:%{version}-%{release}
9416e5d
9416e5d
%description -n maven-plugin-plugin
9416e5d
The Plugin Plugin is used to create a Maven plugin descriptor for any Mojo's
9416e5d
found in the source tree, to include in the JAR. It is also used to generate
9416e5d
Xdoc files for the Mojos as well as for updating the plugin registry, the
9416e5d
artifact metadata and a generic help goal.
9416e5d
9416e5d
%package annotations
9416e5d
Summary:        Maven Plugin Tool for Annotations
9416e5d
9416e5d
%description annotations
9416e5d
This package provides Java 5 annotation tools for use with Apache Maven.
1e73313
1e73313
%package ant
9416e5d
Summary:        Maven Plugin Tool for Ant
9416e5d
Obsoletes:      maven-shared-plugin-tools-ant < 0:%{version}-%{release}
9416e5d
Provides:       maven-shared-plugin-tools-ant = 0:%{version}-%{release}
1e73313
1e73313
%description ant
1e73313
Descriptor extractor for plugins written in Ant.
1e73313
1e73313
%package api
9416e5d
Summary:        Maven Plugin Tools APIs
9416e5d
Obsoletes:      maven-shared-plugin-tools-api < 0:%{version}-%{release}
9416e5d
Provides:       maven-shared-plugin-tools-api = 0:%{version}-%{release}
1e73313
1e73313
%description api
Stanislav Ochotnicky 894c745
The Maven Plugin Tools API provides an API to extract information from
1e73313
and generate documentation for Maven Plugins.
1e73313
1e73313
%package beanshell
9416e5d
Summary:        Maven Plugin Tool for Beanshell
9416e5d
Obsoletes:      maven-shared-plugin-tools-beanshell < 0:%{version}-%{release}
9416e5d
Provides:       maven-shared-plugin-tools-beanshell = 0:%{version}-%{release}
1e73313
1e73313
%description beanshell
1e73313
Descriptor extractor for plugins written in Beanshell.
1e73313
9416e5d
%package generators
9416e5d
Summary:        Maven Plugin Tools Generators
9416e5d
9416e5d
%description generators
9416e5d
The Maven Plugin Tools Generators provides content generation
9416e5d
(documentation, help) from plugin descriptor.
9416e5d
1e73313
%package java
9416e5d
Summary:        Maven Plugin Tool for Java
9416e5d
Obsoletes:      maven-shared-plugin-tools-java < 0:%{version}-%{release}
9416e5d
Provides:       maven-shared-plugin-tools-java = 0:%{version}-%{release}
1e73313
1e73313
%description java
1e73313
Descriptor extractor for plugins written in Java.
1e73313
783ffbb
# Note that this package contains code, not documentation.
9416e5d
# See comments about "javadocs" subpackage below.
1e73313
%package javadoc
9416e5d
Summary:        Maven Plugin Tools Javadoc
acd2e2f
acd2e2f
%description javadoc
27d4107
The Maven Plugin Tools Javadoc provides several Javadoc taglets to be used when
27d4107
generating Javadoc.
1e73313
783ffbb
Java API documentation for %{name} is contained in
783ffbb
%{name}-javadocs package. This package does not contain it.
783ffbb
1e73313
%package model
9416e5d
Summary:        Maven Plugin Metadata Model
9416e5d
Obsoletes:      maven-shared-plugin-tools-model < 0:%{version}-%{release}
9416e5d
Provides:       maven-shared-plugin-tools-model = 0:%{version}-%{release}
1e73313
1e73313
%description model
27d4107
The Maven Plugin Metadata Model provides an API to play with the Metadata
27d4107
model.
1e73313
9416e5d
%package -n maven-script
9416e5d
Summary:        Maven Script Mojo Support
1e73313
9416e5d
%description -n maven-script
9416e5d
Maven Script Mojo Support lets developer write Maven plugins/goals
9416e5d
with scripting languages instead of compiled Java.
acd2e2f
9416e5d
%package -n maven-script-ant
9416e5d
Summary:        Maven Ant Mojo Support
acd2e2f
9416e5d
%description -n maven-script-ant
9416e5d
This package provides %{summary}, which write Maven plugins with
9416e5d
Ant scripts.
acd2e2f
9416e5d
%package -n maven-script-beanshell
9416e5d
Summary:        Maven Beanshell Mojo Support
acd2e2f
9416e5d
%description -n maven-script-beanshell
9416e5d
This package provides %{summary}, which write Maven plugins with
9416e5d
Beanshell scripts.
acd2e2f
9416e5d
# This "javadocs" package violates packaging guidelines as of Sep 6 2012. The
9416e5d
# subpackage name "javadocs" instead of "javadoc" is intentional. There was a
9416e5d
# consensus that current naming scheme should be kept, even if it doesn't
9416e5d
# conform to the guidelines.  mizdebsk, September 2012
9416e5d
%package javadocs
9416e5d
Summary:        Javadoc for %{name}
acd2e2f
9416e5d
%description javadocs
9416e5d
API documentation for %{name}.
acd2e2f
acd2e2f
9416e5d
%prep
9416e5d
%setup -q
bbad233
%patch0 -p1
e3eed4c
9416e5d
# For easier installation
9416e5d
ln -s maven-script/maven-script-{ant,beanshell} .
acd2e2f
7a4ba0a
# For com.sun:tools use scope "compile" instead of "system"
7a4ba0a
%pom_remove_dep com.sun:tools maven-plugin-tools-javadoc
7a4ba0a
%pom_add_dep com.sun:tools maven-plugin-tools-javadoc
7a4ba0a
9416e5d
%pom_xpath_inject "pom:project/pom:properties" "
9416e5d
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9416e5d
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
acd2e2f
92f332b
# Remove test dependencies because tests are skipped anyways.
b153c8a
%pom_xpath_remove "pom:dependency[pom:scope='test']"
ac04999
1be8f39
# Use Maven 3.1.1 APIs
1be8f39
%pom_remove_dep :maven-project maven-plugin-plugin
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-plugin-plugin
1be8f39
%pom_remove_dep :maven-plugin-registry maven-plugin-plugin
1be8f39
%pom_remove_dep :maven-artifact-manager maven-plugin-plugin
1be8f39
1be8f39
%pom_change_dep :maven-project :maven-core maven-plugin-tools-annotations
1be8f39
%pom_change_dep :maven-plugin-descriptor :maven-compat maven-plugin-tools-annotations
1be8f39
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-ant
1be8f39
%pom_change_dep :maven-project :maven-core maven-plugin-tools-ant
1be8f39
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-api
1be8f39
%pom_change_dep :maven-project :maven-core maven-plugin-tools-api
1be8f39
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-beanshell
1be8f39
1be8f39
%pom_remove_dep :maven-project maven-plugin-tools-generators
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-generators
1be8f39
1be8f39
%pom_change_dep :maven-project :maven-core maven-plugin-tools-java
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-java
1be8f39
1be8f39
%pom_change_dep :maven-plugin-descriptor :maven-plugin-api maven-plugin-tools-model
1be8f39
1be8f39
%pom_remove_dep :maven-project maven-script/maven-script-ant
1be8f39
%pom_remove_dep :maven-plugin-descriptor maven-script/maven-script-ant
1be8f39
1be8f39
%pom_remove_dep :maven-project
1be8f39
%pom_remove_dep :maven-plugin-descriptor
1be8f39
%pom_add_dep org.apache.maven:maven-compat
1be8f39
9416e5d
%build
4d666a1
%mvn_build -s -f
1e73313
9416e5d
%install
4d666a1
%mvn_install
4d666a1
4d666a1
4d666a1
%files -f .mfiles-maven-plugin-tools
4d666a1
%dir %{_javadir}/%{name}
9416e5d
%doc LICENSE NOTICE
4d666a1
4d666a1
%files -n maven-plugin-annotations -f .mfiles-maven-plugin-annotations
4d666a1
4d666a1
%files -n maven-plugin-plugin -f .mfiles-maven-plugin-plugin
4d666a1
4d666a1
%files annotations -f .mfiles-maven-plugin-tools-annotations
4d666a1
4d666a1
%files ant -f .mfiles-maven-plugin-tools-ant
4d666a1
4d666a1
%files api -f .mfiles-maven-plugin-tools-api
4d666a1
4d666a1
%files beanshell -f .mfiles-maven-plugin-tools-beanshell
4d666a1
4d666a1
%files generators -f .mfiles-maven-plugin-tools-generators
4d666a1
4d666a1
%files java -f .mfiles-maven-plugin-tools-java
4d666a1
4d666a1
%files javadoc -f .mfiles-maven-plugin-tools-javadoc
4d666a1
4d666a1
%files model -f .mfiles-maven-plugin-tools-model
4d666a1
4d666a1
%files -n maven-script -f .mfiles-maven-script
4d666a1
4d666a1
%files -n maven-script-ant -f .mfiles-maven-script-ant
4d666a1
4d666a1
%files -n maven-script-beanshell -f .mfiles-maven-script-beanshell
4d666a1
4d666a1
%files javadocs -f .mfiles-javadoc
b153c8a
%doc LICENSE NOTICE
9416e5d
acd2e2f
acd2e2f
%changelog
bbad233
* Mon Oct 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.3-2
bbad233
- Port to maven-reporting-impl 2.3
bbad233
1be8f39
* Thu Jun 19 2014 Michal Srb <msrb@redhat.com> - 0:3.3-1
1be8f39
- Update to upstream version 3.3
1be8f39
79f04fa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-20
79f04fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
79f04fa
Stanislav Ochotnicky 71bc74f
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:3.1-19
Stanislav Ochotnicky 71bc74f
- Use Requires: java-headless rebuild (#1067528)
Stanislav Ochotnicky 71bc74f
b153c8a
* Mon Jan 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-18
b153c8a
- Use Maven 3.x APIs
b153c8a
1e38690
* Fri Jan 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-17
1e38690
- Remove explicit requires
1e38690
- Resolves: rhbz#1051527
1e38690
92f332b
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-16
92f332b
- Disable test dependencies
92f332b
7a4ba0a
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-15
7a4ba0a
- Fix com.sun:tools dependency
7a4ba0a
4d666a1
* Thu Aug 29 2013 Michal Srb <msrb@redhat.com> - 0:3.1-14
4d666a1
- Adapt to current guidelines (Resolves: #960526)
4d666a1
3b60ae5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-13
3b60ae5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3b60ae5
7d299ef
* Tue May  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-12
7d299ef
- Disable resolution of test artifacts
7d299ef
ac04999
* Thu Apr 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-11
ac04999
- Remove test dependencies
ac04999
e3eed4c
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-10
e3eed4c
- Add patch for MPLUGIN-242
e3eed4c
- Resolves: rhbz#920042
e3eed4c
b395ebb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:3.1-9
b395ebb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b395ebb
Stanislav Ochotnicky 7705668
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:3.1-8
Stanislav Ochotnicky 7705668
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky 7705668
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky 7705668
cac7fa9
* Fri Dec 21 2012 Michal Srb <msrb@redhat.com> - 0:3.1-7
cac7fa9
- Migrated from maven-doxia to doxia subpackage (Resolves: #889147)
cac7fa9
9756509
* Wed Nov 14 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-6
9756509
- Skip running tests because they are failing
9756509
f5d86ed
* Tue Sep 11 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-5
f5d86ed
- Add missing requires
f5d86ed
ff92aa4
* Tue Sep 11 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-4
ff92aa4
- Rebuild without bootstrap
ff92aa4
4389369
* Tue Sep 11 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-3
4389369
- Add obsoletes for maven-plugin-annotations
4389369
cf2e9f9
* Mon Sep 10 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-2
cf2e9f9
- Bump release
cf2e9f9
9416e5d
* Fri Sep  7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.1-1
9416e5d
- Update to upstream version 3.1
9416e5d
- Bootstrap using prebuilt upstream binaries
9416e5d
8c98047
* Thu Sep  6 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7-7
8c98047
- Remove rpm bug workaround
8c98047
27d4107
* Tue Aug 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7-6
27d4107
- Wrap descriptions at column 80
27d4107
- Install LICENSE and NOTICE files
27d4107
daec50f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7-5
daec50f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
daec50f
9bbcbf4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7-4
9bbcbf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9bbcbf4
Jaromir Capik 9b0e1fb
* Wed Nov 16 2011 Jaromir Capik <jcapik@redhat.com> -  0:2.7-3
Jaromir Capik 9b0e1fb
- Missing com.sun.javadoc / com.sun.tools.doclet forced in the POM
Jaromir Capik 9b0e1fb
Jaromir Capik 4ab9ea4
* Tue Aug 16 2011 Jaromir Capik <jcapik@redhat.com> -  0:2.7-2
Jaromir Capik 6252a69
- Removal of plexus-maven-plugin (not needed)
Jaromir Capik 6252a69
- Migration to maven3
Jaromir Capik 6252a69
- Removal of unwanted file duplicates
Jaromir Capik 6252a69
- Minor spec file changes according to the latest guidelines
Jaromir Capik 6252a69
a916b49
* Sat Feb 12 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.7-1
a916b49
- Update to new upstream release.
a916b49
- Adapt to current guidelines.
a916b49
ea9d6ca
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.6-9
ea9d6ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ea9d6ca
Stanislav Ochotnicky db46329
* Thu Sep 30 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.6-8
Stanislav Ochotnicky db46329
- Remove jtidy depmap (not needed anymore)
Stanislav Ochotnicky db46329
Stanislav Ochotnicky 894c745
* Wed Sep 29 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.6-7
Stanislav Ochotnicky 894c745
- Add patch for new jtidy
Stanislav Ochotnicky 3edfeda
- Add jtidy depmap
Stanislav Ochotnicky 894c745
b09dce0
* Wed Sep 8 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.6-6
b09dce0
- BR maven-site-plugin.
b09dce0
- Use javadoc:aggregate for multimodule projects.
b09dce0
f3b2ed5
* Thu May 27 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.6-5
f3b2ed5
- Add missing requires.
f3b2ed5
- Drop modello patches not needed anymore.
f3b2ed5
4dc75d9
* Wed May 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.6-4
4dc75d9
- Fix plugin-tools-java obsoletes.
4dc75d9
6b01e44
* Tue May 18 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.6-3
6b01e44
- More BRs.
6b01e44
c70f951
* Tue May 18 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.6-2
c70f951
- Fix BRs.
c70f951
1e73313
* Tue May 18 2010 Alexander Kurtakov <akurtako@redhat.com> 2.6-0
1e73313
- Update to 2.6.
1e73313
- Separate modules as subpackages.
1e73313
d634d4d
* Mon Nov 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-6
d634d4d
- BR maven-plugin-tools.
d634d4d
acd2e2f
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-5
acd2e2f
- Set minimum version for plexus-utils BR.
acd2e2f
- BR java-devel.
acd2e2f
- Fix javadoc subpackage description.
acd2e2f
acd2e2f
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.1-4
acd2e2f
- Adapt for Fedora.
acd2e2f
acd2e2f
* Wed May 20 2009 Fernando Nasser <fnasser@redhat.com> - 0:2.1-3
acd2e2f
- Fix license
acd2e2f
- Fix URL
acd2e2f
acd2e2f
* Mon Apr 27 2009 Yong Yang <yyang@redhat.com> - 0:2.1-2
acd2e2f
- Add BRs for maven-doxia*
acd2e2f
- Rebuild with maven2-2.0.8 built in non-bootstrap mode
acd2e2f
acd2e2f
* Mon Mar 09 2009 Yong Yang <yyang@redhat.com> - 0:2.1-1
acd2e2f
- Import from dbhole's maven2 2.0.8 packages
acd2e2f
acd2e2f
* Mon Apr 07 2008 Deepak Bhole <dbhole@redhat.com> - 0:2.1-0jpp.1
acd2e2f
- Initial build