dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 1 | <!--* ============LICENSE_START==================================================== |
| 2 | * =========================================================================== |
| 3 | * org.onap.aaf |
| 4 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 5 | * =========================================================================== |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | * ============LICENSE_END==================================================== |
| 18 | * --> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 20 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
ATT default cloud user | 17b1b97 | 2017-08-31 21:34:47 +0000 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
dglFromAtt | 1f1ccb1 | 2019-02-21 19:21:32 +0000 | [diff] [blame] | 23 | <groupId>org.onap.dmaap.buscontroller</groupId> |
dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 24 | <artifactId>parent</artifactId> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 25 | <version>${revision}</version> |
Jessica Wagantall | 9af8451 | 2017-09-08 14:38:04 -0700 | [diff] [blame] | 26 | <name>dmaap-buscontroller</name> |
dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 27 | <packaging>pom</packaging> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 28 | |
ATT default cloud user | 19c5178 | 2017-09-01 22:03:23 +0000 | [diff] [blame] | 29 | <parent> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 30 | <groupId>org.onap.oparent</groupId> |
| 31 | <artifactId>oparent</artifactId> |
| 32 | <version>3.2.0</version> |
ATT default cloud user | 19c5178 | 2017-09-01 22:03:23 +0000 | [diff] [blame] | 33 | </parent> |
ATT default cloud user | 17b1b97 | 2017-08-31 21:34:47 +0000 | [diff] [blame] | 34 | |
dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 35 | <properties> |
david.mcweeney | df83df8 | 2021-03-26 12:00:37 +0000 | [diff] [blame] | 36 | <revision>2.0.6-SNAPSHOT</revision> |
dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 37 | <multiproject.basedir>${basedir}</multiproject.basedir> |
efiacor | f506edc | 2021-03-05 14:18:39 +0000 | [diff] [blame] | 38 | <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
efiacor | f506edc | 2021-03-05 14:18:39 +0000 | [diff] [blame] | 40 | <skip.docker.build>false</skip.docker.build> |
| 41 | <skip.docker.tag>false</skip.docker.tag> |
| 42 | <skip.docker.push>false</skip.docker.push> |
efiacor | f506edc | 2021-03-05 14:18:39 +0000 | [diff] [blame] | 43 | <docker.verbose>true</docker.verbose> |
| 44 | <docker.apiVersion>2.2.54</docker.apiVersion> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 45 | <maven.compiler.source>11</maven.compiler.source> |
| 46 | <maven.compiler.target>11</maven.compiler.target> |
| 47 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 48 | <docker.image.root>onap/dmaap/</docker.image.root> |
| 49 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 50 | <docker.push.registry>nexus3.onap.org:10003</docker.push.registry> |
| 51 | <timestamp>${maven.build.timestamp}</timestamp> |
| 52 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 53 | <sonar.language>java</sonar.language> |
| 54 | <sonar.skip>false</sonar.skip> |
| 55 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports |
| 56 | </sonar.surefire.reportsPath> |
| 57 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 58 | <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${project.artifactId}/${revision} |
| 59 | </sitePath> |
dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 60 | </properties> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 61 | <modules> |
| 62 | <module>dmaap-bc</module> |
| 63 | <module>dbc-client</module> |
| 64 | </modules> |
sandovalfr | 7f7da1e | 2019-03-04 12:17:58 -0500 | [diff] [blame] | 65 | <build> |
| 66 | <plugins> |
sandovalfr | 7f7da1e | 2019-03-04 12:17:58 -0500 | [diff] [blame] | 67 | </plugins> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 68 | <pluginManagement> |
| 69 | <plugins> |
| 70 | <plugin> |
| 71 | <groupId>org.apache.maven.plugins</groupId> |
| 72 | <artifactId>maven-surefire-plugin</artifactId> |
| 73 | <configuration> |
| 74 | <excludes> |
| 75 | </excludes> |
| 76 | <argLine> |
| 77 | ${surefireArgLine} --illegal-access=permit |
| 78 | </argLine> |
| 79 | </configuration> |
| 80 | </plugin> |
| 81 | <plugin> |
| 82 | <groupId>org.apache.maven.plugins</groupId> |
| 83 | <artifactId>maven-failsafe-plugin</artifactId> |
| 84 | <configuration> |
| 85 | <argLine> |
| 86 | --illegal-access=permit |
| 87 | </argLine> |
| 88 | </configuration> |
| 89 | </plugin> |
| 90 | <plugin> |
| 91 | <groupId>org.codehaus.mojo</groupId> |
| 92 | <artifactId>flatten-maven-plugin</artifactId> |
| 93 | <version>1.0.1</version> |
| 94 | <configuration> |
| 95 | <updatePomFile>true</updatePomFile> |
| 96 | <outputDirectory>target</outputDirectory> |
| 97 | </configuration> |
| 98 | <executions> |
| 99 | <execution> |
| 100 | <id>flatten</id> |
| 101 | <phase>process-resources</phase> |
| 102 | <goals> |
| 103 | <goal>flatten</goal> |
| 104 | </goals> |
| 105 | </execution> |
| 106 | </executions> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 110 | <executions> |
| 111 | <execution> |
| 112 | <id>onap-java-style</id> |
| 113 | <configuration> |
| 114 | <consoleOutput>false</consoleOutput> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-compiler-plugin</artifactId> |
| 122 | <configuration> |
| 123 | <source>${maven.compiler.source}</source> |
| 124 | <target>${maven.compiler.target}</target> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | <plugin> |
| 128 | <groupId>org.apache.maven.plugins</groupId> |
| 129 | <artifactId>maven-source-plugin</artifactId> |
| 130 | <version>2.2.1</version> |
| 131 | <executions> |
| 132 | <execution> |
| 133 | <id>attach-sources</id> |
| 134 | <goals> |
| 135 | <goal>jar-no-fork</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | <plugin> |
| 141 | <groupId>org.codehaus.gmaven</groupId> |
| 142 | <artifactId>gmaven-plugin</artifactId> |
| 143 | <version>${gmaven-plugin.version}</version> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <phase>validate</phase> |
| 147 | <goals> |
| 148 | <goal>execute</goal> |
| 149 | </goals> |
| 150 | <configuration> |
| 151 | <properties> |
| 152 | <ver>${project.version}</ver> |
| 153 | </properties> |
| 154 | <!-- Setup image tags per https://wiki.onap.org/display/DW/Independent+Versioning+and+Release+Process#IndependentVersioningandReleaseProcess-StandardizedDockerTagging --> |
| 155 | <source> |
| 156 | println 'ver: ' + project.properties['ver']; |
| 157 | if (project.properties['ver'].endsWith("-SNAPSHOT")) { |
| 158 | project.properties['dockertag1'] = project.properties['ver'] + "-latest"; |
| 159 | project.properties['dockertag2'] = project.properties['ver'] + "-" + project.properties['timestamp']; |
| 160 | } else { |
| 161 | project.properties['dockertag1'] = project.properties['ver'] + "-STAGING-latest"; |
| 162 | project.properties['dockertag2'] = project.properties['ver'] + "-STAGING-" + project.properties['timestamp']; |
| 163 | } |
| 164 | println 'docker tag 1: ' + project.properties['dockertag1']; |
| 165 | println 'docker tag 2: ' + project.properties['dockertag2']; |
| 166 | </source> |
| 167 | </configuration> |
| 168 | </execution> |
| 169 | </executions> |
| 170 | </plugin> |
| 171 | <plugin> |
| 172 | <groupId>io.fabric8</groupId> |
| 173 | <artifactId>docker-maven-plugin</artifactId> |
| 174 | <version>${io.fabric8.version}</version> |
| 175 | <configuration> |
| 176 | <skipBuild>${docker.skip.build}</skipBuild> |
| 177 | <verbose>${docker.verbose}</verbose> |
| 178 | <apiVersion>${docker.apiVersion}</apiVersion> |
| 179 | <pullRegistry>${docker.pull.registry}</pullRegistry> |
| 180 | <pushRegistry>${docker.push.registry}</pushRegistry> |
| 181 | </configuration> |
| 182 | </plugin> |
| 183 | <plugin> |
| 184 | <groupId>org.codehaus.mojo</groupId> |
| 185 | <artifactId>properties-maven-plugin</artifactId> |
| 186 | <version>1.0.0</version> |
| 187 | <executions> |
| 188 | <execution> |
| 189 | <phase>validate</phase> |
| 190 | <goals> |
| 191 | <goal>read-project-properties</goal> |
| 192 | </goals> |
| 193 | <configuration> |
| 194 | <files> |
| 195 | <file>../version.properties</file> |
| 196 | </files> |
| 197 | </configuration> |
| 198 | </execution> |
| 199 | </executions> |
| 200 | </plugin> |
| 201 | </plugins> |
| 202 | </pluginManagement> |
sandovalfr | 7f7da1e | 2019-03-04 12:17:58 -0500 | [diff] [blame] | 203 | </build> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame^] | 204 | <pluginRepositories> |
| 205 | <pluginRepository> |
| 206 | <id>onap-plugin-snapshots</id> |
| 207 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 208 | </pluginRepository> |
| 209 | </pluginRepositories> |
ATT default cloud user | 17b1b97 | 2017-08-31 21:34:47 +0000 | [diff] [blame] | 210 | </project> |