...
Set the parent POM in your pom.xml as follows . Be sure to use the current version of oparent as declared in the version manifest; see ONAP Version Manifest Maven Plugin (Decommissioned).using the appropriate version:
Code Block |
---|
title | oparent master (Guilen) JDK 11 (TB usable by JDK 8) |
---|
|
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
<version>3.1.0</version>
<relativePath/>
</parent>
|
Code Block |
---|
title | oparent Frankfurt Branch - JDK 11 |
---|
|
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
<version>3.0.2</version>
<relativePath/>
</parent>
|
Code Block |
---|
title | oparent El Alto branch JDK 8 |
---|
|
Code Block |
---|
|
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
<version>1<version>2.2.3<0</version>
<relativePath/>
</parent>
|
Remove redundant configuration items
Once the POMs have been modified to inherit from oparent, you can now remove the redundant configuration items such as nexus (distributionManagement) location, coding styles, license checks, coding style checks, sonar setup, etc. from your own project POM files. Any necessary changes to the above can now be managed centrally without your project having to incur additional overhead.
...