summaryrefslogtreecommitdiffstats
path: root/odlparent/feature-repo-parent
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2018-12-18 16:05:41 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2018-12-18 16:05:41 -0500
commit3beea0e535215ac127e68af16ff78d9cffeafd11 (patch)
treea4832ec7e602bbf9e47d5f8c48e767d13f53e89a /odlparent/feature-repo-parent
parentd5125039dd3176bc27dbf6f19dc12c793f66448a (diff)
Generate odlparent poms from template
Updated ccsdk/parent to use a common pom template to generate all the odlparent poms, which should be identical except for their parents. Change-Id: I1cfcff7191ca95434e390d5cf35651c0ad40705d Issue-ID: CCSDK-857 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'odlparent/feature-repo-parent')
-rw-r--r--[-rwxr-xr-x]odlparent/feature-repo-parent/pom.xml127
1 files changed, 119 insertions, 8 deletions
diff --git a/odlparent/feature-repo-parent/pom.xml b/odlparent/feature-repo-parent/pom.xml
index 8e8f7fdc..0eb8026d 100755..100644
--- a/odlparent/feature-repo-parent/pom.xml
+++ b/odlparent/feature-repo-parent/pom.xml
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
+<!--
+ PLEASE READ !!!!!
+
+ This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
+
+ Any updates needed should be made to that template and not to the generated pom.xml file
+-->
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
@@ -100,7 +107,6 @@
<sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
-
<!-- Support libraries used by OpenDaylight -->
<odl.mdsal.version>1.7.3</odl.mdsal.version>
<odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
@@ -180,6 +186,9 @@
<eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
<tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
+
+ <glassfish.version>2.27</glassfish.version>
+ <skip.karaf.featureTest>true</skip.karaf.featureTest>
</properties>
<profiles>
@@ -414,6 +423,57 @@
<!-- End of profiles from ONAP oparent -->
+ <profile>
+ <activation>
+ <file>
+ <exists>src/main/yang</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yang-maven-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.mdsal</groupId>
+ <artifactId>maven-sal-api-gen-plugin</artifactId>
+ <version>0.12.1</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>sal-rest-docgen-maven</artifactId>
+ <version>${odl.mdsal.version}</version>
+ <type>jar</type>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate-sources</goal>
+ </goals>
+ <configuration>
+ <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
+ <codeGenerators>
+ <generator>
+ <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
+ <outputBaseDir>${salGeneratorPath}</outputBaseDir>
+ </generator>
+ <generator>
+ <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
+ <outputBaseDir>target/swagger</outputBaseDir>
+ </generator>
+ </codeGenerators>
+ <inspectDependencies>true</inspectDependencies>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
@@ -434,28 +494,79 @@
<scope>import</scope>
</dependency>
<dependency>
- <groupId>org.onap.sdnc.core</groupId>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>sal-binding-config</artifactId>
+ <version>${odl.mdsal.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>sal-test-model</artifactId>
+ <version>${odl.mdsal.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>sal-binding-broker-impl</artifactId>
+ <version>${odl.mdsal.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>sal-binding-broker-impl</artifactId>
+ <version>${odl.mdsal.version}</version>
+ <type>test-jar</type>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.ccsdk.sli.core</groupId>
<artifactId>sli-common</artifactId>
- <version>${sdnctl.sli.version}</version>
+ <version>${ccsdk.sli.core.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.sdnc.core</groupId>
+ <groupId>org.onap.ccsdk.sli.core</groupId>
<artifactId>sli-provider</artifactId>
- <version>${sdnctl.sli.version}</version>
+ <version>${ccsdk.sli.core.version}</version>
</dependency>
-
<dependency>
- <groupId>org.onap.sdnc.core</groupId>
+ <groupId>org.onap.ccsdk.sli.core</groupId>
+ <artifactId>ccsdk-sli</artifactId>
+ <version>${ccsdk.sli.core.version}</version>
+ <type>xml</type>
+ <classifier>features</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.ccsdk.sli.adaptors</groupId>
<artifactId>aai-service-provider</artifactId>
<version>${sdnctl.aai.service.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.sdnc.core</groupId>
+ <groupId>org.onap.ccsdk.sli.core</groupId>
<artifactId>dblib-provider</artifactId>
<version>${sdnctl.dblib.version}</version>
</dependency>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>6.11</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
<dependency>
<groupId>com.att.eelf</groupId>
<artifactId>eelf-core</artifactId>