blob: 4819693bb3caf0a79a226b95ffccde20a3ebeddb [file] [log] [blame]
Skip Wonnell2c977e22018-03-01 08:30:15 -06001<!--
2============LICENSE_START==========================================
3===================================================================
4Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
5===================================================================
6
7Unless otherwise specified, all software contained herein is licensed
8under the Apache License, Version 2.0 (the License);
9you may not use this software except in compliance with the License.
10You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations under the License.
19
20ECOMP 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 Brady6d802212018-03-06 15:10:44 -050026 <groupId>org.onap.appc.cdt</groupId>
Skip Wonnell2c977e22018-03-01 08:30:15 -060027 <artifactId>config-design-tool</artifactId>
Patrick Bradycbae8032019-08-03 23:10:11 -070028 <version>1.6.1-SNAPSHOT</version>
Skip Wonnell2c977e22018-03-01 08:30:15 -060029 <packaging>pom</packaging>
30
Taka Cho7415e4d2018-09-06 14:30:21 -040031 <name>appc-config-design-tool</name>
Skip Wonnell2c977e22018-03-01 08:30:15 -060032
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <npm.executable>npm</npm.executable>
Patrick Bradye81b5df2018-03-06 14:47:08 -050036 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Skip Wonnell2c977e22018-03-01 08:30:15 -060037 </properties>
38
Patrick Bradye81b5df2018-03-06 14:47:08 -050039 <!-- ================================================================================== -->
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 Wonnell2c977e22018-03-01 08:30:15 -060055 <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 Brady0ca0e362018-05-21 14:32:13 -070066 <!-- 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 Wonnell2c977e22018-03-01 08:30:15 -060076 <!-- <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 Brady868767d2018-03-02 17:49:54 -0500112 <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 Wonnell2c977e22018-03-01 08:30:15 -0600116 <configuration>
Patrick Brady868767d2018-03-02 17:49:54 -0500117 <nodeVersion>v7.7.4</nodeVersion>
118 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
119 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
120 <installDirectory>./</installDirectory>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600121 </configuration>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600122 <executions>
123 <execution>
Patrick Brady868767d2018-03-02 17:49:54 -0500124 <id>install node and npm</id>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600125 <goals>
Patrick Brady868767d2018-03-02 17:49:54 -0500126 <goal>install-node-and-npm</goal>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600127 </goals>
Patrick Brady868767d2018-03-02 17:49:54 -0500128 <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 Wonnell2c977e22018-03-01 08:30:15 -0600139 <configuration>
Patrick Brady868767d2018-03-02 17:49:54 -0500140 <arguments>install</arguments>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600141 </configuration>
142 </execution>
Patrick Brady868767d2018-03-02 17:49:54 -0500143
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 Wonnell2c977e22018-03-01 08:30:15 -0600157 </executions>
158 </plugin>
Patrick Brady868767d2018-03-02 17:49:54 -0500159
Patrick Brady0e82fc32018-03-06 17:07:57 -0500160 <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 Wonnell2c977e22018-03-01 08:30:15 -0600203 </plugins>
204 </build>
Kumar, Amaresh (ak583p)4d2e2962018-05-10 14:35:25 +0530205
206 <modules>
207 <module>CdtProxyService</module>
208 </modules>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600209
210</project>