diff --git a/1.6.tar.gz b/1.6.tar.gz new file mode 100644 index 0000000..ff97781 Binary files /dev/null and b/1.6.tar.gz differ diff --git a/replacer.spec b/replacer.spec new file mode 100644 index 0000000..8fb5a49 --- /dev/null +++ b/replacer.spec @@ -0,0 +1,46 @@ +Name: replacer +Version: 1.6 +Release: 1 +Summary: Replacer Maven Mojo +License: MIT +URL: https://github.com/beiliubei/maven-replacer-plugin +Source0: https://github.com/beiliubei/maven-replacer-plugin/archive/%{version}.tar.gz +BuildRequires: maven-local mvn(commons-io:commons-io) mvn(commons-lang:commons-lang) +BuildRequires: mvn(org.apache.ant:ant) mvn(org.apache.maven:maven-plugin-api) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) mvn(xerces:xercesImpl) +BuildArch: noarch + +%description +Maven plugin to replace tokens in a given file with a value. +This plugin is also used to automatically generating PackageVersion.java +in the FasterXML.com project. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n maven-replacer-plugin-%{version} +%pom_remove_plugin :dashboard-maven-plugin +%pom_remove_plugin :maven-assembly-plugin +%mvn_file :%{name} %{name} +%mvn_alias :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin + +%build +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc README.md +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Thu Jul 30 2020 wangyue - 1.6-1 +- package init diff --git a/replacer.yaml b/replacer.yaml new file mode 100644 index 0000000..855a30c --- /dev/null +++ b/replacer.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/beiliubei/maven-replacer-plugin +version_control: github +src_repo: beiliubei/maven-replacer-plugin +tag_prefix: "^" +seperator: "."