blob: 66ac9f761aea470b8d5fd5abbe2f7cfdccf86631 [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 Bradyc0eb4412018-05-22 11:15:23 -070028 <version>1.4.0-SNAPSHOT</version>
Skip Wonnell2c977e22018-03-01 08:30:15 -060029 <packaging>pom</packaging>
30
31 <name>config-design-tool</name>
32
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>
Patrick Bradye81b5df2018-03-06 14:47:08 -050076 <!--maven staging plugin -->
77 <plugin>
78 <groupId>org.sonatype.plugins</groupId>
79 <artifactId>nexus-staging-maven-plugin</artifactId>
80 <version>1.6.7</version>
81 <extensions>true</extensions>
82 <configuration>
83 <nexusUrl>${onap.nexus.url}</nexusUrl>
84 <stagingProfileId>176c31dfe190a</stagingProfileId>
85 <serverId>ecomp-staging</serverId>
86 </configuration>
87 </plugin>
Skip Wonnell2c977e22018-03-01 08:30:15 -060088 <!-- <plugin>
89 <groupId>org.codehaus.mojo</groupId>
90 <artifactId>exec-maven-plugin</artifactId>
91 <version>1.5.0</version>
92 <executions>
93 <execution>
94 <id>npminstall</id>
95 <phase>process-resources</phase>
96 <configuration>
97 <executable>${npm.executable}</executable>
98 <arguments>
99 <argument>install</argument>
100
101 </arguments>
102 </configuration>
103 <goals>
104 <goal>exec</goal>
105 </goals>
106 </execution>
107 <execution>
108 <id>npmrun</id>
109 <phase>process-resources</phase>
110 <configuration>
111 <executable>${npm.executable}</executable>
112 <arguments>
113 <argument>run</argument>
114 <argument>build</argument>
115 </arguments>
116 </configuration>
117 <goals>
118 <goal>exec</goal>
119 </goals>
120 </execution>
121 </executions>
122 </plugin> -->
123 <plugin>
Patrick Brady868767d2018-03-02 17:49:54 -0500124 <groupId>com.github.eirslett</groupId>
125 <artifactId>frontend-maven-plugin</artifactId>
126 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
127 <version>1.3</version>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600128 <configuration>
Patrick Brady868767d2018-03-02 17:49:54 -0500129 <nodeVersion>v7.7.4</nodeVersion>
130 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
131 <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
132 <installDirectory>./</installDirectory>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600133 </configuration>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600134 <executions>
135 <execution>
Patrick Brady868767d2018-03-02 17:49:54 -0500136 <id>install node and npm</id>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600137 <goals>
Patrick Brady868767d2018-03-02 17:49:54 -0500138 <goal>install-node-and-npm</goal>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600139 </goals>
Patrick Brady868767d2018-03-02 17:49:54 -0500140 <phase>generate-resources</phase>
141 </execution>
142
143 <execution>
144 <id>npm install</id>
145 <goals>
146 <goal>npm</goal>
147 </goals>
148
149 <phase>generate-resources</phase>
150
Skip Wonnell2c977e22018-03-01 08:30:15 -0600151 <configuration>
Patrick Brady868767d2018-03-02 17:49:54 -0500152 <arguments>install</arguments>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600153 </configuration>
154 </execution>
Patrick Brady868767d2018-03-02 17:49:54 -0500155
156 <execution>
157 <id>npm build</id>
158 <goals>
159 <goal>npm</goal>
160 </goals>
161
162 <phase>generate-resources</phase>
163
164 <configuration>
165 <arguments>run build</arguments>
166 </configuration>
167 </execution>
168
Skip Wonnell2c977e22018-03-01 08:30:15 -0600169 </executions>
170 </plugin>
Patrick Brady868767d2018-03-02 17:49:54 -0500171
Patrick Brady0e82fc32018-03-06 17:07:57 -0500172 <plugin>
173 <artifactId>maven-assembly-plugin</artifactId>
174 <executions>
175 <execution>
176 <id>maven-repo-zip</id>
177 <goals>
178 <goal>single</goal>
179 </goals>
180 <phase>package</phase>
181 <configuration>
182 <appendAssemblyId>false</appendAssemblyId>
183 <attach>false</attach>
184 <finalName>${project.artifactId}-${project.version}</finalName>
185 <descriptors>
186 <descriptor>assemble_dist_zip.xml</descriptor>
187 </descriptors>
188 </configuration>
189 </execution>
190 </executions>
191 </plugin>
192
193 <plugin>
194 <groupId>org.codehaus.mojo</groupId>
195 <artifactId>build-helper-maven-plugin</artifactId>
196 <version>1.12</version>
197 <executions>
198 <execution>
199 <id>attach-artifacts</id>
200 <phase>package</phase>
201 <goals>
202 <goal>attach-artifact</goal>
203 </goals>
204 <configuration>
205 <artifacts>
206 <artifact>
207 <file>target/${project.artifactId}-${project.version}.zip</file>
208 <type>zip</type>
209 </artifact>
210 </artifacts>
211 </configuration>
212 </execution>
213 </executions>
214 </plugin>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600215 </plugins>
216 </build>
Kumar, Amaresh (ak583p)4d2e2962018-05-10 14:35:25 +0530217
218 <modules>
219 <module>CdtProxyService</module>
220 </modules>
Skip Wonnell2c977e22018-03-01 08:30:15 -0600221
222</project>