Yozarian22
Yozarian22

Reputation: 279

Switching from Maven command line interface to Eclipse Plugin

I'm working on a project that is built using maven to weave in AspectJ annotations when compiling. Up until now, it worked like this:

1) Turn off "Build Automatically" in eclipse

2) Make changes to code in Eclipse

3) Navigate to Project folder on command line

4) Run Maven from command line

5) Refresh in Eclipse

6) Run program in Eclipse

Since Eclipse Plugins for Maven integration exist, I'd like to figure out how to use them to simplify this process. However, I've only found instructions about how to begin a new Maven project using the plugin - nothing in any tutorials or documentation about converting an existing project. Will I need to re-import my project? Or is there a better way?

Upvotes: 0

Views: 2706

Answers (1)

xavier.seignard
xavier.seignard

Reputation: 11144

Just install m2eclipse, remove your maven project from your workspace, and then re-import it as an existing maven project like this:

import maven project

Upvotes: 2

Related Questions