This commit is contained in:
parent
925a718d54
commit
18e1215bfd
@ -73,10 +73,9 @@ artifact metadata and a generic help goal.
|
||||
# Remove test dependencies because tests are skipped anyways.
|
||||
%pom_xpath_remove "pom:dependency[pom:scope='test']"
|
||||
|
||||
# For some reason, this dependency is not generated by javapackages-local
|
||||
# and for some reasons if we give it a scope 'runtime' it works
|
||||
%pom_remove_dep :maven-plugin-annotations maven-plugin-plugin
|
||||
%pom_add_dep org.apache.maven.plugin-tools:maven-plugin-annotations:%{version}:runtime maven-plugin-plugin
|
||||
%pom_remove_dep org.junit:junit-bom
|
||||
%pom_remove_dep :maven-plugin-tools-ant maven-plugin-plugin
|
||||
%pom_remove_dep :maven-plugin-tools-beanshell maven-plugin-plugin
|
||||
|
||||
%{mvn_package} :maven-plugin-tools __noinstall
|
||||
|
||||
|
@ -82,6 +82,8 @@ API documentation for %{name}.
|
||||
%pom_xpath_remove "pom:dependency[pom:scope='test']"
|
||||
|
||||
%pom_remove_dep org.junit:junit-bom
|
||||
%pom_remove_dep :maven-plugin-tools-ant maven-plugin-plugin
|
||||
%pom_remove_dep :maven-plugin-tools-beanshell maven-plugin-plugin
|
||||
|
||||
%build
|
||||
pushd %{name}
|
||||
|
Loading…
Reference in New Issue
Block a user