I’m trying to add a logging configuration (logback.xml) to my project.
Everything builds and runs fine locally (as expected), but building on the portal, I get this error:
ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (make-assembly) on project mybot: Failed to create assembly: Error creating assembly archive jar-with-dependencies: Problem creating jar: jar:file:/home/PythonScripts/temp/0e05d234-5fe2-4839-b140-f7523ac3a35f/target/mybot.jar!/ logback.xml: JAR entry logback.xml not found in /home/PythonScripts/temp/0e05d234-5fe2-4839-b140-f7523ac3a35f/target/mybot.jar -> [Help 1]
So my question is just basically, “what is the portal doing that I’m not doing locally”, in order to replicate and fix on my side.
Btw, removing the logback.xml file from the src/main/resources folder allows the portal to build a-ok.