Build definition - maven multiple profiles
Hi ,
I want to execute multiple profiles in a single maven build definition. The maven profiles are for sonar. One is regular java profile and the other is a Javascript profile.
I've tried by using the -P flag and then comma delimiting the profiles names however because one of the profiles requires extra arguments it effects the first.
E.g
compile -P sonar sonar:sonar,sonar_test sonar:sonar -Dsonar.language=web -Dsonar.dynamicAnalysis=false -Dsonar.web.sourceDirectory=src/main/webapp
This fails however because the first profile does not require the -D options.
Any suggestions how i can run this?
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.