aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-08-23 13:38:15 -0400
committerGary Wu <gary.i.wu@huawei.com>2018-08-23 13:53:06 -0700
commit3d0fef413c57824f1410a5b7f5fddf5943b909bd (patch)
tree41b55dc2773c243d8685e126135c3545931f1cf8
parent3299e5ae951bd07a4c9519153a1e0b1de79181fe (diff)
Add dependencyManagement sections
Add depedencyManagement sub-module that declare dependecies. And we are adding a submodule that declares. Change-Id: I57dd301968cd9dbb55c79ab10df6de0cda6a21a5 Issue-ID: INT-619 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--.gitignore1
-rw-r--r--dependencies-clm/pom.xml33
-rw-r--r--dependencies/pom.xml37
-rw-r--r--oparent/pom.xml11
-rw-r--r--pom.xml2
5 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 46322c9..2ef78d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.DS_Store
target
.project
.settings
diff --git a/dependencies-clm/pom.xml b/dependencies-clm/pom.xml
new file mode 100644
index 0000000..7fad514
--- /dev/null
+++ b/dependencies-clm/pom.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2018 AT&T Technologies
+
+ 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.
+-->
+<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>
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <relativePath>../oparent</relativePath>
+ </parent>
+ <artifactId>dependencies-clm</artifactId>
+ <name>oparent/dependencies-clm</name>
+ <dependencies>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/dependencies/pom.xml b/dependencies/pom.xml
new file mode 100644
index 0000000..677637a
--- /dev/null
+++ b/dependencies/pom.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2018 AT&T Technologies
+
+ 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.
+-->
+<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>
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>version</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <relativePath>..</relativePath>
+ </parent>
+ <artifactId>dependencies</artifactId>
+ <name>oparent/dependencies</name>
+ <packaging>pom</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>25.1-jre</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+</project>
diff --git a/oparent/pom.xml b/oparent/pom.xml
index 4a733b2..2c5c5b0 100644
--- a/oparent/pom.xml
+++ b/oparent/pom.xml
@@ -319,6 +319,17 @@
</dependencies>
</profile>
</profiles>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>dependencies</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
<build>
<pluginManagement>
<plugins>
diff --git a/pom.xml b/pom.xml
index 700e20d..cdffced 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,6 +28,8 @@
<module>license</module>
<module>oparent</module>
<module>oparent-python</module>
+ <module>dependencies</module>
+ <module>dependencies-clm</module>
</modules>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>