commit
37e8528d74
23
pom-compiler-source-target.patch
Normal file
23
pom-compiler-source-target.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- a/pom.xml.orig 2013-03-29 14:56:54.171650079 +0000
|
||||
+++ b/pom.xml 2013-03-29 14:58:21.818455592 +0000
|
||||
@@ -156,6 +156,20 @@
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
+ <build>
|
||||
+ <plugins>
|
||||
+ <plugin>
|
||||
+ <groupId>org.apache.maven.plugins</groupId>
|
||||
+ <artifactId>maven-compiler-plugin</artifactId>
|
||||
+ <version>2.5.0</version>
|
||||
+ <configuration>
|
||||
+ <source>1.6</source>
|
||||
+ <target>1.6</target>
|
||||
+ </configuration>
|
||||
+ </plugin>
|
||||
+ </plugins>
|
||||
+ </build>
|
||||
+
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>run-its</id>
|
||||
BIN
rmic-maven-plugin-1.2.1.zip
Normal file
BIN
rmic-maven-plugin-1.2.1.zip
Normal file
Binary file not shown.
46
rmic-maven-plugin.spec
Normal file
46
rmic-maven-plugin.spec
Normal file
@ -0,0 +1,46 @@
|
||||
Name: rmic-maven-plugin
|
||||
Version: 1.2.1
|
||||
Release: 1
|
||||
Summary: Uses the java rmic compiler to generate classes used in remote method invocation
|
||||
License: MIT
|
||||
URL: http://www.mojohaus.org/rmic-maven-plugin
|
||||
BuildArch: noarch
|
||||
Source0: http://github.com/mojohaus/%{name}/archive/%{name}-%{version}.zip
|
||||
Patch0: pom-compiler-source-target.patch
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-model:2.0.6)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven:maven-project)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-compiler-api)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
%description
|
||||
This plugin works with Maven 2 and uses the java rmic compiler to generate
|
||||
classes used in remote method invocation.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version} -p1
|
||||
sed -i -e "s|groupId>plexus|groupId>org.codehaus.plexus|g" pom.xml
|
||||
%pom_add_dep "junit:junit::test"
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dmaven.test.failure.ignore=true
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc License.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc License.txt
|
||||
|
||||
%changelog
|
||||
* Thu Jul 30 2020 wangyue <wangyue92@huawei.com> - 1.2.1-1
|
||||
- package init
|
||||
5
rmic-maven-plugin.yaml
Normal file
5
rmic-maven-plugin.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/mojohaus/rmic-maven-plugin
|
||||
version_control: github
|
||||
src_repo: mojohaus/rmic-maven-plugin
|
||||
tag_prefix: "^rmic-maven-plugin-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user