...
- Navigate to File > New > Project…
- Select Java > Java Project and click [Next]:
Enter a name for the project (e.g. HelloWorldElement) and select the option to create the project from an existing source. Select the root for the element plugin (for example, C:\GX\wcb\helloworldelement).
Click [Finish]. The project will now be created:
Eclipse might prompt you to switch to the Java perspective. The perspective, that is the way windows in eclipse are ordered, can be modified later via the Window > Open perspective menu or in the right upper corner of the Eclipse user interface:
After the project has been created, Eclipse will look like the following:
...
- Navigate to the External Tools configuration (Run > External Tools > External Tools Configurations):
- In the left pane, select "Program" and click [New]:
Configure the external tool. Set at least the following properties:
Property Description Name Define a name for running this command.
Location Select the
mvn.bat
file [Browse File System…].Working Directory Select your project by clicking [Browse Workspace…].
Arguments Fill this field with the following
-s <path to the settings.xml> clean package
.Note If other plugins have dependencies to this plugin you might consider using
-s <path to the settings.xml> clean install
instead to also install the plugin in the Maven Repository.Click [Apply].
Click [Run] to execute the command.
...