blob: c7d9c32953712bc5ebdfe0e96299a17a44d6813f [file] [log] [blame]
herberte6d0d672019-12-14 01:05:47 +01001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05002<!--
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
7 ~ ================================================================================
8 ~ Licensed under the Apache License, Version 2.0 (the "License");
9 ~ you may not use this file 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 ~ ============LICENSE_END=======================================================
20 ~
21 -->
22
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050024 <modelVersion>4.0.0</modelVersion>
herberte6d0d672019-12-14 01:05:47 +010025
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050026 <parent>
27 <groupId>org.onap.ccsdk.parent</groupId>
28 <artifactId>odlparent</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040029 <version>2.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050030 <relativePath/>
31 </parent>
herberte6d0d672019-12-14 01:05:47 +010032
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34 <artifactId>sdnr-wt-odlux-framework</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040035 <version>1.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050036 <packaging>jar</packaging>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050037
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050038 <name>ccsdk-features :: ${project.artifactId}</name>
39 <licenses>
40 <license>
41 <name>Apache License, Version 2.0</name>
42 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
43 </license>
44 </licenses>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050045
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050046 <properties>
47 <buildtime>${maven.build.timestamp}</buildtime>
48 <distversion>ONAP Frankfurt (Neon, mdsal ${odl.mdsal.version})</distversion>
Michael Dürre7dbe38b2020-07-16 05:55:07 +020049 <buildno>56.139cd6d(20/07/08)</buildno>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050050 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
51 </properties>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050052
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050053 <build>
54 <resources>
55 <resource>
56 <directory>dist</directory>
57 <targetPath>odlux</targetPath>
58 </resource>
59 </resources>
60 <plugins>
61 <plugin>
62 <artifactId>maven-clean-plugin</artifactId>
63 <configuration>
64 <filesets>
65 <fileset>
66 <directory>dist</directory>
67 <followSymlinks>false</followSymlinks>
68 </fileset>
69 <fileset>
70 <directory>node</directory>
71 <followSymlinks>false</followSymlinks>
72 </fileset>
73 <fileset>
74 <directory>node_modules</directory>
75 <followSymlinks>false</followSymlinks>
76 </fileset>
77 <fileset>
78 <directory>../node_modules</directory>
79 <followSymlinks>false</followSymlinks>
80 </fileset>
81 <!-- eclipse bug build bin folder in basedir -->
82 <fileset>
83 <directory>bin</directory>
84 <followSymlinks>false</followSymlinks>
85 </fileset>
86 </filesets>
87 </configuration>
88 </plugin>
89 <plugin>
90 <groupId>de.jacks-it-lab</groupId>
91 <artifactId>frontend-maven-plugin</artifactId>
92 <version>1.7.2</version>
93 <executions>
94 <execution>
95 <id>install node and yarn</id>
96 <goals>
97 <goal>install-node-and-yarn</goal>
98 </goals>
99 <!-- optional: default phase is "generate-resources" -->
100 <phase>initialize</phase>
101 <configuration>
102 <nodeVersion>v10.16.3</nodeVersion>
103 <yarnVersion>v1.19.0</yarnVersion>
104 </configuration>
105 </execution>
106 <execution>
107 <id>clear cache</id>
108 <goals>
109 <goal>yarn</goal>
110 </goals>
111 <phase>initialize</phase>
112 <configuration>
113 <arguments>cache clean</arguments>
114 <installDirectory>${project.basedir}</installDirectory>
115 <workingDirectory>${project.basedir}/../</workingDirectory>
116 </configuration>
117 </execution>
118 <execution>
119 <id>install lerna</id>
120 <goals>
121 <goal>yarn</goal>
122 </goals>
123 <phase>initialize</phase>
124 <configuration>
125 <arguments>add lerna@3.13.1 -W --exact</arguments>
126 <installDirectory>${project.basedir}</installDirectory>
127 <workingDirectory>${project.basedir}/../</workingDirectory>
128 </configuration>
129 </execution>
130 <execution>
131 <id>exec lerna bootstrap</id>
132 <goals>
133 <goal>lerna</goal>
134 </goals>
135 <phase>initialize</phase>
136 <configuration>
137 <lernaInheritsProxyConfigFromMaven>false</lernaInheritsProxyConfigFromMaven>
138 <arguments>bootstrap</arguments>
139 <installDirectory>${project.basedir}</installDirectory>
140 <workingDirectory>${project.basedir}/../</workingDirectory>
141 </configuration>
142 </execution>
143 <execution>
144 <id>yarn build</id>
145 <goals>
146 <goal>yarn</goal>
147 </goals>
148 <configuration>
149 <arguments>run build</arguments>
150 </configuration>
151 </execution>
152 </executions>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-jar-plugin</artifactId>
157 </plugin>
158 <plugin>
159 <groupId>com.google.code.maven-replacer-plugin</groupId>
160 <artifactId>replacer</artifactId>
161 <version>1.5.2</version>
162 <executions>
163 <execution>
164 <id>replace version</id>
165 <phase>prepare-package</phase>
166 <goals>
167 <goal>replace</goal>
168 </goals>
169 </execution>
170 </executions>
171 <configuration>
172 <basedir>${project.build.directory}/classes/odlux</basedir>
173 <includes>
174 <include>app.js</include>
175 </includes>
176 <replacements>
177 <replacement>
178 <token>##odlux.version##</token>
179 <value>${odlux.version}</value>
180 </replacement>
181 </replacements>
182 </configuration>
183 </plugin>
184 </plugins>
185 </build>
herberte6d0d672019-12-14 01:05:47 +0100186</project>