Package init
This commit is contained in:
parent
f6d3172b0b
commit
451fc22805
BIN
0.3.1.tar.gz
Normal file
BIN
0.3.1.tar.gz
Normal file
Binary file not shown.
47
sisu-mojos.spec
Normal file
47
sisu-mojos.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
Name: sisu-mojos
|
||||||
|
Version: 0.3.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Sisu plugin for Apache Maven
|
||||||
|
License: EPL-1.0
|
||||||
|
URL: http://www.eclipse.org/sisu
|
||||||
|
BuildArch: noarch
|
||||||
|
Source0: https://git.eclipse.org/c/sisu/org.eclipse.sisu.mojos.git/snapshot/org.eclipse.sisu.mojos-releases/%{version}.tar.gz
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-plugin-api)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||||
|
BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters)
|
||||||
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||||
|
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.inject) mvn(org.slf4j:slf4j-nop)
|
||||||
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
Obsoletes: sisu-maven-plugin < 1:0.1
|
||||||
|
%description
|
||||||
|
The Sisu Plugin for Maven provides mojos to generate
|
||||||
|
META-INF/sisu/javax.inject.Named index files for the Sisu container.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains %{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c
|
||||||
|
mv org.eclipse.sisu.mojos-releases/%{version}/* .
|
||||||
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
||||||
|
%mvn_alias : org.sonatype.plugins:
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%dir %{_javadir}/%{name}
|
||||||
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.3.1-1
|
||||||
|
- package init
|
||||||
4
sisu-mojos.yaml
Normal file
4
sisu-mojos.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://git.eclipse.org/c/sisu/org.eclipse.sisu.mojos
|
||||||
|
tag_prefix: "^release/"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user