You can build most of the projects directly in IntelliJ - but everything can be built using a root pom.xml example (docker is required for dcae-inventory)
Clone/pull all repos sh script
Root pom.xml
This is a root reactor pom.xml that can be used to build all or parts of onap
Some repos like dcae-inventory will require docker installed to build the images.
for speed build with all 5 repos in (~.m2/settings.xml) and the maven options below
mvn clean install -U -DskipTests=true -Dadditionalparam=-Xdoclint:none |
---|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap</groupId>
<artifactId>org.onap</artifactId>
<version>1.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>onap.root</name>
<url>http://maven.apache.org</url>
<modules>
<module>aai/aai-common</module> <!-- needs yang exclude -->
<module>aai/aai-service</module>
<module>aai/logging-service</module>
<module>aai/model-loader</module>
<module>aai/rest-client</module> <!-- org.openecomp.aai.logging-service:logging-api:jar:1.0.0 solved by staging onap repo-->
<module>aai/router-core</module>
<module>aai/search-data-service</module>
<module>appc/deployment</module> <!-- emf resolution via public onap repo -->
<module>dcae/apod/analytics</module>
<module>dcae/collectors/ves</module>
<module>dcae/controller/analytics</module>
<module>dcae/controller/dcae-controller-core</module>
<module>dcae/controller/dcae-controller-service/dcae-controller-service-dmaap-drsub</module>
<module>dcae/controller/dcae-controller-service-cdap</module>
<module>dcae/controller/dcae-controller-service-docker</module>
<module>dcae/controller/dcae-controller-service-vm</module>
<module>dcae/dcae-inventory</module> <!-- required docker to build images -->
<module>dcae/demo</module>
<module>dcae/dmaapbc</module>
<module>dcae/operation/utils</module> <!-- emf solved by public onap repo -->
<module>demo</module> <!-- error in parent refs in sample_plugin -->
<module>ecompsdkos/ecomp-sdk</module>
<module>ecompsdkos/ecomp-sdk/epsdk-app-os</module> <!-- until PORTAL-8 -->
<module>mso</module>
<module>ncomp/cdap</module>
<module>ncomp/core</module>
<module>ncomp/docker</module>
<module>ncomp/maven</module>
<module>ncomp/openstack</module>
<module>ncomp/utils</module>
<module>policy/common</module>
<module>policy/docker</module>
<module>policy/drools-applications</module>
<module>policy/drools-pdp</module>
<module>policy/engine</module>
<module>portal/ecomp-portal-FE-common</module> <!-- parent not referenced -->
<module>portal</module>
<module>sdc</module> <!-- in catalog-be org/openrdf/sesame/sesame-rio-rdfjson/2.7.10/sesame-rio-rdfjson-2.7.10.jar; error in opening zip file?-->
<module>sdnc/adaptors</module> <!-- sdnc/sli/aai/AAIClient.java:30 in sdnc/core/sliPluginUtils-->
<module>sdnc/core</module> <!-- Felix issues in sdnc/core/slapi/provider -->
<module>sdnc/northbound</module>
<module>sdnc/oam</module>
<module>sdnc/plugins</module>
<module>ui/dmaapbc</module>
<module>vid</module>
</modules>
</project>