herbert | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 2 | <!-- |
| 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) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 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"> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 25 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 26 | <parent> |
| 27 | <groupId>org.onap.ccsdk.parent</groupId> |
| 28 | <artifactId>odlparent</artifactId> |
Dan Timoney | af9977a | 2021-03-09 11:39:34 -0500 | [diff] [blame] | 29 | <version>2.2.0-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 30 | <relativePath/> |
| 31 | </parent> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 32 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 33 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 34 | <artifactId>sdnr-wt-odlux-framework</artifactId> |
Dan Timoney | af9977a | 2021-03-09 11:39:34 -0500 | [diff] [blame] | 35 | <version>1.2.0-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 36 | <packaging>jar</packaging> |
Singal, Kapil (ks220y) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 37 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 38 | <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) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 45 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 46 | <properties> |
| 47 | <buildtime>${maven.build.timestamp}</buildtime> |
| 48 | <distversion>ONAP Frankfurt (Neon, mdsal ${odl.mdsal.version})</distversion> |
Michael DÜrre | 21e4a94 | 2021-04-08 07:27:18 +0200 | [diff] [blame^] | 49 | <buildno>96.078ad12(21/03/25)</buildno> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 50 | <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version> |
| 51 | </properties> |
Singal, Kapil (ks220y) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 52 | |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 53 | <build> |
| 54 | <resources> |
| 55 | <resource> |
| 56 | <directory>dist</directory> |
| 57 | <targetPath>odlux</targetPath> |
| 58 | </resource> |
Aijana Schumann | 3d02271 | 2020-08-12 12:28:06 +0200 | [diff] [blame] | 59 | <resource> |
| 60 | <directory>src2/main/resources</directory> |
| 61 | <targetPath>odlux</targetPath> |
| 62 | </resource> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 63 | </resources> |
| 64 | <plugins> |
| 65 | <plugin> |
| 66 | <artifactId>maven-clean-plugin</artifactId> |
| 67 | <configuration> |
| 68 | <filesets> |
| 69 | <fileset> |
| 70 | <directory>dist</directory> |
| 71 | <followSymlinks>false</followSymlinks> |
| 72 | </fileset> |
| 73 | <fileset> |
| 74 | <directory>node</directory> |
| 75 | <followSymlinks>false</followSymlinks> |
| 76 | </fileset> |
| 77 | <fileset> |
| 78 | <directory>node_modules</directory> |
| 79 | <followSymlinks>false</followSymlinks> |
| 80 | </fileset> |
| 81 | <fileset> |
| 82 | <directory>../node_modules</directory> |
| 83 | <followSymlinks>false</followSymlinks> |
| 84 | </fileset> |
| 85 | <!-- eclipse bug build bin folder in basedir --> |
| 86 | <fileset> |
| 87 | <directory>bin</directory> |
| 88 | <followSymlinks>false</followSymlinks> |
| 89 | </fileset> |
| 90 | </filesets> |
| 91 | </configuration> |
| 92 | </plugin> |
| 93 | <plugin> |
| 94 | <groupId>de.jacks-it-lab</groupId> |
| 95 | <artifactId>frontend-maven-plugin</artifactId> |
| 96 | <version>1.7.2</version> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <id>install node and yarn</id> |
| 100 | <goals> |
| 101 | <goal>install-node-and-yarn</goal> |
| 102 | </goals> |
| 103 | <!-- optional: default phase is "generate-resources" --> |
| 104 | <phase>initialize</phase> |
| 105 | <configuration> |
| 106 | <nodeVersion>v10.16.3</nodeVersion> |
| 107 | <yarnVersion>v1.19.0</yarnVersion> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | <execution> |
| 111 | <id>clear cache</id> |
| 112 | <goals> |
| 113 | <goal>yarn</goal> |
| 114 | </goals> |
| 115 | <phase>initialize</phase> |
| 116 | <configuration> |
| 117 | <arguments>cache clean</arguments> |
| 118 | <installDirectory>${project.basedir}</installDirectory> |
| 119 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 120 | </configuration> |
| 121 | </execution> |
| 122 | <execution> |
| 123 | <id>install lerna</id> |
| 124 | <goals> |
| 125 | <goal>yarn</goal> |
| 126 | </goals> |
| 127 | <phase>initialize</phase> |
| 128 | <configuration> |
Michael DÜrre | 21e4a94 | 2021-04-08 07:27:18 +0200 | [diff] [blame^] | 129 | <arguments>add lerna@3.22.1 -W --exact</arguments> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 130 | <installDirectory>${project.basedir}</installDirectory> |
| 131 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 132 | </configuration> |
| 133 | </execution> |
| 134 | <execution> |
| 135 | <id>exec lerna bootstrap</id> |
| 136 | <goals> |
| 137 | <goal>lerna</goal> |
| 138 | </goals> |
| 139 | <phase>initialize</phase> |
| 140 | <configuration> |
| 141 | <lernaInheritsProxyConfigFromMaven>false</lernaInheritsProxyConfigFromMaven> |
| 142 | <arguments>bootstrap</arguments> |
| 143 | <installDirectory>${project.basedir}</installDirectory> |
| 144 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 145 | </configuration> |
| 146 | </execution> |
| 147 | <execution> |
| 148 | <id>yarn build</id> |
| 149 | <goals> |
| 150 | <goal>yarn</goal> |
| 151 | </goals> |
| 152 | <configuration> |
| 153 | <arguments>run build</arguments> |
| 154 | </configuration> |
| 155 | </execution> |
| 156 | </executions> |
| 157 | </plugin> |
| 158 | <plugin> |
| 159 | <groupId>org.apache.maven.plugins</groupId> |
| 160 | <artifactId>maven-jar-plugin</artifactId> |
| 161 | </plugin> |
Aijana Schumann | 8515052 | 2021-02-15 18:22:28 +0100 | [diff] [blame] | 162 | <plugin> |
| 163 | <groupId>org.codehaus.mojo</groupId> |
| 164 | <artifactId>properties-maven-plugin</artifactId> |
| 165 | <version>1.0.0</version> |
| 166 | <executions> |
| 167 | <execution> |
| 168 | <phase>initialize</phase> |
| 169 | <goals> |
| 170 | <goal>read-project-properties</goal> |
| 171 | </goals> |
| 172 | <configuration> |
| 173 | <files> |
| 174 | <file>${basedir}/../odlux.properties</file> |
| 175 | </files> |
| 176 | </configuration> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 180 | <plugin> |
| 181 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 182 | <artifactId>replacer</artifactId> |
| 183 | <version>1.5.2</version> |
| 184 | <executions> |
| 185 | <execution> |
| 186 | <id>replace version</id> |
| 187 | <phase>prepare-package</phase> |
| 188 | <goals> |
| 189 | <goal>replace</goal> |
| 190 | </goals> |
| 191 | </execution> |
| 192 | </executions> |
| 193 | <configuration> |
| 194 | <basedir>${project.build.directory}/classes/odlux</basedir> |
| 195 | <includes> |
| 196 | <include>app.js</include> |
Aijana Schumann | 3d02271 | 2020-08-12 12:28:06 +0200 | [diff] [blame] | 197 | <include>version.json</include> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 198 | </includes> |
| 199 | <replacements> |
| 200 | <replacement> |
| 201 | <token>##odlux.version##</token> |
| 202 | <value>${odlux.version}</value> |
| 203 | </replacement> |
Aijana Schumann | 8515052 | 2021-02-15 18:22:28 +0100 | [diff] [blame] | 204 | <replacement> |
Aijana Schumann | 3d02271 | 2020-08-12 12:28:06 +0200 | [diff] [blame] | 205 | <token>##buildno##</token> |
| 206 | <value>${buildno}</value> |
| 207 | </replacement> |
| 208 | <replacement> |
| 209 | <token>##build-timestamp##</token> |
| 210 | <value>${buildtime}</value> |
| 211 | </replacement> |
Aijana Schumann | 8515052 | 2021-02-15 18:22:28 +0100 | [diff] [blame] | 212 | <replacement> |
| 213 | <token>##odlux.framework.buildno##</token> |
| 214 | <value>${odlux.framework.buildno}</value> |
| 215 | </replacement> |
| 216 | <replacement> |
| 217 | <token>##odlux.apps.configurationApp.buildno##</token> |
| 218 | <value>${odlux.apps.configurationApp.buildno}</value> |
| 219 | </replacement> |
| 220 | <replacement> |
| 221 | <token>##odlux.apps.connectApp.buildno##</token> |
| 222 | <value>${odlux.apps.connectApp.buildno}</value> |
| 223 | </replacement> |
| 224 | <replacement> |
| 225 | <token>##odlux.apps.eventLogApp.buildno##</token> |
| 226 | <value>${odlux.apps.eventLogApp.buildno}</value> |
| 227 | </replacement> |
| 228 | <replacement> |
| 229 | <token>##odlux.apps.faultApp.buildno##</token> |
| 230 | <value>${odlux.apps.faultApp.buildno}</value> |
| 231 | </replacement> |
| 232 | <replacement> |
| 233 | <token>##odlux.apps.helpApp.buildno##</token> |
| 234 | <value>${odlux.apps.helpApp.buildno}</value> |
| 235 | </replacement> |
| 236 | <replacement> |
| 237 | <token>##odlux.apps.inventoryApp.buildno##</token> |
| 238 | <value>${odlux.apps.inventoryApp.buildno}</value> |
| 239 | </replacement> |
| 240 | <replacement> |
| 241 | <token>##odlux.apps.linkCalculationApp.buildno##</token> |
| 242 | <value>${odlux.apps.linkCalculationApp.buildno}</value> |
| 243 | </replacement> |
| 244 | <replacement> |
| 245 | <token>##odlux.apps.maintenanceApp.buildno##</token> |
| 246 | <value>${odlux.apps.maintenanceApp.buildno}</value> |
| 247 | </replacement> |
| 248 | <replacement> |
| 249 | <token>##odlux.apps.mediatorApp.buildno##</token> |
| 250 | <value>${odlux.apps.mediatorApp.buildno}</value> |
| 251 | </replacement> |
| 252 | <replacement> |
| 253 | <token>##odlux.apps.networkMapApp.buildno##</token> |
| 254 | <value>${odlux.apps.networkMapApp.buildno}</value> |
| 255 | </replacement> |
| 256 | <replacement> |
| 257 | <token>##odlux.apps.permanceHistoryApp.buildno##</token> |
| 258 | <value>${odlux.apps.permanceHistoryApp.buildno}</value> |
| 259 | </replacement> |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame] | 260 | </replacements> |
| 261 | </configuration> |
| 262 | </plugin> |
| 263 | </plugins> |
| 264 | </build> |
herbert | e6d0d67 | 2019-12-14 01:05:47 +0100 | [diff] [blame] | 265 | </project> |