Fridrich Strba 2018-10-24 07:20:05 +00:00 committed by Git OBS Bridge
parent b1172b0a40
commit 5e1e48de25

View File

@ -61,7 +61,7 @@ sed -i 's/@VERSION@/%{version}/g' pom.xml
%build
mkdir -p build/classes
mkdir -p build/doc
mkdir -p build/javadoc
javac -d build/classes -source 7 -target 7 `find src/main/java -name *.java | xargs`
javadoc -d build/javadoc -source 7 --source-path src/main/java/ `find src/main/java -name *.java | xargs`
(cd build/classes && jar cf ../%{name}-%{version}.jar `find . -name *.class | xargs`)