Nexus/Maven Settings

In order to configure Nexus to your PC, you should download and copy settings.xml to your local drive ( usually is under C:\User\<Your Username>\.m2\settings.xml.

In addition, you need to edit the file and replace tags [Username] & [Password] with the provided values.

NEXUS – LMS Maven Repository

http://dylan.mech.upatras.gr:8081/nexus/

If you don't have an account, please, create a new ticket by clicking here.

Using Eclipse

As a next step, you may configure m2eclipse plugin to locate setting.xml from your local drive instead of the default configuration.

  • Click on ‘Window -> Preferences
  • Click on ‘Maven -> User Settings
  • Make sure that path to settings.xml is correct
  • Click OK

 

Also, you may enable the ‘Maven Repository’ view in Eclipse by

  • Click on ‘Window -> Show View -> Other’ and find ‘Maven Repositories’.

 

Install Maven plug-in for Eclipse

[Method 1]

  1. Open Eclipse IDE
  2. Click Help -> Install New Software...
  3. Click Add button at top right corner
  4. At pop up: fill up Name as "M2Eclipse" and Location as http://download.eclipse.org/technology/m2e/releases
  5. Click OK

After that installation would start.

[Method 2]

  1. Open Eclipse IDE
  2. Go to Help -> Eclipse Marketplace
  3. Search by 'Maven'
  4. Select "Maven Integration for Eclipse" action
  5. Click "Install" button
  6. Follow instructions step by step
  7. Restart Eclipse

After successful installation do the followings in Eclipse:

  1. Go to Window --> Preferences
  2. Observe, Maven is enlisted at left panel

 

Article Details

Article ID:
8
Category:
Rating :

Related articles