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> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 30 | <artifactId>workflow-designer-parent</artifactId> |
Gildas Lanilis | 67ee0ef | 2018-09-05 16:42:39 -0700 | [diff] [blame] | 31 | <name>sdc-sdc-workflow-designer</name> |
vempo | b2a32bc | 2018-11-19 11:07:28 +0200 | [diff] [blame] | 32 | <version>1.4.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> |
ayalaben | 75cdbb4 | 2018-09-27 14:27:45 +0300 | [diff] [blame] | 36 | <jacoco.skip>true</jacoco.skip> |
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> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 48 | <staging.profile.id>176c31dfe190a</staging.profile.id> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 49 | </properties> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 50 | |
| 51 | <modules> |
| 52 | <module>workflow-designer-init</module> |
| 53 | <module>workflow-designer-be</module> |
| 54 | <module>workflow-designer-ui</module> |
| 55 | </modules> |
| 56 | |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 57 | <build> |
| 58 | <pluginManagement> |
| 59 | <plugins> |
| 60 | <plugin> |
ayalaben | 75cdbb4 | 2018-09-27 14:27:45 +0300 | [diff] [blame] | 61 | <groupId>org.apache.maven.plugins</groupId> |
| 62 | <artifactId>maven-surefire-plugin</artifactId> |
| 63 | <version>2.22.0</version> |
| 64 | </plugin> |
| 65 | <plugin> |
| 66 | <groupId>org.jacoco</groupId> |
| 67 | <artifactId>jacoco-maven-plugin</artifactId> |
| 68 | <version>0.8.2</version> |
| 69 | </plugin> |
| 70 | <plugin> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 71 | <groupId>io.fabric8</groupId> |
| 72 | <artifactId>docker-maven-plugin</artifactId> |
avigaffa | 9ba698b | 2018-12-27 15:18:07 +0200 | [diff] [blame] | 73 | <version>0.28.0</version> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 74 | <configuration> |
vempo | c678947 | 2018-12-31 17:19:50 +0200 | [diff] [blame] | 75 | <verbose>false</verbose> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 76 | <registry>${nexus.registry}</registry> |
| 77 | <authConfig> |
| 78 | <pull> |
| 79 | <username>${docker.username}</username> |
| 80 | <password>${docker.password}</password> |
| 81 | </pull> |
| 82 | </authConfig> |
| 83 | </configuration> |
| 84 | <executions> |
| 85 | <execution> |
| 86 | <id>docker-build</id> |
| 87 | <phase>install</phase> |
| 88 | <goals> |
| 89 | <goal>build</goal> |
| 90 | </goals> |
| 91 | </execution> |
| 92 | <execution> |
| 93 | <id>push-images</id> |
| 94 | <phase>deploy</phase> |
| 95 | <goals> |
| 96 | <goal>push</goal> |
| 97 | </goals> |
| 98 | </execution> |
| 99 | </executions> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 100 | </plugin> |
| 101 | </plugins> |
| 102 | </pluginManagement> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 103 | <plugins> |
| 104 | <plugin> |
ayalaben | 75cdbb4 | 2018-09-27 14:27:45 +0300 | [diff] [blame] | 105 | <groupId>org.jacoco</groupId> |
| 106 | <artifactId>jacoco-maven-plugin</artifactId> |
| 107 | <executions> |
| 108 | <execution> |
| 109 | <id>default-prepare-agent</id> |
| 110 | <goals> |
| 111 | <goal>prepare-agent</goal> |
| 112 | </goals> |
| 113 | </execution> |
| 114 | <execution> |
| 115 | <id>report</id> |
| 116 | <phase>prepare-package</phase> |
| 117 | <goals> |
| 118 | <goal>report</goal> |
| 119 | </goals> |
| 120 | </execution> |
| 121 | <execution> |
| 122 | <id>post-unit-test</id> |
| 123 | <phase>test</phase> |
| 124 | <goals> |
| 125 | <goal>report</goal> |
| 126 | </goals> |
| 127 | <configuration> |
| 128 | <dataFile>target/jacoco.exec</dataFile> |
| 129 | <outputDirectory>target/jacoco-ut</outputDirectory> |
| 130 | </configuration> |
| 131 | </execution> |
| 132 | </executions> |
| 133 | </plugin> |
| 134 | |
| 135 | <plugin> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 136 | <groupId>org.sonatype.plugins</groupId> |
| 137 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 138 | <version>1.6.8</version> |
| 139 | <extensions>true</extensions> |
| 140 | <configuration> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 141 | <serverId>ecomp-staging</serverId> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 142 | <nexusUrl>${nexus.proxy}</nexusUrl> |
| 143 | <stagingProfileId>${staging.profile.id}</stagingProfileId> |
| 144 | </configuration> |
| 145 | </plugin> |
| 146 | </plugins> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 147 | </build> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 148 | |
| 149 | <repositories> |
| 150 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 151 | <id>ecomp-releases</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 152 | <name>Release Repository</name> |
| 153 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 154 | </repository> |
| 155 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 156 | <id>ecomp-snapshots</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 157 | <name>Snapshots Repository</name> |
| 158 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 159 | </repository> |
| 160 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 161 | <id>ecomp-public</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 162 | <name>Public Repository</name> |
| 163 | <url>${nexus.proxy}/content/repositories/public/</url> |
| 164 | </repository> |
| 165 | </repositories> |
| 166 | <distributionManagement> |
| 167 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 168 | <id>ecomp-releases</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 169 | <name>Release Repository</name> |
| 170 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 171 | </repository> |
| 172 | <snapshotRepository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 173 | <id>ecomp-snapshots</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 174 | <name>Snapshot Repository</name> |
| 175 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 176 | </snapshotRepository> |
| 177 | <site> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 178 | <id>ecomp-site</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 179 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 180 | </site> |
| 181 | </distributionManagement> |
| 182 | |
| 183 | </project> |