Name:           maven-javadoc-plugin
Version:        3.0.1
Release:        3
Summary:        Maven Javadoc Plugin
License:        ASL 2.0
URL:            http://maven.apache.org/plugins/maven-javadoc-plugin
BuildArch:      noarch

Source0:        https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip

Patch0001:      0001-Port-to-current-plexus-utils.patch

BuildRequires:  maven-local mvn(org.apache.maven.doxia:doxia-site-renderer) mvn(org.apache.maven:maven-plugin-api)
BuildRequires:  mvn(org.apache.commons:commons-lang3) mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires:  mvn(org.apache.httpcomponents:httpclient) mvn(org.apache.maven.reporting:maven-reporting-api)
BuildRequires:  mvn(org.apache.maven.doxia:doxia-sink-api) mvn(org.apache.maven:maven-settings)
BuildRequires:  mvn(org.apache.maven:maven-archiver) mvn(org.apache.maven:maven-core)
BuildRequires:  mvn(org.apache.maven:maven-artifact) mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires:  mvn(org.apache.maven:maven-model) mvn(commons-io:commons-io) mvn(com.thoughtworks.qdox:qdox)
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugins:pom:) mvn(org.apache.maven.shared:maven-common-artifact-filters)
BuildRequires:  mvn(org.apache.maven.shared:maven-artifact-transfer) mvn(org.codehaus.modello:modello-maven-plugin)
BuildRequires:  mvn(org.apache.maven.shared:maven-invoker) mvn(org.codehaus.plexus:plexus-archiver)
BuildRequires:  mvn(org.apache.maven.wagon:wagon-provider-api) mvn(org.codehaus.plexus:plexus-component-annotations)
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-metadata) mvn(org.codehaus.plexus:plexus-java)
BuildRequires:  mvn(org.codehaus.plexus:plexus-interactivity-api) mvn(org.codehaus.plexus:plexus-utils)

%description
Generate plugins used by javadocs for the specified project.

%package          help
Summary:          API documentation for maven-javadoc-plugin.
Provides:         %{name}-javadoc = %{version}-%{release}
Obsoletes:        %{name}-javadoc < %{version}-%{release}

%description    help
The help for maven-javadoc-plugin to use.

%prep
%autosetup -n %{name}-%{version} -p1

%pom_remove_plugin :maven-enforcer-plugin

%build
%mvn_build -f -- -DmavenVersion=3.5.0

%install
%mvn_install

%files -f .mfiles
%doc LICENSE NOTICE

%files help -f .mfiles-javadoc


%changelog
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 3.0.1-3
- Package init
