Search code examples
javaeclipsemaven-2m2eclipse

Maven launch configurations in Eclipse


while running maven from eclipse you have option to execute these launch configurations by default .. here is the image of that :

alt text

Now I can add my own launch configurations and execute them. Like this :

alt text

Now instead of running run configurations every time, is it possible that I put my own launch configuration called "Clean install skip tests with assembly" instead of default run configuration #1(Maven assembly:assembly) or can I add #10 configuration to be my created configuration. Thank you


Solution

  • Now instead of running run configurations every time, is it possible that I put my own launch configuration called "Clean install skip tests with assembly" instead of default run configuration #1(Maven assembly:assembly) or can I add #10 configuration to be my created configuration.

    I don't think so. But once you've run your Maven Build Run Configuration, it should be listed under the "Run As..." green arrow:

    alt text http://img8.imageshack.us/img8/8510/screenshotrun.png

    And you can add it as favorite if you want.