Set compiler source/target levels to 1.6
This commit is contained in:
parent
a3a0b7bedb
commit
dbc594be8e
@ -37,6 +37,9 @@ Requires: %{name} = %{version}-%{release}
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6
|
||||
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
|
||||
|
||||
# Make into OSGi bundle
|
||||
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
||||
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "<extensions>true</extensions>"
|
||||
|
Loading…
Reference in New Issue
Block a user