O'Reilly logo

Maven for Eclipse by Sanjay Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a core module

The core module of MyDistance will contain a class that can be converted across different units, that is, from km/meter to yard/miles. Let's name this core module distance-core. To create a core module, perform the following steps:

  1. Navigate to File | New and click on Other…. In the Select a wizard screen, search for maven via the search box, select Maven Module, and click on the Next button, as shown in the following screenshot:
    Creating a core module
  2. The New Maven Module wizard appears; make sure to tick the checkbox Create a simple project (skip archetype selection), provide the module name as distance-core, and browse to select the parent as

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required