1 <?xml version="1.0" encoding="UTF-8"?>
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
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>
27 <groupId>org.onap.ccsdk.parent</groupId>
28 <artifactId>odlparent</artifactId>
29 <version>2.0.1-SNAPSHOT</version>
33 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34 <artifactId>sdnr-wt-odlux-framework</artifactId>
35 <version>1.0.1-SNAPSHOT</version>
36 <packaging>jar</packaging>
38 <name>ccsdk-features :: ${project.artifactId}</name>
41 <name>Apache License, Version 2.0</name>
42 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
47 <buildtime>${maven.build.timestamp}</buildtime>
48 <distversion>ONAP Frankfurt (Neon, mdsal ${odl.mdsal.version})</distversion>
49 <buildno>64.b032889(20/08/31)</buildno>
50 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
56 <directory>dist</directory>
57 <targetPath>odlux</targetPath>
60 <directory>src2/main/resources</directory>
61 <targetPath>odlux</targetPath>
66 <artifactId>maven-clean-plugin</artifactId>
70 <directory>dist</directory>
71 <followSymlinks>false</followSymlinks>
74 <directory>node</directory>
75 <followSymlinks>false</followSymlinks>
78 <directory>node_modules</directory>
79 <followSymlinks>false</followSymlinks>
82 <directory>../node_modules</directory>
83 <followSymlinks>false</followSymlinks>
85 <!-- eclipse bug build bin folder in basedir -->
87 <directory>bin</directory>
88 <followSymlinks>false</followSymlinks>
94 <groupId>de.jacks-it-lab</groupId>
95 <artifactId>frontend-maven-plugin</artifactId>
96 <version>1.7.2</version>
99 <id>install node and yarn</id>
101 <goal>install-node-and-yarn</goal>
103 <!-- optional: default phase is "generate-resources" -->
104 <phase>initialize</phase>
106 <nodeVersion>v10.16.3</nodeVersion>
107 <yarnVersion>v1.19.0</yarnVersion>
115 <phase>initialize</phase>
117 <arguments>cache clean</arguments>
118 <installDirectory>${project.basedir}</installDirectory>
119 <workingDirectory>${project.basedir}/../</workingDirectory>
123 <id>install lerna</id>
127 <phase>initialize</phase>
129 <arguments>add lerna@3.13.1 -W --exact</arguments>
130 <installDirectory>${project.basedir}</installDirectory>
131 <workingDirectory>${project.basedir}/../</workingDirectory>
135 <id>exec lerna bootstrap</id>
139 <phase>initialize</phase>
141 <lernaInheritsProxyConfigFromMaven>false</lernaInheritsProxyConfigFromMaven>
142 <arguments>bootstrap</arguments>
143 <installDirectory>${project.basedir}</installDirectory>
144 <workingDirectory>${project.basedir}/../</workingDirectory>
153 <arguments>run build</arguments>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-jar-plugin</artifactId>
163 <groupId>com.google.code.maven-replacer-plugin</groupId>
164 <artifactId>replacer</artifactId>
165 <version>1.5.2</version>
168 <id>replace version</id>
169 <phase>prepare-package</phase>
176 <basedir>${project.build.directory}/classes/odlux</basedir>
178 <include>app.js</include>
179 <include>version.json</include>
183 <token>##odlux.version##</token>
184 <value>${odlux.version}</value>
187 <token>##buildno##</token>
188 <value>${buildno}</value>
191 <token>##build-timestamp##</token>
192 <value>${buildtime}</value>