!1 Package init

Merge pull request !1 from yeah_wang/apple
This commit is contained in:
openeuler-ci-bot 2019-12-23 17:26:05 +08:00 committed by Gitee
commit 0414f401c6
5 changed files with 100 additions and 75 deletions

View File

@ -0,0 +1,43 @@
From 2da6ad1c0a941423490a74119966ea403f3ca246 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Fri, 29 Jun 2018 12:35:54 +0200
Subject: [PATCH] Port to current plexus-utils
---
.../maven/plugins/javadoc/JavadocUtil.java | 20 +++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
index a740c6e..0fbf00c 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
@@ -1178,14 +1178,18 @@ public class JavadocUtil
InvocationOutputHandler outputHandler = new PrintStreamHandler( ps, false );
request.setOutputHandler( outputHandler );
- outputHandler.consumeLine( "Invoking Maven for the goals: " + goals + " with "
- + ( properties == null ? "no properties" : "properties=" + properties ) );
- outputHandler.consumeLine( "" );
- outputHandler.consumeLine( "M2_HOME=" + getMavenHome( log ) );
- outputHandler.consumeLine( "MAVEN_OPTS=" + getMavenOpts( log ) );
- outputHandler.consumeLine( "JAVA_HOME=" + getJavaHome( log ) );
- outputHandler.consumeLine( "JAVA_OPTS=" + getJavaOpts( log ) );
- outputHandler.consumeLine( "" );
+ try {
+ outputHandler.consumeLine( "Invoking Maven for the goals: " + goals + " with "
+ + ( properties == null ? "no properties" : "properties=" + properties ) );
+ outputHandler.consumeLine( "" );
+ outputHandler.consumeLine( "M2_HOME=" + getMavenHome( log ) );
+ outputHandler.consumeLine( "MAVEN_OPTS=" + getMavenOpts( log ) );
+ outputHandler.consumeLine( "JAVA_HOME=" + getJavaHome( log ) );
+ outputHandler.consumeLine( "JAVA_OPTS=" + getJavaOpts( log ) );
+ outputHandler.consumeLine( "" );
+ } catch (IOException e) {
+ throw new MavenInvocationException("Failed to output lines", e);
+ }
try
{
--
2.17.1

View File

@ -1,36 +0,0 @@
# maven-javadoc-plugin
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,39 +0,0 @@
# maven-javadoc-plugin
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

57
maven-javadoc-plugin.spec Normal file
View File

@ -0,0 +1,57 @@
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