This commit is contained in:
parent
c35e6ac28b
commit
15866672f7
@ -38,11 +38,20 @@ This package contains javadoc for %{name}.
|
||||
%pom_remove_plugin :dashboard-maven-plugin
|
||||
%pom_remove_plugin :maven-assembly-plugin
|
||||
|
||||
# remove hard-coded compiler settings
|
||||
%pom_remove_plugin :maven-compiler-plugin
|
||||
|
||||
%pom_xpath_inject pom:build/pom:plugins "<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration><source>\${maven.compiler.source}</source><detectJavaApiLink>false</detectJavaApiLink></configuration>
|
||||
</plugin>"
|
||||
|
||||
%mvn_file :%{name} %{name}
|
||||
%mvn_alias :%{name} com.google.code.maven-replacer-plugin:maven-replacer-plugin
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
export JAVA_HOME=/usr/lib/jvm/java-11
|
||||
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
Loading…
Reference in New Issue
Block a user