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> |
| 31 | <version>1.3.0-SNAPSHOT</version> |
YuanHu | 77acffc | 2018-02-09 16:13:05 +0800 | [diff] [blame] | 32 | <packaging>pom</packaging> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 33 | |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 34 | <properties> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 35 | <maven.compiler.source>1.8</maven.compiler.source> |
| 36 | <maven.compiler.target>1.8</maven.compiler.target> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 39 | <onap.version>1.3.0-SNAPSHOT</onap.version> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 40 | <docker.optimize>true</docker.optimize> |
| 41 | <docker.username>docker</docker.username> |
| 42 | <docker.password>docker</docker.password> |
| 43 | <nexus.registry>nexus3.onap.org:10001</nexus.registry> |
| 44 | <nexus.proxy>https://nexus.onap.org</nexus.proxy> |
| 45 | <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 46 | <staging.profile.id>176c31dfe190a</staging.profile.id> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 47 | </properties> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 48 | |
| 49 | <modules> |
| 50 | <module>workflow-designer-init</module> |
| 51 | <module>workflow-designer-be</module> |
| 52 | <module>workflow-designer-ui</module> |
| 53 | </modules> |
| 54 | |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 55 | <build> |
| 56 | <pluginManagement> |
| 57 | <plugins> |
| 58 | <plugin> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 59 | <groupId>io.fabric8</groupId> |
| 60 | <artifactId>docker-maven-plugin</artifactId> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 61 | <version>0.23.0</version> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 62 | <configuration> |
| 63 | <verbose>false</verbose> |
| 64 | <registry>${nexus.registry}</registry> |
| 65 | <authConfig> |
| 66 | <pull> |
| 67 | <username>${docker.username}</username> |
| 68 | <password>${docker.password}</password> |
| 69 | </pull> |
| 70 | </authConfig> |
| 71 | </configuration> |
| 72 | <executions> |
| 73 | <execution> |
| 74 | <id>docker-build</id> |
| 75 | <phase>install</phase> |
| 76 | <goals> |
| 77 | <goal>build</goal> |
| 78 | </goals> |
| 79 | </execution> |
| 80 | <execution> |
| 81 | <id>push-images</id> |
| 82 | <phase>deploy</phase> |
| 83 | <goals> |
| 84 | <goal>push</goal> |
| 85 | </goals> |
| 86 | </execution> |
| 87 | </executions> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 88 | </plugin> |
| 89 | </plugins> |
| 90 | </pluginManagement> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 91 | <plugins> |
| 92 | <plugin> |
| 93 | <groupId>org.sonatype.plugins</groupId> |
| 94 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 95 | <version>1.6.8</version> |
| 96 | <extensions>true</extensions> |
| 97 | <configuration> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 98 | <serverId>ecomp-staging</serverId> |
vempo | e0f514c | 2018-07-25 17:27:49 +0300 | [diff] [blame] | 99 | <nexusUrl>${nexus.proxy}</nexusUrl> |
| 100 | <stagingProfileId>${staging.profile.id}</stagingProfileId> |
| 101 | </configuration> |
| 102 | </plugin> |
| 103 | </plugins> |
Lvbo163 | 091eb47 | 2017-09-15 17:36:41 +0800 | [diff] [blame] | 104 | </build> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 105 | |
| 106 | <repositories> |
| 107 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 108 | <id>ecomp-releases</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 109 | <name>Release Repository</name> |
| 110 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 111 | </repository> |
| 112 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 113 | <id>ecomp-snapshots</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 114 | <name>Snapshots Repository</name> |
| 115 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 116 | </repository> |
| 117 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 118 | <id>ecomp-public</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 119 | <name>Public Repository</name> |
| 120 | <url>${nexus.proxy}/content/repositories/public/</url> |
| 121 | </repository> |
| 122 | </repositories> |
| 123 | <distributionManagement> |
| 124 | <repository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 125 | <id>ecomp-releases</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 126 | <name>Release Repository</name> |
| 127 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 128 | </repository> |
| 129 | <snapshotRepository> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 130 | <id>ecomp-snapshots</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 131 | <name>Snapshot Repository</name> |
| 132 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 133 | </snapshotRepository> |
| 134 | <site> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame^] | 135 | <id>ecomp-site</id> |
vempo | a52d50e | 2018-07-24 17:34:04 +0300 | [diff] [blame] | 136 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 137 | </site> |
| 138 | </distributionManagement> |
| 139 | |
| 140 | </project> |