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> |
efiacor | b1fc08d | 2022-10-04 18:24:19 +0100 | [diff] [blame] | 36 | <revision>2.0.11-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> |
david.mcweeney | 4bc1e2b | 2021-04-23 13:11:28 +0100 | [diff] [blame] | 45 | <io.fabric8.version>0.33.0</io.fabric8.version> |
david.mcweeney | abd692f | 2021-04-22 10:08:59 +0100 | [diff] [blame] | 46 | <gmaven-plugin.version>1.5</gmaven-plugin.version> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame] | 47 | <maven.compiler.source>11</maven.compiler.source> |
| 48 | <maven.compiler.target>11</maven.compiler.target> |
| 49 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 50 | <docker.image.root>onap/dmaap/</docker.image.root> |
| 51 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 52 | <docker.push.registry>nexus3.onap.org:10003</docker.push.registry> |
| 53 | <timestamp>${maven.build.timestamp}</timestamp> |
| 54 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 55 | <sonar.language>java</sonar.language> |
| 56 | <sonar.skip>false</sonar.skip> |
| 57 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports |
| 58 | </sonar.surefire.reportsPath> |
| 59 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 60 | <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${project.artifactId}/${revision} |
| 61 | </sitePath> |
dglFromAtt | d0a915d | 2019-02-18 18:20:55 +0000 | [diff] [blame] | 62 | </properties> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame] | 63 | <modules> |
| 64 | <module>dmaap-bc</module> |
| 65 | <module>dbc-client</module> |
| 66 | </modules> |
sandovalfr | 7f7da1e | 2019-03-04 12:17:58 -0500 | [diff] [blame] | 67 | <build> |
| 68 | <plugins> |
sandovalfr | 7f7da1e | 2019-03-04 12:17:58 -0500 | [diff] [blame] | 69 | </plugins> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame] | 70 | <pluginManagement> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-surefire-plugin</artifactId> |
| 75 | <configuration> |
| 76 | <excludes> |
| 77 | </excludes> |
| 78 | <argLine> |
| 79 | ${surefireArgLine} --illegal-access=permit |
| 80 | </argLine> |
| 81 | </configuration> |
| 82 | </plugin> |
| 83 | <plugin> |
| 84 | <groupId>org.apache.maven.plugins</groupId> |
| 85 | <artifactId>maven-failsafe-plugin</artifactId> |
| 86 | <configuration> |
| 87 | <argLine> |
| 88 | --illegal-access=permit |
| 89 | </argLine> |
| 90 | </configuration> |
| 91 | </plugin> |
| 92 | <plugin> |
| 93 | <groupId>org.codehaus.mojo</groupId> |
| 94 | <artifactId>flatten-maven-plugin</artifactId> |
| 95 | <version>1.0.1</version> |
| 96 | <configuration> |
| 97 | <updatePomFile>true</updatePomFile> |
| 98 | <outputDirectory>target</outputDirectory> |
| 99 | </configuration> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>flatten</id> |
| 103 | <phase>process-resources</phase> |
| 104 | <goals> |
| 105 | <goal>flatten</goal> |
| 106 | </goals> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 112 | <executions> |
| 113 | <execution> |
| 114 | <id>onap-java-style</id> |
| 115 | <configuration> |
| 116 | <consoleOutput>false</consoleOutput> |
| 117 | </configuration> |
| 118 | </execution> |
| 119 | </executions> |
| 120 | </plugin> |
| 121 | <plugin> |
| 122 | <groupId>org.apache.maven.plugins</groupId> |
| 123 | <artifactId>maven-compiler-plugin</artifactId> |
| 124 | <configuration> |
| 125 | <source>${maven.compiler.source}</source> |
| 126 | <target>${maven.compiler.target}</target> |
| 127 | </configuration> |
| 128 | </plugin> |
| 129 | <plugin> |
| 130 | <groupId>org.apache.maven.plugins</groupId> |
| 131 | <artifactId>maven-source-plugin</artifactId> |
| 132 | <version>2.2.1</version> |
| 133 | <executions> |
| 134 | <execution> |
| 135 | <id>attach-sources</id> |
| 136 | <goals> |
| 137 | <goal>jar-no-fork</goal> |
| 138 | </goals> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | <plugin> |
| 143 | <groupId>org.codehaus.gmaven</groupId> |
| 144 | <artifactId>gmaven-plugin</artifactId> |
| 145 | <version>${gmaven-plugin.version}</version> |
| 146 | <executions> |
| 147 | <execution> |
| 148 | <phase>validate</phase> |
| 149 | <goals> |
| 150 | <goal>execute</goal> |
| 151 | </goals> |
| 152 | <configuration> |
| 153 | <properties> |
| 154 | <ver>${project.version}</ver> |
| 155 | </properties> |
| 156 | <!-- Setup image tags per https://wiki.onap.org/display/DW/Independent+Versioning+and+Release+Process#IndependentVersioningandReleaseProcess-StandardizedDockerTagging --> |
| 157 | <source> |
| 158 | println 'ver: ' + project.properties['ver']; |
| 159 | if (project.properties['ver'].endsWith("-SNAPSHOT")) { |
| 160 | project.properties['dockertag1'] = project.properties['ver'] + "-latest"; |
| 161 | project.properties['dockertag2'] = project.properties['ver'] + "-" + project.properties['timestamp']; |
| 162 | } else { |
| 163 | project.properties['dockertag1'] = project.properties['ver'] + "-STAGING-latest"; |
| 164 | project.properties['dockertag2'] = project.properties['ver'] + "-STAGING-" + project.properties['timestamp']; |
| 165 | } |
| 166 | println 'docker tag 1: ' + project.properties['dockertag1']; |
| 167 | println 'docker tag 2: ' + project.properties['dockertag2']; |
| 168 | </source> |
| 169 | </configuration> |
| 170 | </execution> |
| 171 | </executions> |
| 172 | </plugin> |
| 173 | <plugin> |
| 174 | <groupId>io.fabric8</groupId> |
| 175 | <artifactId>docker-maven-plugin</artifactId> |
| 176 | <version>${io.fabric8.version}</version> |
| 177 | <configuration> |
david.mcweeney | abd692f | 2021-04-22 10:08:59 +0100 | [diff] [blame] | 178 | <skipBuild>${skip.docker.build}</skipBuild> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame] | 179 | <verbose>${docker.verbose}</verbose> |
| 180 | <apiVersion>${docker.apiVersion}</apiVersion> |
| 181 | <pullRegistry>${docker.pull.registry}</pullRegistry> |
| 182 | <pushRegistry>${docker.push.registry}</pushRegistry> |
| 183 | </configuration> |
| 184 | </plugin> |
| 185 | <plugin> |
| 186 | <groupId>org.codehaus.mojo</groupId> |
| 187 | <artifactId>properties-maven-plugin</artifactId> |
| 188 | <version>1.0.0</version> |
| 189 | <executions> |
| 190 | <execution> |
| 191 | <phase>validate</phase> |
| 192 | <goals> |
| 193 | <goal>read-project-properties</goal> |
| 194 | </goals> |
| 195 | <configuration> |
| 196 | <files> |
| 197 | <file>../version.properties</file> |
| 198 | </files> |
| 199 | </configuration> |
| 200 | </execution> |
| 201 | </executions> |
| 202 | </plugin> |
| 203 | </plugins> |
| 204 | </pluginManagement> |
sandovalfr | 7f7da1e | 2019-03-04 12:17:58 -0500 | [diff] [blame] | 205 | </build> |
efiacor | 71d3d09 | 2021-04-08 16:40:06 +0100 | [diff] [blame] | 206 | <pluginRepositories> |
| 207 | <pluginRepository> |
| 208 | <id>onap-plugin-snapshots</id> |
| 209 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 210 | </pluginRepository> |
| 211 | </pluginRepositories> |
ATT default cloud user | 17b1b97 | 2017-08-31 21:34:47 +0000 | [diff] [blame] | 212 | </project> |