1 Star 0 Fork 10

bzg_repo/gmavenplus-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gmavenplus-plugin.spec 3.11 KB
一键复制 编辑 原始数据 按行查看 历史
Name: gmavenplus-plugin
Version: 1.5
Release: 8
Summary: Integrates Groovy into Maven projects
License: ASL 2.0
URL: http://groovy.github.io/GMavenPlus/
Source0: https://github.com/groovy/GMavenPlus/archive/%{version}.tar.gz
BuildRequires: maven-local mvn(jline:jline) mvn(junit:junit) mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.ant:ant-antlr) mvn(org.apache.ant:ant-junit)
BuildRequires: mvn(org.apache.ant:ant-launcher) mvn(org.apache.ivy:ivy)
BuildRequires: mvn(org.apache.maven:maven-core) mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven:maven-plugin-registry) mvn(org.apache.maven:maven-project)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.shared:file-management) mvn(org.codehaus:codehaus-parent:pom:)
BuildRequires: mvn(org.codehaus.groovy:groovy-all) mvn(org.codehaus.groovy:groovy-ant)
BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds) mvn(org.codehaus.plexus:plexus-cli)
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
BuildRequires: mvn(org.fusesource.jansi:jansi) mvn(org.mockito:mockito-all)
BuildRequires: mvn(ch.qos.logback:logback-classic)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) git
BuildArch: noarch
%description
GMavenPlus which is rewrite of GMaven and allows to integrate Groovy into Maven projects.
%package help
Summary: Javadoc for gmavenplus-plugin
Provides: gmavenplus-plugin-javadoc = %{version}-%{release}
Obsoletes: gmavenplus-plugin-javadoc < %{version}-%{release}
%description help
This package contains javadoc for gmavenplus-plugin.
%prep
%autosetup -n GMavenPlus-%{version} -p1 -S git
%pom_remove_plugin :maven-clean-plugin
%pom_remove_plugin :maven-dependency-plugin
%pom_remove_plugin :maven-help-plugin
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :cobertura-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-deploy-plugin
%pom_remove_plugin :maven-site-plugin
%pom_xpath_remove "pom:build/pom:extensions"
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions"
rm -r src/test/java/org/codehaus/gmavenplus/mojo/AbstractGroovyMojoTest.java
sed -i.orig 's|\r||g' README.markdown
touch -r README.markdown.orig README.markdown
rm README.markdown.orig
%mvn_file : gmavenplus-plugin
%build
%mvn_build -f -- -Pnonindy
%install
%mvn_install
%files -f .mfiles
%doc README.markdown LICENSE.txt
%files help -f .mfiles-javadoc
%changelog
* Thu Jun 3 2021 baizhonggui <baizhonggui@huawei.com> - 1.5-8
- Fix building error: /usr/bin/git: No such file or directory
- Add git in BuildRequires
* Fri 11 Sep 2020 zhanghua <zhanghua40@huawei.com> - 1.5-7
- Disable tests due to incompatibility with new mockito
* Thu Apr 2 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.5-6
- Package init.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/baizg1107/gmavenplus-plugin.git
git@gitee.com:baizg1107/gmavenplus-plugin.git
baizg1107
gmavenplus-plugin
gmavenplus-plugin
master

搜索帮助