Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | 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"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <groupId>org.onap.sdc.dcae-d.ci</groupId> |
| 5 | <artifactId>dcae-ci-tests</artifactId> |
| 6 | <version>1.3.0-SNAPSHOT</version> |
| 7 | <name>dcae-d ci tests</name> |
| 8 | <packaging>jar</packaging> |
| 9 | <description>Tests for DCAE Designer </description> |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 10 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 11 | <properties> |
| 12 | <maven.compiler.source>1.8</maven.compiler.source> |
| 13 | <maven.compiler.target>1.8</maven.compiler.target> |
Areli, Fuss (af732p) | f8b08ea | 2018-08-26 15:26:50 +0300 | [diff] [blame] | 14 | <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 17 | <nexus.proxy>https://nexus.onap.org</nexus.proxy> |
| 18 | <staging.profile.id>176c31dfe190a</staging.profile.id> |
| 19 | <httpclient.version>4.5.5</httpclient.version> |
| 20 | <snakeyaml.version>1.21</snakeyaml.version> |
| 21 | <slf4j.version>1.7.25</slf4j.version> |
| 22 | <sonar.branch>${project.version}</sonar.branch> |
| 23 | <sonar.coverage.exclusions>**</sonar.coverage.exclusions> |
| 24 | </properties> |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 25 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 26 | <dependencies> |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 27 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 28 | <dependency> |
| 29 | <groupId>org.assertj</groupId> |
| 30 | <artifactId>assertj-core</artifactId> |
| 31 | <version>3.8.0</version> |
| 32 | <scope>compile</scope> |
| 33 | </dependency> |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 34 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 35 | <dependency> |
| 36 | <groupId>org.onap.sdc.dcae-d.dt-be-property</groupId> |
| 37 | <artifactId>DCAE-DT-PROPERTY</artifactId> |
| 38 | <version>1.3.0-SNAPSHOT</version> |
| 39 | </dependency> |
Stone, Avi (as206k) | 7db40ac | 2018-05-21 14:57:57 +0300 | [diff] [blame] | 40 | |
| 41 | <!-- Snake Yaml --> |
| 42 | <dependency> |
| 43 | <groupId>org.yaml</groupId> |
| 44 | <artifactId>snakeyaml</artifactId> |
| 45 | <version>${snakeyaml.version}</version> |
| 46 | <scope>compile</scope> |
| 47 | </dependency> |
| 48 | |
| 49 | <!-- http client --> |
| 50 | <dependency> |
| 51 | <groupId>org.apache.httpcomponents</groupId> |
| 52 | <artifactId>httpclient</artifactId> |
| 53 | <version>${httpclient.version}</version> |
| 54 | <scope>compile</scope> |
| 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
| 58 | <groupId>org.apache.httpcomponents</groupId> |
| 59 | <artifactId>httpmime</artifactId> |
| 60 | <version>${httpclient.version}</version> |
| 61 | <scope>compile</scope> |
| 62 | </dependency> |
| 63 | |
| 64 | <dependency> |
| 65 | <groupId>commons-io</groupId> |
| 66 | <artifactId>commons-io</artifactId> |
| 67 | <version>2.5</version> |
| 68 | <scope>compile</scope> |
| 69 | </dependency> |
| 70 | |
| 71 | <dependency> |
| 72 | <groupId>org.apache.commons</groupId> |
| 73 | <artifactId>commons-collections4</artifactId> |
| 74 | <version>4.1</version> |
| 75 | </dependency> |
| 76 | |
| 77 | <dependency> |
| 78 | <groupId>com.google.code.gson</groupId> |
| 79 | <artifactId>gson</artifactId> |
| 80 | <version>2.8.4</version> |
| 81 | </dependency> |
| 82 | |
| 83 | <dependency> |
| 84 | <groupId>com.googlecode.json-simple</groupId> |
| 85 | <artifactId>json-simple</artifactId> |
| 86 | <version>1.1.1</version> |
| 87 | </dependency> |
| 88 | |
| 89 | <dependency> |
| 90 | <groupId>org.slf4j</groupId> |
| 91 | <artifactId>slf4j-api</artifactId> |
| 92 | <version>${slf4j.version}</version> |
| 93 | <scope>compile</scope> |
| 94 | </dependency> |
| 95 | |
| 96 | <dependency> |
| 97 | <groupId>org.slf4j</groupId> |
| 98 | <artifactId>slf4j-simple</artifactId> |
| 99 | <version>${slf4j.version}</version> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.testng</groupId> |
| 103 | <artifactId>testng</artifactId> |
| 104 | <version>6.14.3</version> |
| 105 | <scope>compile</scope> |
| 106 | </dependency> |
| 107 | |
| 108 | <dependency> |
| 109 | <groupId>com.aventstack</groupId> |
| 110 | <artifactId>extentreports</artifactId> |
| 111 | <version>3.1.5</version> |
| 112 | <scope>compile</scope> |
| 113 | </dependency> |
| 114 | |
| 115 | </dependencies> |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 116 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 117 | <build> |
| 118 | <plugins> |
Areli, Fuss (af732p) | f8b08ea | 2018-08-26 15:26:50 +0300 | [diff] [blame] | 119 | <plugin> |
| 120 | <groupId>org.codehaus.mojo</groupId> |
| 121 | <artifactId>build-helper-maven-plugin</artifactId> |
| 122 | <version>1.8</version> |
| 123 | <executions> |
| 124 | <execution> |
| 125 | <id>parse-version</id> |
| 126 | <goals> |
| 127 | <goal>parse-version</goal> |
| 128 | </goals> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | </plugin> |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 132 | <plugin> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-assembly-plugin</artifactId> |
| 135 | <version>2.5.5</version> |
| 136 | <executions> |
| 137 | <execution> |
| 138 | <id>create.jar.with.dependencies</id> |
| 139 | <phase>package</phase> |
| 140 | <goals> |
| 141 | <goal>single</goal> |
| 142 | </goals> |
| 143 | <configuration> |
| 144 | <archive> |
| 145 | <manifest> |
| 146 | <mainClass>org.onap.dcae.ci.run.RunTestSuite</mainClass> |
| 147 | </manifest> |
| 148 | </archive> |
| 149 | <descriptorRefs> |
| 150 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 151 | </descriptorRefs> |
| 152 | </configuration> |
| 153 | </execution> |
| 154 | </executions> |
| 155 | </plugin> |
| 156 | <!-- Site Plugin --> |
| 157 | <plugin> |
| 158 | <groupId>org.apache.maven.plugins</groupId> |
| 159 | <artifactId>maven-site-plugin</artifactId> |
| 160 | <version>3.4</version> |
| 161 | <dependencies> |
| 162 | <dependency> |
| 163 | <groupId>org.apache.maven.wagon</groupId> |
| 164 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 165 | <version>2.10</version> |
| 166 | </dependency> |
| 167 | </dependencies> |
| 168 | </plugin> |
| 169 | <!-- Staging Plugin --> |
| 170 | <plugin> |
| 171 | <groupId>org.sonatype.plugins</groupId> |
| 172 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 173 | <version>1.6.7</version> |
| 174 | <extensions>true</extensions> |
| 175 | <configuration> |
| 176 | <nexusUrl>${nexus.proxy}</nexusUrl> |
| 177 | <stagingProfileId>${staging.profile.id}</stagingProfileId> |
| 178 | <serverId>ecomp-staging</serverId> |
| 179 | </configuration> |
| 180 | </plugin> |
| 181 | </plugins> |
| 182 | </build> |
Stone, Avi (as206k) | 7db40ac | 2018-05-21 14:57:57 +0300 | [diff] [blame] | 183 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 184 | <repositories> |
| 185 | <!-- LF repositories --> |
| 186 | <repository> |
| 187 | <id>ecomp-releases</id> |
| 188 | <name>Release Repository</name> |
| 189 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 190 | </repository> |
| 191 | <repository> |
| 192 | <id>ecomp-snapshots</id> |
| 193 | <name>Snapshots Repository</name> |
| 194 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 195 | </repository> |
| 196 | <repository> |
| 197 | <id>ecomp-public</id> |
| 198 | <name>Public Repository</name> |
| 199 | <url>${nexus.proxy}/content/repositories/public/</url> |
| 200 | </repository> |
| 201 | <!-- LF repositories END--> |
| 202 | </repositories> |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 203 | |
Areli, Fuss (af732p) | f8b08ea | 2018-08-26 15:26:50 +0300 | [diff] [blame] | 204 | <profiles> |
| 205 | <profile> |
| 206 | <id>docker</id> |
| 207 | <activation> |
| 208 | <activeByDefault>false</activeByDefault> |
| 209 | </activation> |
| 210 | <properties> |
| 211 | <fabric8.version>0.23.0</fabric8.version> |
| 212 | <docker.registry>nexus3.onap.org:10001</docker.registry> |
| 213 | <docker.username>docker</docker.username> |
| 214 | <docker.password>docker</docker.password> |
| 215 | <docker.namespace>onap</docker.namespace> |
| 216 | <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag> |
| 217 | <docker.latest.tag>${project.version}-latest</docker.latest.tag> |
| 218 | <docker.staging.tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</docker.staging.tag> |
| 219 | </properties> |
| 220 | <build> |
| 221 | <plugins> |
| 222 | <plugin> |
| 223 | <groupId>io.fabric8</groupId> |
| 224 | <artifactId>docker-maven-plugin</artifactId> |
| 225 | <version>${fabric8.version}</version> |
| 226 | |
| 227 | <configuration> |
| 228 | <verbose>true</verbose> |
| 229 | <apiVersion>1.23</apiVersion> |
| 230 | <registry>${docker.registry}</registry> |
| 231 | <authConfig> |
Areli, Fuss (af732p) | 160b616 | 2018-08-26 16:47:06 +0300 | [diff] [blame] | 232 | <pull> |
| 233 | <username>${docker.username}</username> |
| 234 | <password>${docker.password}</password> |
| 235 | </pull> |
Areli, Fuss (af732p) | f8b08ea | 2018-08-26 15:26:50 +0300 | [diff] [blame] | 236 | </authConfig> |
| 237 | <images> |
| 238 | <!-- Build backend image --> |
| 239 | <image> |
| 240 | <name>${docker.namespace}/${project.artifactId}</name> |
| 241 | <alias>${project.artifactId}</alias> |
| 242 | <build> |
| 243 | <cleanup>try</cleanup> |
| 244 | <dockerFileDir>${project.basedir}</dockerFileDir> |
| 245 | <tags> |
| 246 | <tag>${docker.tag}</tag> |
| 247 | <tag>${docker.latest.tag}</tag> |
| 248 | <tag>${docker.staging.tag}</tag> |
| 249 | </tags> |
| 250 | </build> |
| 251 | </image> |
| 252 | </images> |
| 253 | </configuration> |
| 254 | <executions> |
| 255 | <execution> |
| 256 | <id>clean-images</id> |
| 257 | <phase>pre-clean</phase> |
| 258 | <goals> |
| 259 | <goal>remove</goal> |
| 260 | </goals> |
| 261 | <configuration> |
| 262 | <removeAll>true</removeAll> |
| 263 | </configuration> |
| 264 | </execution> |
| 265 | <execution> |
| 266 | <id>generate-images</id> |
| 267 | <phase>install</phase> |
| 268 | <goals> |
| 269 | <goal>build</goal> |
| 270 | </goals> |
| 271 | </execution> |
| 272 | <execution> |
| 273 | <id>push-images</id> |
| 274 | <phase>deploy</phase> |
| 275 | <goals> |
| 276 | <goal>push</goal> |
| 277 | </goals> |
| 278 | </execution> |
| 279 | </executions> |
| 280 | </plugin> |
| 281 | </plugins> |
| 282 | </build> |
| 283 | </profile> |
| 284 | </profiles> |
| 285 | |
Manor, Yanir (ym903w) | 4d99842 | 2018-09-27 07:46:36 +0300 | [diff] [blame] | 286 | <distributionManagement> |
| 287 | <repository> |
| 288 | <id>ecomp-releases</id> |
| 289 | <name>Release Repository</name> |
| 290 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 291 | </repository> |
| 292 | <snapshotRepository> |
| 293 | <id>ecomp-snapshots</id> |
| 294 | <name>Snapshot Repository</name> |
| 295 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 296 | </snapshotRepository> |
| 297 | <site> |
| 298 | <id>ecomp-site</id> |
| 299 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 300 | </site> |
| 301 | </distributionManagement> |
Stone, Avi (as206k) | 7db40ac | 2018-05-21 14:57:57 +0300 | [diff] [blame] | 302 | |
Stone, Avi (as206k) | eaf5706 | 2018-04-12 15:57:26 +0300 | [diff] [blame] | 303 | </project> |