<module>checkstyle</module>
<module>license</module>
<module>oparent</module>
+ <module>oparent-python</module>
</modules>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
<!-- sitePath may be overridden in the inheriting POM if desired -->
<sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+ <!-- properties for Nexus raw repo -->
+ <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw</onap.nexus.rawrepo.baseurl.upload>
+ <onap.nexus.rawrepo.baseurl.download>
+ https://nexus.onap.org/service/local/repositories/raw/content
+ </onap.nexus.rawrepo.baseurl.download>
+ <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
+ <!-- properties for Nexus Docker registry -->
+ <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
+ <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release>
</properties>
<distributionManagement>
<repository>
- <id>ecomp-releases</id>
+ <id>releases</id>
<url>${onap.nexus.url}/content/repositories/releases</url>
</repository>
<snapshotRepository>
- <id>ecomp-snapshots</id>
+ <id>snapshots</id>
<url>${onap.nexus.url}/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<configuration>
<nexusUrl>${onap.nexus.url}</nexusUrl>
<stagingProfileId>176c31dfe190a</stagingProfileId>
- <serverId>ecomp-staging</serverId>
+ <serverId>staging</serverId>
</configuration>
</plugin>
<plugin>
</dependencies>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.4</version>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M1</version>
<executions>
<execution>
- <id>check-dependencies-version</id>
- <phase>validate</phase>
+ <id>enforce-no-snapshots</id>
<goals>
- <goal>display-dependency-updates</goal>
+ <goal>enforce</goal>
</goals>
<configuration>
- <!--<rulesUri>https://git.onap.org/oparent/plain/oparent/versions/src/main/resources/onap-versions/ruleset.xml</rulesUri>-->
+ <rules>
+ <requireReleaseDeps>
+ <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
+ <onlyWhenRelease>true</onlyWhenRelease>
+ <level>WARN</level>
+ </requireReleaseDeps>
+ </rules>
</configuration>
</execution>
</executions>
<artifactId>maven-site-plugin</artifactId>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
</plugin>
</plugins>
</build>