% make clean build run
rm -rf tmp
java \
-jar ../../custom-war-packager-cli/target/custom-war-packager-cli-1.4-SNAPSHOT-jar-with-dependencies.jar \
-configPath packager-config.yml -version 256.0-test
Picked up _JAVA_OPTIONS: -Dhttp.proxyHost=proxy.mms-dresden.de -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.mms-dresden.de -Dhttps.proxyPort=8080
Exception in thread "main" java.io.IOException: CasC section is declared, but CasC plugin is not declared in the plugins list
at io.jenkins.tools.warpackager.lib.impl.Builder.verifyConfig(Builder.java:66)
at io.jenkins.tools.warpackager.lib.impl.Builder.build(Builder.java:73)
at io.jenkins.tools.warpackager.cli.Main.main(Main.java:56)
make: *** [Makefile:15: tmp/output/target/jenkins-casc-demo-256.0-test.war] Error 1
I used the the effective pom from the jcasc plugin.
% make build
java -jar .build/cwp-cli-1.6.jar \
-configPath packager-config.yml -version 256.0-test
May 06, 2019 5:09:41 PM io.jenkins.tools.warpackager.lib.impl.Builder build
INFO: Cleaning up the temporary directory tmp
Exception in thread "main" java.io.IOException: CasC section is declared, but CasC plugin is not declared in the plugins list
at io.jenkins.tools.warpackager.lib.impl.Builder.verifyConfig(Builder.java:66)
at io.jenkins.tools.warpackager.lib.impl.Builder.build(Builder.java:97)
at io.jenkins.tools.warpackager.cli.Main.main(Main.java:53)
make: *** [Makefile:38: build] Error 1