0

I am new to eclipse and the interaction between eclipse and maven.

Is it possible to have Maven automatically install Eclipse plugins if the eclipse path is known?

Is it possible to configure specific project settings for each installed plugin when the eclipse project is created? Is it easy to update these configuration settings once the eclipse project is created?

How may I go about this using Maven? Or is it not possible/ideal?

egervari
  • 22,372
  • 32
  • 121
  • 175
  • Even there is a way, I will not recommend. Maven is a build tool and Eclipse is an IDE, I don't see any point why you want a build tool automatically alter the IDE without human intervention, at the time when project is created. – yorkw May 31 '12 at 21:48
  • Yes, keep your build tool separate to your development tool. Think of the need to automated builds. You don't want to have Maven logic that forces someone to install Eclipse on your build server.... – Mark O'Connor May 31 '12 at 22:44

1 Answers1

0

To install a plugin, you would have to copy the plugin files to the eclipse/plugins folder as described in the Eclipse wiki

You can use maven to copy the plugin files/folders to the eclipse plugins directory. This question will show how: Best practices for copying files with Maven

However, I would not advise to use maven to configure the IDE and its plugins, you should manage your projects and not your IDEs with maven.

Community
  • 1
  • 1
Behe
  • 7,572
  • 3
  • 33
  • 46