Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exclude generated sources in the Commandline Maven build

How do i avoid generating the source files when in execute the maven build from the command line?

Only the files necessary for the job execution need to be generated in the target folder. We need to keep the deploy-able artifacts light on our servers

 

command we use  : mvn -B -f <pomPath>/poms/pom.xml -s <settings path>/maven_user_settings.xml clean compile test package install -U -e -Dproduct.path=<prodpath> -Dgeneration.type=local -DskipTests -Dcommandline.skip=true

 

The command fails with the fresh check out

Labels (3)
1 Reply
Anonymous
Not applicable
Author

How do we avoid generating .java and item files in the target folder?