diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-11-07 11:21:03 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-11-07 11:30:51 -0600 |
commit | c701407539324d60f32be496e5292808829ae1d6 (patch) | |
tree | d650a9d1a820af98e99796e98cffdb77e018c400 /sidecar/pom.xml | |
parent | 25129101f6735146df78a6c94fac9fca510d585d (diff) |
Pom OParent, other hierarchy
Issue-ID: AAF-613
Change-Id: I14531b546aebb9e5326ddc67eb3ec4eb9e17dac1
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'sidecar/pom.xml')
-rw-r--r-- | sidecar/pom.xml | 57 |
1 files changed, 48 insertions, 9 deletions
diff --git a/sidecar/pom.xml b/sidecar/pom.xml index 86658f7..def9f20 100644 --- a/sidecar/pom.xml +++ b/sidecar/pom.xml @@ -18,26 +18,52 @@ * ============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/xsd/maven-4.0.0.xsd"> + <parent> + <groupId>org.onap.aaf.cadi</groupId> + <artifactId>parent</artifactId> + <version>2.1.7-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.onap.aaf.cadi.sidecar</groupId> <artifactId>sidecar</artifactId> - <version>2.1.2-SNAPSHOT</version> - <name>aaf-cadi-sidecar</name> + <name>Sidecar Parent</name> <packaging>pom</packaging> - <parent> - <groupId>org.onap.oparent</groupId> - <artifactId>oparent</artifactId> - <version>1.2.1</version> - <relativePath /> - </parent> - <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> + <spring.boot.version>2.0.3.RELEASE</spring.boot.version> + <docker.location>${basedir}/target</docker.location> + <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> --> </properties> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.onap.aaf.cadi.sidecar</groupId> + <artifactId>fproxy</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.onap.aaf.cadi.sidecar</groupId> + <artifactId>rproxy</artifactId> + <version>${project.version}</version> + </dependency> + + <dependency> + <!-- Import dependency management from Spring Boot --> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-dependencies</artifactId> + <version>${spring.boot.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> + </dependencyManagement> + <!-- ============================================================== --> <!-- Define sub-projects (modules) --> <!-- ============================================================== --> @@ -48,6 +74,19 @@ </modules> <build> + <plugins> + <!-- Sidecare only works on Java 1.8 and above --> + <plugin> + <inherited>true</inherited> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.2</version> + <configuration> + <source>${java.version}</source> + <target>${java.version}</target> + </configuration> + </plugin> + </plugins> <pluginManagement> <plugins> <plugin> |