Quantcast
Channel: JetBrains Developer Community : All Content - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5481

Associating different maven profiles for different run/debug configuration

$
0
0

Hi,

 

I have maven projects where JUnit tests need to run a maven build ( due to code generation XJC, etc ) before running the test case.

 

Is there a way to activate different sets of profiles when doing a "Before Run" for different unit tests ?

 

I mean I want to remove the default "Make" before Launch and add a maven build, but my builds are dependent on some active profiles.

 

So can I associate an active profile for each "Before Launch" configuration section.

 

Thanks


Viewing all articles
Browse latest Browse all 5481

Trending Articles