blob: fc7a532c9fc33248d547790107281dc3958462b8 [file] [log] [blame]
herberte6d0d672019-12-14 01:05:47 +01001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -05002<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">
3 <modelVersion>4.0.0</modelVersion>
herberte6d0d672019-12-14 01:05:47 +01004
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent</artifactId>
Dan Timoney49035452020-01-30 09:53:35 -05008 <version>1.5.2-SNAPSHOT</version>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -05009 <relativePath/>
10 </parent>
herberte6d0d672019-12-14 01:05:47 +010011
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050012 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
13 <artifactId>sdnr-wt-odlux-framework</artifactId>
Dan Timoney49035452020-01-30 09:53:35 -050014 <version>0.7.1-SNAPSHOT</version>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050015 <packaging>jar</packaging>
16
17 <name>ccsdk-features :: ${project.artifactId}</name>
18 <licenses>
19 <license>
20 <name>Apache License, Version 2.0</name>
21 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
22 </license>
23 </licenses>
24
25 <properties>
26 <buildtime>${maven.build.timestamp}</buildtime>
27 <distversion>ONAP Frankfurt (Neon, mdsal ${odl.mdsal.version})</distversion>
28 <buildno>36.1a30021(19/12/12)</buildno>
29 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
30 </properties>
31
32 <build>
33 <resources>
34 <resource>
35 <directory>dist</directory>
36 <targetPath>odlux</targetPath>
37 </resource>
38 </resources>
39 <plugins>
40 <plugin>
41 <artifactId>maven-clean-plugin</artifactId>
42 <configuration>
43 <filesets>
44 <fileset>
45 <directory>dist</directory>
46 <followSymlinks>false</followSymlinks>
47 </fileset>
48 <fileset>
49 <directory>node</directory>
50 <followSymlinks>false</followSymlinks>
51 </fileset>
52 <fileset>
53 <directory>node_modules</directory>
54 <followSymlinks>false</followSymlinks>
55 </fileset>
56 <fileset>
57 <directory>../node_modules</directory>
58 <followSymlinks>false</followSymlinks>
59 </fileset>
60 <!-- eclipse bug build bin folder in basedir -->
61 <fileset>
62 <directory>bin</directory>
63 <followSymlinks>false</followSymlinks>
64 </fileset>
65 </filesets>
66 </configuration>
67 </plugin>
68 <plugin>
69 <groupId>de.jacks-it-lab</groupId>
70 <artifactId>frontend-maven-plugin</artifactId>
Singal, Kapil (ks220y)db2c98a2020-01-06 11:47:09 -050071 <version>1.7.2</version>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050072 <executions>
73 <execution>
74 <id>install node and yarn</id>
75 <goals>
76 <goal>install-node-and-yarn</goal>
77 </goals>
78 <!-- optional: default phase is "generate-resources" -->
79 <phase>initialize</phase>
80 <configuration>
81 <nodeVersion>v10.16.3</nodeVersion>
82 <yarnVersion>v1.19.0</yarnVersion>
83 </configuration>
84 </execution>
85 <execution>
86 <id>clear cache</id>
87 <goals>
88 <goal>yarn</goal>
89 </goals>
90 <phase>initialize</phase>
91 <configuration>
92 <arguments>cache clean</arguments>
93 <installDirectory>${project.basedir}</installDirectory>
94 <workingDirectory>${project.basedir}/../</workingDirectory>
95 </configuration>
96 </execution>
97 <execution>
98 <id>install lerna</id>
99 <goals>
100 <goal>yarn</goal>
101 </goals>
102 <phase>initialize</phase>
103 <configuration>
104 <arguments>add lerna@3.13.1 -W --exact</arguments>
105 <installDirectory>${project.basedir}</installDirectory>
106 <workingDirectory>${project.basedir}/../</workingDirectory>
107 </configuration>
108 </execution>
109 <execution>
110 <id>exec lerna bootstrap</id>
111 <goals>
112 <goal>lerna</goal>
113 </goals>
114 <phase>initialize</phase>
115 <configuration>
116 <lernaInheritsProxyConfigFromMaven>false</lernaInheritsProxyConfigFromMaven>
117 <arguments>bootstrap</arguments>
118 <installDirectory>${project.basedir}</installDirectory>
119 <workingDirectory>${project.basedir}/../</workingDirectory>
120 </configuration>
121 </execution>
122 <execution>
123 <id>yarn build</id>
124 <goals>
125 <goal>yarn</goal>
126 </goals>
127 <configuration>
128 <arguments>run build</arguments>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-jar-plugin</artifactId>
136 </plugin>
137 <plugin>
138 <groupId>com.google.code.maven-replacer-plugin</groupId>
139 <artifactId>replacer</artifactId>
140 <version>1.5.2</version>
141 <executions>
142 <execution>
143 <id>replace version</id>
144 <phase>prepare-package</phase>
145 <goals>
146 <goal>replace</goal>
147 </goals>
148 </execution>
149 </executions>
150 <configuration>
151 <basedir>${project.build.directory}/classes/odlux</basedir>
152 <includes>
153 <include>app.js</include>
154 </includes>
155 <replacements>
156 <replacement>
157 <token>##odlux.version##</token>
158 <value>${odlux.version}</value>
159 </replacement>
160 </replacements>
161 </configuration>
162 </plugin>
163 </plugins>
164 </build>
herberte6d0d672019-12-14 01:05:47 +0100165</project>