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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -