devonfw / maven-parent

Parent POM used for maven projects in devonfw
Apache License 2.0
0 stars 4 forks source link

use single ID for repositories #8

Closed hohwille closed 4 years ago

hohwille commented 4 years ago

The maven POM contains various <id> elements. I always thought that these have to be unique within the pom. However, I now learned that the <id> of repositories is just an identifier, that uniquely references or links to an according <server> item from the settings.xml. Hence, we can simplify by using only a single ID for both SNAPSHOTs and releases called deploy. This will avoid duplicated/redundant <server> configs in settings.xml what is a nice improvement.

hohwille commented 4 years ago

Done.