Tag: Maven

  • IntelliJ IDEA: Pass M2_HOME to the IDE on OS X Yosemite

    , ,

    I had issues in Yosemite with IntelliJ always complaining that it couldn’t see my M2_HOME variable, even though I had it in my .bash_profile.  Turns out that only works in the terminal. In any case, this worked — I verified it on my Mac, which runs v10.10.5. 1. Save this plist in ~/Library/LaunchAgents/ as custom.startup.plist…

  • Maven: How to only execute certain Cucumber tags

    , ,

    I needed Maven to only run certain tests that had a specific tag (i.e., @regression).  I couldn’t easily find information via the Cucumber website, so I’m logging it her for archiving.  Note: This command also works in Jenkins via the “Goals and options” section. clean install -Dcucumber.options="–tags @regression"