Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 1 | <!-- |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 2 | ~ Copyright © 2016-2018 European Support Limited |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <project |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 20 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 23 | |
| 24 | <!-- |
| 25 | The groupId violates Maven naming conventions |
| 26 | (https://maven.apache.org/guides/mini/guide-naming-conventions.html) |
| 27 | because of a limitation of ONAP CI/CD infrastructure. |
| 28 | --> |
| 29 | <groupId>org.onap.sdc.sdc-workflow-designer</groupId> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame^] | 30 | <artifactId>sdc-workflow-designer-parent</artifactId> |
Gildas Lanilis | 67ee0ef | 2018-09-05 16:42:39 -0700 | [diff] [blame] | 31 | <name>sdc-sdc-workflow-designer</name> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame^] | 32 | <version>1.7.0-SNAPSHOT</version> |
YuanHu | 77acffc | 2018-02-09 16:13:05 +0800 | [diff] [blame] | 33 | <packaging>pom</packaging> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 34 | |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 35 | <properties> |
Tomasz Golabek | 9290ef8 | 2019-07-10 16:35:51 +0200 | [diff] [blame] | 36 | <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 37 | <maven.compiler.source>1.8</maven.compiler.source> |
| 38 | <maven.compiler.target>1.8</maven.compiler.target> |
| 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 40 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
vempo | e2d8384 | 2018-10-25 07:28:35 +0300 | [diff] [blame] | 41 | <onap.version>1.3.0</onap.version> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 42 | <docker.optimize>true</docker.optimize> |
| 43 | <docker.username>docker</docker.username> |
| 44 | <docker.password>docker</docker.password> |
| 45 | <nexus.registry>nexus3.onap.org:10001</nexus.registry> |
| 46 | <nexus.proxy>https://nexus.onap.org</nexus.proxy> |
| 47 | <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath> |
Ofir Sonsino | 9e8232b | 2020-02-16 18:57:06 +0200 | [diff] [blame] | 48 | |
| 49 | <!-- Sonar properties --> |
| 50 | <sonar.coverage.jacoco.xmlReportPaths> |
| 51 | ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 52 | </sonar.coverage.jacoco.xmlReportPaths> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 53 | </properties> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 54 | |
Tomasz Golabek | 9290ef8 | 2019-07-10 16:35:51 +0200 | [diff] [blame] | 55 | <parent> |
| 56 | <groupId>org.onap.oparent</groupId> |
| 57 | <artifactId>oparent</artifactId> |
| 58 | <version>2.0.0</version> |
| 59 | <relativePath/> |
| 60 | </parent> |
| 61 | |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 62 | <modules> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame^] | 63 | <module>sdc-workflow-designer-init</module> |
| 64 | <module>sdc-workflow-designer-be</module> |
| 65 | <module>sdc-workflow-designer-ui</module> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 66 | </modules> |
| 67 | |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 68 | <build> |
| 69 | <pluginManagement> |
| 70 | <plugins> |
| 71 | <plugin> |
ayalaben | 75cdbb4 | 2018-09-27 14:27:45 +0300 | [diff] [blame] | 72 | <groupId>org.apache.maven.plugins</groupId> |
| 73 | <artifactId>maven-surefire-plugin</artifactId> |
| 74 | <version>2.22.0</version> |
| 75 | </plugin> |
| 76 | <plugin> |
| 77 | <groupId>org.jacoco</groupId> |
| 78 | <artifactId>jacoco-maven-plugin</artifactId> |
| 79 | <version>0.8.2</version> |
| 80 | </plugin> |
| 81 | <plugin> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 82 | <groupId>io.fabric8</groupId> |
| 83 | <artifactId>docker-maven-plugin</artifactId> |
avigaffa | 9ba698b | 2018-12-27 15:18:07 +0200 | [diff] [blame] | 84 | <version>0.28.0</version> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 85 | <configuration> |
vempo | c678947 | 2018-12-31 17:19:50 +0200 | [diff] [blame] | 86 | <verbose>false</verbose> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 87 | <registry>${nexus.registry}</registry> |
| 88 | <authConfig> |
| 89 | <pull> |
| 90 | <username>${docker.username}</username> |
| 91 | <password>${docker.password}</password> |
| 92 | </pull> |
| 93 | </authConfig> |
| 94 | </configuration> |
| 95 | <executions> |
| 96 | <execution> |
| 97 | <id>docker-build</id> |
| 98 | <phase>install</phase> |
| 99 | <goals> |
| 100 | <goal>build</goal> |
| 101 | </goals> |
| 102 | </execution> |
| 103 | <execution> |
| 104 | <id>push-images</id> |
| 105 | <phase>deploy</phase> |
| 106 | <goals> |
| 107 | <goal>push</goal> |
| 108 | </goals> |
| 109 | </execution> |
| 110 | </executions> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 111 | </plugin> |
| 112 | </plugins> |
| 113 | </pluginManagement> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 114 | <plugins> |
| 115 | <plugin> |
Tomasz Golabek | 9290ef8 | 2019-07-10 16:35:51 +0200 | [diff] [blame] | 116 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 117 | <version>${maven-checkstyle-plugin.version}</version> |
| 118 | <configuration> |
| 119 | <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> |
| 120 | <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
| 121 | </configuration> |
| 122 | </plugin> |
| 123 | <plugin> |
ayalaben | 75cdbb4 | 2018-09-27 14:27:45 +0300 | [diff] [blame] | 124 | <groupId>org.jacoco</groupId> |
| 125 | <artifactId>jacoco-maven-plugin</artifactId> |
| 126 | <executions> |
| 127 | <execution> |
| 128 | <id>default-prepare-agent</id> |
| 129 | <goals> |
| 130 | <goal>prepare-agent</goal> |
| 131 | </goals> |
| 132 | </execution> |
| 133 | <execution> |
| 134 | <id>report</id> |
| 135 | <phase>prepare-package</phase> |
| 136 | <goals> |
| 137 | <goal>report</goal> |
| 138 | </goals> |
| 139 | </execution> |
| 140 | <execution> |
| 141 | <id>post-unit-test</id> |
| 142 | <phase>test</phase> |
| 143 | <goals> |
| 144 | <goal>report</goal> |
| 145 | </goals> |
| 146 | <configuration> |
Ofir Sonsino | 9e8232b | 2020-02-16 18:57:06 +0200 | [diff] [blame] | 147 | <destFile>${sonar.jacoco.reportPath}</destFile> |
ayalaben | 75cdbb4 | 2018-09-27 14:27:45 +0300 | [diff] [blame] | 148 | </configuration> |
| 149 | </execution> |
| 150 | </executions> |
| 151 | </plugin> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 152 | </plugins> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 153 | </build> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 154 | |
| 155 | <repositories> |
| 156 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 157 | <id>ecomp-releases</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 158 | <name>Release Repository</name> |
| 159 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 160 | </repository> |
| 161 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 162 | <id>ecomp-snapshots</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 163 | <name>Snapshots Repository</name> |
| 164 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 165 | </repository> |
| 166 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 167 | <id>ecomp-public</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 168 | <name>Public Repository</name> |
| 169 | <url>${nexus.proxy}/content/repositories/public/</url> |
| 170 | </repository> |
| 171 | </repositories> |
| 172 | <distributionManagement> |
| 173 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 174 | <id>ecomp-releases</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 175 | <name>Release Repository</name> |
| 176 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 177 | </repository> |
| 178 | <snapshotRepository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 179 | <id>ecomp-snapshots</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 180 | <name>Snapshot Repository</name> |
| 181 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 182 | </snapshotRepository> |
| 183 | <site> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 184 | <id>ecomp-site</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 185 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 186 | </site> |
| 187 | </distributionManagement> |
| 188 | |
| 189 | </project> |