maven - Running both default and production profile during release -
my build follows:
the first normal build (mvn clean install) other profile activated property (mvn clean install -dbuild=prod)
the first deploys nexus. second profile deploys production server.
how can run both builds during maven release cycle.
i separate nexus-deploy out different profile , use multiple target execution:
create different profile cater normal build , execute both targets on build server so:
mvn clean install -dbuild=prod -pdeploy
Comments
Post a Comment