Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START========================================== |
| 3 | =================================================================== |
| 4 | Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. |
| 5 | =================================================================== |
| 6 | |
| 7 | Unless otherwise specified, all software contained herein is licensed |
| 8 | under the Apache License, Version 2.0 (the License); |
| 9 | you may not use this software except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | |
| 20 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 21 | ============LICENSE_END============================================ --> |
| 22 | |
| 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | <modelVersion>4.0.0</modelVersion> |
Patrick Brady | 6d80221 | 2018-03-06 15:10:44 -0500 | [diff] [blame] | 26 | <groupId>org.onap.appc.cdt</groupId> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 27 | <artifactId>config-design-tool</artifactId> |
Patrick Brady | 334b7e1 | 2019-04-26 14:28:37 -0700 | [diff] [blame] | 28 | <version>1.6.0-SNAPSHOT</version> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 29 | <packaging>pom</packaging> |
| 30 | |
Taka Cho | 7415e4d | 2018-09-06 14:30:21 -0400 | [diff] [blame] | 31 | <name>appc-config-design-tool</name> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 32 | |
| 33 | <properties> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | <npm.executable>npm</npm.executable> |
Patrick Brady | e81b5df | 2018-03-06 14:47:08 -0500 | [diff] [blame] | 36 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 37 | </properties> |
| 38 | |
Patrick Brady | e81b5df | 2018-03-06 14:47:08 -0500 | [diff] [blame] | 39 | <!-- ================================================================================== --> |
| 40 | <!-- Distribution Management Sites --> |
| 41 | <!-- ================================================================================== --> |
| 42 | <distributionManagement> |
| 43 | <repository> |
| 44 | <id>ecomp-releases</id> |
| 45 | <name>openecomp-repository-releases</name> |
| 46 | <url>${onap.nexus.url}/content/repositories/releases</url> |
| 47 | </repository> |
| 48 | <snapshotRepository> |
| 49 | <id>ecomp-snapshots</id> |
| 50 | <name>openecomp-repository-snapshots</name> |
| 51 | <url>${onap.nexus.url}/content/repositories/snapshots</url> |
| 52 | </snapshotRepository> |
| 53 | </distributionManagement> |
| 54 | |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 55 | <dependencies> |
| 56 | <dependency> |
| 57 | <groupId>junit</groupId> |
| 58 | <artifactId>junit</artifactId> |
| 59 | <version>3.8.1</version> |
| 60 | <scope>test</scope> |
| 61 | </dependency> |
| 62 | </dependencies> |
| 63 | |
| 64 | <build> |
| 65 | <plugins> |
Patrick Brady | 0ca0e36 | 2018-05-21 14:32:13 -0700 | [diff] [blame] | 66 | <!-- Allows the maven version plugin to work even when child modules |
| 67 | don't use this pom as a parent. --> |
| 68 | <plugin> |
| 69 | <groupId>org.codehaus.mojo</groupId> |
| 70 | <artifactId>versions-maven-plugin</artifactId> |
| 71 | <version>2.5</version> |
| 72 | <configuration> |
| 73 | <processAllModules>true</processAllModules> |
| 74 | </configuration> |
| 75 | </plugin> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 76 | <!-- <plugin> |
| 77 | <groupId>org.codehaus.mojo</groupId> |
| 78 | <artifactId>exec-maven-plugin</artifactId> |
| 79 | <version>1.5.0</version> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>npminstall</id> |
| 83 | <phase>process-resources</phase> |
| 84 | <configuration> |
| 85 | <executable>${npm.executable}</executable> |
| 86 | <arguments> |
| 87 | <argument>install</argument> |
| 88 | |
| 89 | </arguments> |
| 90 | </configuration> |
| 91 | <goals> |
| 92 | <goal>exec</goal> |
| 93 | </goals> |
| 94 | </execution> |
| 95 | <execution> |
| 96 | <id>npmrun</id> |
| 97 | <phase>process-resources</phase> |
| 98 | <configuration> |
| 99 | <executable>${npm.executable}</executable> |
| 100 | <arguments> |
| 101 | <argument>run</argument> |
| 102 | <argument>build</argument> |
| 103 | </arguments> |
| 104 | </configuration> |
| 105 | <goals> |
| 106 | <goal>exec</goal> |
| 107 | </goals> |
| 108 | </execution> |
| 109 | </executions> |
| 110 | </plugin> --> |
| 111 | <plugin> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 112 | <groupId>com.github.eirslett</groupId> |
| 113 | <artifactId>frontend-maven-plugin</artifactId> |
| 114 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 115 | <version>1.3</version> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 116 | <configuration> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 117 | <nodeVersion>v7.7.4</nodeVersion> |
| 118 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
| 119 | <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot> |
| 120 | <installDirectory>./</installDirectory> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 121 | </configuration> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 122 | <executions> |
| 123 | <execution> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 124 | <id>install node and npm</id> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 125 | <goals> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 126 | <goal>install-node-and-npm</goal> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 127 | </goals> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 128 | <phase>generate-resources</phase> |
| 129 | </execution> |
| 130 | |
| 131 | <execution> |
| 132 | <id>npm install</id> |
| 133 | <goals> |
| 134 | <goal>npm</goal> |
| 135 | </goals> |
| 136 | |
| 137 | <phase>generate-resources</phase> |
| 138 | |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 139 | <configuration> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 140 | <arguments>install</arguments> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 141 | </configuration> |
| 142 | </execution> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 143 | |
| 144 | <execution> |
| 145 | <id>npm build</id> |
| 146 | <goals> |
| 147 | <goal>npm</goal> |
| 148 | </goals> |
| 149 | |
| 150 | <phase>generate-resources</phase> |
| 151 | |
| 152 | <configuration> |
| 153 | <arguments>run build</arguments> |
| 154 | </configuration> |
| 155 | </execution> |
| 156 | |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 157 | </executions> |
| 158 | </plugin> |
Patrick Brady | 868767d | 2018-03-02 17:49:54 -0500 | [diff] [blame] | 159 | |
Patrick Brady | 0e82fc3 | 2018-03-06 17:07:57 -0500 | [diff] [blame] | 160 | <plugin> |
| 161 | <artifactId>maven-assembly-plugin</artifactId> |
| 162 | <executions> |
| 163 | <execution> |
| 164 | <id>maven-repo-zip</id> |
| 165 | <goals> |
| 166 | <goal>single</goal> |
| 167 | </goals> |
| 168 | <phase>package</phase> |
| 169 | <configuration> |
| 170 | <appendAssemblyId>false</appendAssemblyId> |
| 171 | <attach>false</attach> |
| 172 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 173 | <descriptors> |
| 174 | <descriptor>assemble_dist_zip.xml</descriptor> |
| 175 | </descriptors> |
| 176 | </configuration> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
| 180 | |
| 181 | <plugin> |
| 182 | <groupId>org.codehaus.mojo</groupId> |
| 183 | <artifactId>build-helper-maven-plugin</artifactId> |
| 184 | <version>1.12</version> |
| 185 | <executions> |
| 186 | <execution> |
| 187 | <id>attach-artifacts</id> |
| 188 | <phase>package</phase> |
| 189 | <goals> |
| 190 | <goal>attach-artifact</goal> |
| 191 | </goals> |
| 192 | <configuration> |
| 193 | <artifacts> |
| 194 | <artifact> |
| 195 | <file>target/${project.artifactId}-${project.version}.zip</file> |
| 196 | <type>zip</type> |
| 197 | </artifact> |
| 198 | </artifacts> |
| 199 | </configuration> |
| 200 | </execution> |
| 201 | </executions> |
| 202 | </plugin> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 203 | </plugins> |
| 204 | </build> |
Kumar, Amaresh (ak583p) | 4d2e296 | 2018-05-10 14:35:25 +0530 | [diff] [blame] | 205 | |
| 206 | <modules> |
| 207 | <module>CdtProxyService</module> |
| 208 | </modules> |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 209 | |
| 210 | </project> |