Hi,

I'm facing a problem in the release process when running Integration Tests.

We have different profiles for the different environments the release is
made for, namely DEV, TEST, PROD.

Each profile has its own values for DB access.

Now the IT are made to work on the development environment, i-e with the
values of the DEV profile.

When it comes to do a release for the TEST or PROD env, Failsafe will run
with the given profile and ITs will fail due to invalid DB access values.

Ideally, I'd like to be able to specify a different profile, DEV here, for
the maven-failsafe-plugin execution.
I don't think this is possible yet.

So I don't understand how IT can be part of a systematic release process.

How do you perform your releases for a production environment with IT
validation?

Is there a trick to be able to use different profile in a single maven
execution? 
Is it possible to specify one profile per plugin:

-Pprod for war plugin
-Pdev for failsafe plugin

That's be awesome.

cheers
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/maven-failsafe-plugin-Running-integration-test-with-its-own-profile-tp3367473p3367473.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to