Use Maven coordinates in build-classpath

This commit is contained in:
Mikolaj Izdebski 2020-04-24 15:12:33 +02:00
parent 4e49eba9dd
commit d3561a5e2d

View File

@ -116,7 +116,7 @@ sed 's/@VERSION@/%{version}/g' %{SOURCE8} > asm-all/pom.xml
%build %build
# Must compile bnd plugin first, which is used to generate Java 9 module-info.class files # Must compile bnd plugin first, which is used to generate Java 9 module-info.class files
pushd tools/bnd-module-plugin pushd tools/bnd-module-plugin
javac -sourcepath ../../asm/src/main/java/ -cp $(build-classpath aqute-bnd) $(find -name *.java) javac -sourcepath ../../asm/src/main/java/ -cp $(build-classpath biz.aQute.bnd:biz.aQute.bndlib biz.aQute.bnd:aQute.libg) $(find -name *.java)
jar cf bnd-module-plugin.jar -C src/main/java org jar cf bnd-module-plugin.jar -C src/main/java org
popd popd