diff options
-rw-r--r-- | .gitignore | 64 | ||||
-rw-r--r-- | binding-parent/pom.xml | 138 | ||||
-rw-r--r-- | bundle-parent/pom.xml | 38 | ||||
-rw-r--r-- | feature-repo-parent/pom.xml | 37 | ||||
-rw-r--r-- | odlparent-lite/pom.xml | 41 | ||||
-rwxr-xr-x | pom.xml | 46 | ||||
-rw-r--r-- | single-feature-parent/pom.xml | 45 | ||||
-rw-r--r-- | version.properties | 34 |
8 files changed, 443 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..222b9d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +# ============LICENSE_START========================================== +# ONAP : APPC +# =================================================================== +# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the License); +# you may not use this software except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ECOMP is a trademark and service mark of AT&T Intellectual Property. +# ============LICENSE_END============================================ +# Target dirs in all projects +**/target/* +**/target-ide/* + +# Added for Intellij IDEA IDE +**/.idea/* +*.iml +**/*.iml +/.idea/ + +# Used to not upload Blackduck Scans +**/appc_bdio.jsonld +**/blackDuckHubProjectName.txt +**/blackDuckHubProjectVersionName.txt + +# Generated models and features +**/bin/* + +# Checkstyle files +**/.checkstyle + + +# MANIFEST.MF is updated on every clean install +**/src/main/resources/META-INF/ + +# Karaf Assembly +#/appc-adapters/appc-*-adapter/appc-*-adapter-installer/src/assembly/* + +# Used to not upload any maven dependency graph outputs +**/deptree.text + +.project + +*.prefs +.classpath +**/.classpath +/target/ +logs/ +debug-logs/ +**/.settings/* +**/*.iml +/.idea/ +/bin/ diff --git a/binding-parent/pom.xml b/binding-parent/pom.xml new file mode 100644 index 0000000..991e3ab --- /dev/null +++ b/binding-parent/pom.xml @@ -0,0 +1,138 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +============================================================================= +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<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/maven-v4_0_0.xsd"> + + + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.appc.parent</groupId> + <artifactId>binding-parent</artifactId> + <version>1.4.0-SNAPSHOT</version> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>binding-parent</artifactId> + <version>1.1.0-SNAPSHOT</version> + <relativePath /> + </parent> + + <properties> + <!-- VERSIONS --> + + <assertj.version>3.9.0</assertj.version> + <apache.sshd.version>1.6.0</apache.sshd.version> + <cdp.pal.version>1.1.25.8-oss</cdp.pal.version> + <mariadb.client.version>2.1.1</mariadb.client.version> + <snakeyaml.version>1.15</snakeyaml.version> + <dmaap.client.version>1.1.5</dmaap.client.version> + <eelf.version>1.0.0</eelf.version> + <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version> + <cadi-version>1.3.0</cadi-version> + <inno-version>1.2.11</inno-version> + <dme2-version>3.1.200</dme2-version> + <bundle.plugin.version>2.5.0</bundle.plugin.version> + <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version> + <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version> + <apache.httpcomponents.version>4.4</apache.httpcomponents.version> + <commons.lang3.version>3.4</commons.lang3.version> + <antlr.version>4.5.1</antlr.version> + <logback.version>1.2.3</logback.version> + <toscalib.version>1.1.0</toscalib.version> + <sdc-client.version>1.3.0</sdc-client.version> + <!-- Should match the version used by sdc-distribution-client --> + <saClientLibrary.version>0.0.1</saClientLibrary.version> + <!-- Should match the version used by sdc-distribution-client --> + <cambriaClient.version>0.0.1</cambriaClient.version> + <jackson.yml.version>2.3.2</jackson.yml.version> + <tosca.datatype.version>1.1.0</tosca.datatype.version> + <velocity.version>1.7</velocity.version> + <xmlunit.version>1.6</xmlunit.version> + <xmlunit-core.version>2.3.0</xmlunit-core.version> + + <!-- SONAR --> + <sonar.language>java</sonar.language> + <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> + <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + + <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath> + <maven.javadoc.failOnError>false</maven.javadoc.failOnError> + <!-- ADDING TO SUPPORT APPC-PROVIDER-MODEL yang-gen-sal FOLDER GENERATION --> + <yang.file.directory>src/main/yang</yang.file.directory> + <features.file>features.xml</features.file> + <jmxGeneratorPath>target/generated-sources/yang-gen-config</jmxGeneratorPath> + <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> --> + + <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> + + <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version> + <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version> + <commons.collections.version>3.2.2</commons.collections.version> + <odl.sal.api.gen.plugin.version>0.12.3</odl.sal.api.gen.plugin.version> + <odl.yangtools.version>2.0.9</odl.yangtools.version> + <odl.mdsal.yang.binding.version>0.12.3</odl.mdsal.yang.binding.version> + <odl.mdsal.version>1.7.3</odl.mdsal.version> + <odl.yang.jmx.generator.version>0.8.3</odl.yang.jmx.generator.version> + <odl.ietf-yang-types.version>2010.09.24.11.1</odl.ietf-yang-types.version> + <odl.ietf-inet-types.version>2010.09.24.11.1</odl.ietf-inet-types.version> + <odl.commons.opendaylight.version>3.1.3</odl.commons.opendaylight.version> + <odl.controller.config.api.version>0.8.3</odl.controller.config.api.version> + <odl.karaf.empty.distro.version>1.8.3-Carbon</odl.karaf.empty.distro.version> + + </properties> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.opendaylight.controller</groupId> + <artifactId>config-api</artifactId> + <version>${odl.controller.config.api.version}</version> + </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>${snakeyaml.version}</version> + </dependency> + <dependency> + <groupId>equinoxSDK381</groupId> + <artifactId>org.eclipse.osgi</artifactId> + <version>${equinox.osgi.version}</version> + </dependency> + <dependency> + <groupId>org.mariadb.jdbc</groupId> + <artifactId>mariadb-java-client</artifactId> + <version>${mariadb.client.version}</version> + </dependency> + <dependency> + <groupId>org.apache.sshd</groupId> + <artifactId>sshd-core</artifactId> + <version>${apache.sshd.version}</version> + </dependency> + <dependency> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity</artifactId> + <version>${velocity.version}</version> + </dependency> + </dependencies> + </dependencyManagement> +</project> diff --git a/bundle-parent/pom.xml b/bundle-parent/pom.xml new file mode 100644 index 0000000..81d7e9b --- /dev/null +++ b/bundle-parent/pom.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +============================================================================= +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<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/maven-v4_0_0.xsd"> + + + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.appc.parent</groupId> + <artifactId>bundle-parent</artifactId> + <version>1.4.0-SNAPSHOT</version> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>bundle-parent</artifactId> + <version>1.1.0-SNAPSHOT</version> + <relativePath /> + </parent> + +</project> diff --git a/feature-repo-parent/pom.xml b/feature-repo-parent/pom.xml new file mode 100644 index 0000000..f898cfe --- /dev/null +++ b/feature-repo-parent/pom.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +============================================================================= +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<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/maven-v4_0_0.xsd"> + + + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.appc.parent</groupId> + <artifactId>feature-repo-parent</artifactId> + <version>1.4.0-SNAPSHOT</version> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>feature-repo-parent</artifactId> + <version>1.1.0-SNAPSHOT</version> + <relativePath /> + </parent> +</project> diff --git a/odlparent-lite/pom.xml b/odlparent-lite/pom.xml new file mode 100644 index 0000000..e01ea77 --- /dev/null +++ b/odlparent-lite/pom.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +============================================================================= +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<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/maven-v4_0_0.xsd"> + + + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.appc.parent</groupId> + <artifactId>odlparent-lite</artifactId> + <version>1.4.0-SNAPSHOT</version> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>odlparent-lite</artifactId> + <version>1.1.0-SNAPSHOT</version> + <relativePath /> + </parent> + + <properties> + <snakeyaml.version>1.12</snakeyaml.version> + </properties> +</project> @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +============================================================================= +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<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/maven-v4_0_0.xsd"> + + + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.appc.parent</groupId> + <artifactId>parent</artifactId> + <version>1.4.0-SNAPSHOT</version> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>odlparent-lite</artifactId> + <version>1.1.0-SNAPSHOT</version> + <relativePath /> + </parent> + + <modules> + <module>binding-parent</module> + <module>bundle-parent</module> + <module>feature-repo-parent</module> + <module>odlparent-lite</module> + <module>single-feature-parent</module> + </modules> + +</project> diff --git a/single-feature-parent/pom.xml b/single-feature-parent/pom.xml new file mode 100644 index 0000000..ee2c582 --- /dev/null +++ b/single-feature-parent/pom.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +============================================================================= +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<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/maven-v4_0_0.xsd"> + + + <modelVersion>4.0.0</modelVersion> + <packaging>pom</packaging> + <groupId>org.onap.appc.parent</groupId> + <artifactId>single-feature-parent</artifactId> + <version>1.4.0-SNAPSHOT</version> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>single-feature-parent</artifactId> + <version>1.1.0-SNAPSHOT</version> + <relativePath /> + </parent> + + <properties> + <skip.karaf.featureTest>true</skip.karaf.featureTest> + <commons.collections.version>3.2.2</commons.collections.version> + <snakeyaml.version>1.12</snakeyaml.version> + <tosca.datatype.version>1.1.0</tosca.datatype.version> + <velocity.version>1.7</velocity.version> + </properties> +</project> diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..055e6b4 --- /dev/null +++ b/version.properties @@ -0,0 +1,34 @@ +# ============LICENSE_START========================================== +# ONAP : APPC +# =================================================================== +# Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the License); +# you may not use this software except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ============LICENSE_END============================================ + +########################################################### +# Versioning variables +# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) +# because they are used in Jenkins, whose plug-in doesn't support + +release_name=1 +sprint_number=4 +feature_revision=0 + +base_version=${release_name}.${sprint_number}.${feature_revision} + +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT |