Name: gmavenplus-plugin Version: 1.5 Release: 8%{?dist} 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 BuildRequires: mvn(jline:jline) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.ant:ant-antlr) BuildRequires: mvn(org.apache.ant:ant-junit) BuildRequires: mvn(org.apache.ant:ant-launcher) BuildRequires: mvn(org.apache.ivy:ivy) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-plugin-registry) BuildRequires: 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) BuildRequires: mvn(org.codehaus:codehaus-parent:pom:) BuildRequires: mvn(org.codehaus.groovy:groovy-all) BuildRequires: mvn(org.codehaus.groovy:groovy-ant) BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds) BuildRequires: 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) BuildRequires: mvn(org.mockito:mockito-all) # IT tests deps BuildRequires: mvn(ch.qos.logback:logback-classic) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildArch: noarch %description GMavenPlus is a rewrite of GMaven, a Maven plugin that allows you to integrate Groovy into your Maven projects. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n GMavenPlus-%{version} %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" # Mockito cannot mock this class: class org.codehaus.gmavenplus.mojo.AbstractGroovyMojoTest$TestGroovyMojo rm -r src/test/java/org/codehaus/gmavenplus/mojo/AbstractGroovyMojoTest.java # Convert from dos to unix line ending sed -i.orig 's|\r||g' README.markdown touch -r README.markdown.orig README.markdown rm README.markdown.orig %mvn_file : %{name} %build # Disable tests for now due to incompatibility with new mockito 2.x %mvn_build -f -- -Pnonindy %install %mvn_install %files -f .mfiles %doc README.markdown %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Thu Jul 25 2019 Fedora Release Engineering - 1.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Feb 13 2019 Mat Booth - 1.5-7 - Disable tests due to incompatibility with new mockito 2.x * Thu Jan 31 2019 Fedora Release Engineering - 1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Apr 01 2015 gil cattaneo 1.5-1 - initial rpm