diff --git a/jetty-version-maven-plugin.spec b/jetty-version-maven-plugin.spec new file mode 100644 index 0000000..a5f0511 --- /dev/null +++ b/jetty-version-maven-plugin.spec @@ -0,0 +1,44 @@ +Name: jetty-version-maven-plugin +Version: 1.0.7 +Release: 1 +Summary: Jetty version management Maven plugin +License: ASL 2.0 or EPL +URL: http://www.eclipse.org/jetty/ +Source0: https://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7.tar.gz +BuildArch: noarch +BuildRequires: maven-local mvn(org.apache.commons:commons-lang3) +BuildRequires: mvn(org.apache.maven:maven-plugin-api) mvn(org.apache.maven:maven-project) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:) +%description +Jetty version management Maven plugin + +%package javadoc +Summary: API documentation for %{name} +%description javadoc +%{summary}. + +%prep +%setup -q -n org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7 +cp -p jetty-distribution-remote-resources/src/main/resources/* . +sed -i 's|edu.emory.mathcs.backport.||' \ + jetty-version-maven-plugin/src/main/java/org/eclipse/jetty/toolchain/version/Release.java + +%build +pushd %{name} +%mvn_build -f + +%install +pushd %{name} +%mvn_install + +%files -f %{name}/.mfiles +%dir %{_javadir}/%{name} +%doc LICENSE-APACHE-2.0.txt LICENSE-ECLIPSE-1.0.html notice.html + +%files javadoc -f %{name}/.mfiles-javadoc +%doc LICENSE-APACHE-2.0.txt LICENSE-ECLIPSE-1.0.html notice.html + +%changelog +* Thu Jul 30 2020 shaoqiang kang - 1.0.7-1 +- Package init diff --git a/jetty-version-maven-plugin.yaml b/jetty-version-maven-plugin.yaml new file mode 100644 index 0000000..339cfb0 --- /dev/null +++ b/jetty-version-maven-plugin.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/jetty-project/jetty-version-maven-plugin +version_control: github +src_repo: jetty-project/jetty-version-maven-plugin +tag_prefix: "jetty-version-maven-plugin-" +seperator: "." diff --git a/org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7.tar.gz b/org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7.tar.gz new file mode 100644 index 0000000..19df746 Binary files /dev/null and b/org.eclipse.jetty.toolchain-jetty-version-maven-plugin-1.0.7.tar.gz differ