1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
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
12 ~ http://www.apache.org/licenses/LICENSE-2.0
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=======================================================
23 <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">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.ccsdk.features.sdnr.odlux</groupId>
27 <artifactId>sdnr-odlux-framework</artifactId>
28 <version>1.7.0-SNAPSHOT</version>
29 <packaging>jar</packaging>
31 <name>SDNR ODLUX :: ${project.artifactId}</name>
34 <name>Apache License, Version 2.0</name>
35 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
40 <buildtime>${maven.build.timestamp}</buildtime>
41 <distversion>ONAP Frankfurt (Neon, mdsal ${odl.mdsal.version})</distversion>
42 <buildno>172.b89e2c2b(23/10/04)</buildno>
43 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
49 <directory>dist</directory>
50 <targetPath>odlux</targetPath>
53 <directory>src2/main/resources</directory>
54 <targetPath>odlux</targetPath>
59 <artifactId>maven-clean-plugin</artifactId>
63 <directory>dist</directory>
64 <followSymlinks>false</followSymlinks>
67 <directory>node</directory>
68 <followSymlinks>false</followSymlinks>
71 <directory>node_modules</directory>
72 <followSymlinks>false</followSymlinks>
75 <directory>../node_modules</directory>
76 <followSymlinks>false</followSymlinks>
78 <!-- eclipse bug build bin folder in basedir -->
80 <directory>bin</directory>
81 <followSymlinks>false</followSymlinks>
87 <groupId>de.jacks-it-lab</groupId>
88 <artifactId>frontend-maven-plugin</artifactId>
89 <version>1.7.2</version>
92 <id>install node and yarn</id>
94 <goal>install-node-and-yarn</goal>
96 <!-- optional: default phase is "generate-resources" -->
97 <phase>initialize</phase>
99 <nodeVersion>v16.17.0</nodeVersion>
100 <yarnVersion>v1.22.19</yarnVersion>
108 <phase>initialize</phase>
110 <arguments>cache clean</arguments>
111 <installDirectory>${project.basedir}</installDirectory>
112 <workingDirectory>${project.basedir}/../</workingDirectory>
116 <id>install lerna</id>
120 <phase>initialize</phase>
122 <arguments>add lerna@3.22.1 -W --exact</arguments>
123 <installDirectory>${project.basedir}</installDirectory>
124 <workingDirectory>${project.basedir}/../</workingDirectory>
128 <id>exec lerna bootstrap</id>
132 <phase>initialize</phase>
134 <lernaInheritsProxyConfigFromMaven>false</lernaInheritsProxyConfigFromMaven>
135 <arguments>bootstrap</arguments>
136 <installDirectory>${project.basedir}</installDirectory>
137 <workingDirectory>${project.basedir}/../</workingDirectory>
146 <arguments>run build</arguments>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-jar-plugin</artifactId>
156 <groupId>org.codehaus.mojo</groupId>
157 <artifactId>properties-maven-plugin</artifactId>
158 <version>1.0.0</version>
161 <phase>initialize</phase>
163 <goal>read-project-properties</goal>
167 <file>${basedir}/../odlux.properties</file>
174 <groupId>com.google.code.maven-replacer-plugin</groupId>
175 <artifactId>replacer</artifactId>
176 <version>1.5.2</version>
179 <id>replace version</id>
180 <phase>prepare-package</phase>
187 <basedir>${project.build.directory}/classes/odlux</basedir>
189 <include>app.js</include>
190 <include>version.json</include>
194 <token>##odlux.version##</token>
195 <value>${odlux.version}</value>
198 <token>##buildno##</token>
199 <value>${buildno}</value>
202 <token>##build-timestamp##</token>
203 <value>${buildtime}</value>
206 <token>##odlux.framework.buildno##</token>
207 <value>${odlux.framework.buildno}</value>
210 <token>##odlux.apps.configurationApp.buildno##</token>
211 <value>${odlux.apps.configurationApp.buildno}</value>
214 <token>##odlux.apps.connectApp.buildno##</token>
215 <value>${odlux.apps.connectApp.buildno}</value>
218 <token>##odlux.apps.eventLogApp.buildno##</token>
219 <value>${odlux.apps.eventLogApp.buildno}</value>
222 <token>##odlux.apps.faultApp.buildno##</token>
223 <value>${odlux.apps.faultApp.buildno}</value>
226 <token>##odlux.apps.helpApp.buildno##</token>
227 <value>${odlux.apps.helpApp.buildno}</value>
230 <token>##odlux.apps.inventoryApp.buildno##</token>
231 <value>${odlux.apps.inventoryApp.buildno}</value>
234 <token>##odlux.apps.microwaveApp.buildno##</token>
235 <value>${odlux.apps.microwaveApp.buildno}</value>
238 <token>##odlux.apps.maintenanceApp.buildno##</token>
239 <value>${odlux.apps.maintenanceApp.buildno}</value>
242 <token>##odlux.apps.mediatorApp.buildno##</token>
243 <value>${odlux.apps.mediatorApp.buildno}</value>
246 <token>##odlux.apps.networkMapApp.buildno##</token>
247 <value>${odlux.apps.networkMapApp.buildno}</value>
250 <token>##odlux.apps.siteManagerApp.buildno##</token>
251 <value>${odlux.apps.siteManagerApp.buildno}</value>
254 <token>##odlux.apps.permanceHistoryApp.buildno##</token>
255 <value>${odlux.apps.permanceHistoryApp.buildno}</value>