- CPS-435Getting issue details... STATUS
Problem description
There are properties redefined in CPS that are already defined in oparent settings.xml:
- onap.nexus.url - redefined as nexusproxy
- docker.push.registry -redefined as docker.repository.push
- docker.pull.registry - redefined as docker.repository.pull
Proposal
Remove instances of the redefined properties <nexusproxy>, <docker.repository.push> and <docker.repository.pull> from:
- cps-bom\pom.xml
- checkstyle\pom.xml
- cps-dependencies\pom.xml
- cps-parent\pom.xml
- spotbugs\pom.xml
Replace usages of ${nexusproxy} with ${onap.nexus.url} from:
- cps-bom\pom.xml
- checkstyle\pom.xml
- cps-dependencies\pom.xml
- cps-parent\pom.xml
- spotbugs\pom.xml
Replace usage of $(docker.repository.push) and $(docker.repository.pull) with $(docker.push.registry) and $(docker.pull.registry) in cps-parent\pom.xml
We could also remove:
<distributionManagement> <repository> <id>ecomp-releases</id> <name>ECOMP Release Repository</name> <url>${onap.nexus.url}${releaseNexusPath}</url> </repository> <snapshotRepository> <id>ecomp-snapshots</id> <name>ECOMP Snapshot Repository</name> <url>${onap.nexus.url}${snapshotNexusPath}</url> </snapshotRepository> </distributionManagement>
From:
- cps-bom\pom.xml
- checkstyle\pom.xml
- cps-dependencies\pom.xml
- spotbugs\pom.xml