blob: 8df0b7cbcd5323a3701481e9582a0d26ea66e64b [file] [log] [blame]
Herbert Eiselt3d202a02019-02-11 14:54:12 +01001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -04002<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">
Herbert Eiselt3d202a02019-02-11 14:54:12 +01003
4 <parent>
5 <groupId>org.onap.ccsdk.parent</groupId>
6 <artifactId>odlparent</artifactId>
Timoney, Dan (dt5972)d761bb62019-04-30 14:46:09 -04007 <version>1.3.0-SNAPSHOT</version>
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -04008 <relativePath/>
Herbert Eiselt3d202a02019-02-11 14:54:12 +01009 </parent>
10 <modelVersion>4.0.0</modelVersion>
11 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
12 <artifactId>sdnr-wt-odlux-framework</artifactId>
Timoney, Dan (dt5972)528f6392019-03-19 18:29:32 -040013 <version>0.4.2-SNAPSHOT</version>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010014 <packaging>jar</packaging>
15 <name>sdnr-wt-odlux-framework</name>
Herbert Eiselt62e83482019-03-28 19:00:35 +010016 <properties>
17 <buildtime>${maven.build.timestamp}</buildtime>
18 <distversion>ONAP Dublin (Flourine-SR2)</distversion>
Herbert Eiselt97fa6d92019-04-03 17:12:30 +020019 <buildno>8.c7848df(19/04/03)</buildno>
Herbert Eiselt62e83482019-03-28 19:00:35 +010020 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
21 </properties>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010022 <licenses>
23 <license>
24 <name>Apache License, Version 2.0</name>
25 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
26 </license>
27 </licenses>
28
29 <build>
30 <plugins>
31 <plugin>
32 <artifactId>maven-clean-plugin</artifactId>
33 <configuration>
34 <filesets>
35 <fileset>
36 <directory>dist</directory>
37 <followSymlinks>false</followSymlinks>
38 </fileset>
39 <fileset>
40 <directory>node</directory>
41 <followSymlinks>false</followSymlinks>
42 </fileset>
43 <fileset>
44 <directory>node_modules</directory>
45 <followSymlinks>false</followSymlinks>
46 </fileset>
47 <fileset>
48 <directory>../node_modules</directory>
49 <followSymlinks>false</followSymlinks>
50 </fileset>
Herbert Eiselt7446f232019-02-28 15:23:42 +010051 <!-- eclipse bug build bin folder in basedir -->
52 <fileset>
53 <directory>bin</directory>
54 <followSymlinks>false</followSymlinks>
55 </fileset>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010056 </filesets>
57 </configuration>
58 </plugin>
59 <plugin>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +010060 <groupId>de.jacksitlab</groupId>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010061 <artifactId>frontend-maven-plugin</artifactId>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +010062 <version>1.7.1</version>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010063 <executions>
64 <execution>
65 <id>install node and yarn</id>
66 <goals>
67 <goal>install-node-and-yarn</goal>
68 </goals>
69 <!-- optional: default phase is "generate-resources" -->
70 <phase>initialize</phase>
71 <configuration>
72 <nodeVersion>v8.10.0</nodeVersion>
73 <yarnVersion>v1.12.3</yarnVersion>
74 </configuration>
75 </execution>
76 <execution>
77 <id>install lerna</id>
78 <goals>
79 <goal>yarn</goal>
80 </goals>
81 <phase>initialize</phase>
82 <configuration>
Herbert Eiselt62e83482019-03-28 19:00:35 +010083 <arguments>add lerna@3.13.1 -W --exact</arguments>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010084 <installDirectory>${project.basedir}</installDirectory>
85 <workingDirectory>${project.basedir}/../</workingDirectory>
86 </configuration>
87 </execution>
88 <execution>
89 <id>exec lerna bootstrap</id>
90 <goals>
91 <goal>lerna</goal>
92 </goals>
93 <phase>initialize</phase>
94 <configuration>
95 <arguments>bootstrap</arguments>
96 <installDirectory>${project.basedir}</installDirectory>
97 <workingDirectory>${project.basedir}/../</workingDirectory>
98 </configuration>
99 </execution>
100 <execution>
101 <id>yarn build</id>
102 <goals>
103 <goal>yarn</goal>
104 </goals>
105 <configuration>
106 <arguments>run build</arguments>
107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-jar-plugin</artifactId>
114 </plugin>
Herbert Eiselt62e83482019-03-28 19:00:35 +0100115 <plugin>
116 <groupId>com.google.code.maven-replacer-plugin</groupId>
117 <artifactId>replacer</artifactId>
118 <version>1.5.2</version>
119 <executions>
120 <execution>
121 <id>replace version</id>
122 <phase>prepare-package</phase>
123 <goals>
124 <goal>replace</goal>
125 </goals>
126 </execution>
127 </executions>
128 <configuration>
129 <basedir>${project.build.directory}/classes/odlux</basedir>
130 <includes>
131 <include>app.js</include>
132 </includes>
133 <replacements>
134 <replacement>
135 <token>##odlux.version##</token>
136 <value>${odlux.version}</value>
137 </replacement>
138 </replacements>
139 </configuration>
140 </plugin>
Herbert Eiselt3d202a02019-02-11 14:54:12 +0100141 </plugins>
142 <resources>
143 <resource>
144 <directory>dist</directory>
145 <targetPath>odlux</targetPath>
146 </resource>
147 </resources>
148 </build>
149 <pluginRepositories>
150 <pluginRepository>
151 <id>highstreet repo</id>
152 <url>https://cloud-highstreet-technologies.com/mvn/</url>
153 <snapshots>
154 <enabled>true</enabled>
155 <updatePolicy>always</updatePolicy>
156 </snapshots>
157 </pluginRepository>
158 </pluginRepositories>
159</project>