!1 Add package rhq-plugin-annotations

Merge pull request !1 from 王歌/master
This commit is contained in:
openeuler-ci-bot 2020-09-09 09:09:21 +08:00 committed by Gitee
commit 73dc39c13a
5 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,16 @@
diff -Naur pluginAnnotations/pom.xml pluginAnnotations-work/pom.xml
--- pluginAnnotations/pom.xml 2012-02-01 04:25:15.000000000 -0500
+++ pluginAnnotations-work/pom.xml 2012-02-01 04:30:25.023000044 -0500
@@ -6,12 +6,6 @@
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.rhq</groupId>
- <artifactId>rhq-parent</artifactId>
- <version>4.0.1</version>
- </parent>
-
<groupId>org.rhq.helpers</groupId>
<artifactId>rhq-pluginAnnotations</artifactId>
<packaging>jar</packaging>

View File

@ -0,0 +1,40 @@
Name: rhq-plugin-annotations
Version: 3.0.4
Release: 1
Summary: RHQ plugin annotations
License: GPL and LGPLv2+
URL: http://rhq-project.org
Source0: https://repo1.maven.org/maven2/org/rhq/helpers/rhq-pluginAnnotations/%{version}/rhq-pluginAnnotations-%{version}-sources.jar
Source1: https://repo1.maven.org/maven2/org/rhq/helpers/rhq-pluginAnnotations/%{version}/rhq-pluginAnnotations-%{version}.pom
Patch0: rhq-plugin-annotations-%{version}-pom.patch
BuildArch: noarch
BuildRequires: maven-local
%description
Annotations to help generate RHQ plugin descriptors.
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -c -n pluginAnnotations
cp %{SOURCE1} ./pom.xml
mkdir -p ./src/main/java/
mv org ./src/main/java/
%patch0 -p1
%mvn_file : %{name}/%{name} %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=iso8859-1
%install
%mvn_install
%files -f .mfiles
%files javadoc -f .mfiles-javadoc
%changelog
* Thu Sep 3 2020 Ge Wang <wangge20@huawei.com> - 3.0.4-1
- Package init

View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA

Binary file not shown.

View File

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.rhq</groupId>
<artifactId>rhq-parent</artifactId>
<version>4.0.1</version>
</parent>
<groupId>org.rhq.helpers</groupId>
<artifactId>rhq-pluginAnnotations</artifactId>
<packaging>jar</packaging>
<version>3.0.4</version>
<name>RHQ Plugin Annotations</name>
<description>Annotations to help generate plugin descriptors</description>
<scm>
<connection>scm:git:ssh://git.fedorahosted.org/git/rhq.git/modules/helpers/pluginGen</connection>
<developerConnection>scm:git:ssh://git.fedorahosted.org/git/rhq.git/modules/helpers/pluginGen</developerConnection>
</scm>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<archive>
<manifest>
<packageName>org.rhq.helpers.pluginAnnotations</packageName>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>