From 88dfbd7ad75b2fe38101ef9815a966d348047b59b5d1b99902310fb7c872d793 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 12 Feb 2019 10:18:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jline?expand=0&rev=29 --- jline.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/jline.spec b/jline.spec index 9f67c48..d4c11ee 100644 --- a/jline.spec +++ b/jline.spec @@ -65,17 +65,6 @@ mkdir -p lib %pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin :maven-javadoc-plugin -# Makes the build fail on deprecation warnings from jansi -%pom_xpath_remove 'pom:arg[text()="-Werror"]' - -# Do not import non-existing internal package -%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Import-Package" -%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions" "javax.swing;resolution:=optional,org.fusesource.jansi,!org.fusesource.jansi.internal" - -# Be sure to export jline.internal, but not org.fusesource.jansi. -# See https://bugzilla.redhat.com/show_bug.cgi?id=1317551 -%pom_xpath_set "pom:build/pom:plugins/pom:plugin[pom:artifactId = 'maven-bundle-plugin']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package" "jline.*;-noimport:=true" - %build build-jar-repository -s lib jansi jansi-native hawtjni/hawtjni-runtime %ant package javadoc