Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is this supposed to work? MAVEN_OPTS="-Dspring.profiles.active=dev"

SPence August 2, 2015

All I want to do is set the active profiles during the build plan.

1 answer

0 votes
Bruno Rosa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2015

Actually this varies according to the type of profile being used. Profiles can be explicitly specified in the Goal field, I don't think it will work using MAVEN_OPTS. Please have a look at this documentation for more information about this http://maven.apache.org/guides/introduction/introduction-to-profiles.html.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events