Define an Internal Repository

It is good practise to setup your own internal repository, as you might want deploy your company/personal libraries. A repository can be defined in either the pom.xml or in the settings.xml adding the following:

    <name>Sapienza Repository for Maven</name>

The <layout> tag has 2 possible values:

  • default for Maven 2
  • legacy for Maven 1

The only requirement is to enable HTTP access on the predefined URL. The URL will have to point to a specific location on your server which is the root of your Maven repository.

Create the Internal Repository

Just create the same layout as on iBiblio or other Maven repositories (read first about naming conventions for artifacts and groups) or deploy artifacts on your repository (see Deploy artifacts with SSH)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: