Add dependencyManagement sections 67/62167/3
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 23 Aug 2018 17:38:15 +0000 (13:38 -0400)
committerGary Wu <gary.i.wu@huawei.com>
Thu, 23 Aug 2018 20:53:06 +0000 (13:53 -0700)
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>
.gitignore
dependencies-clm/pom.xml [new file with mode: 0644]
dependencies/pom.xml [new file with mode: 0644]
oparent/pom.xml
pom.xml

index 46322c9..2ef78d4 100644 (file)
@@ -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 (file)
index 0000000..7fad514
--- /dev/null
@@ -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 (file)
index 0000000..677637a
--- /dev/null
@@ -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>
index 4a733b2..2c5c5b0 100644 (file)
       </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 (file)
--- 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>