Fix junit dependency scope

This commit is contained in:
Mikolaj Izdebski 2020-07-20 13:42:22 +02:00
parent 9633d12462
commit 134de31c0c

View File

@ -29,6 +29,7 @@ Plexus Cipher: encryption/decryption Component
%setup -q
%pom_remove_parent
%pom_xpath_inject "pom:dependency[pom:artifactId='junit']" "<scope>test</scope>"
# replace %{version}-SNAPSHOT with %{version}
%pom_xpath_replace pom:project/pom:version "<version>%{version}</version>"