Merge "SDNR WT configure alarm severity"
[ccsdk/features.git] / sdnr / wt / odlux / framework / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6         <parent>
7                 <groupId>org.onap.ccsdk.parent</groupId>
8                 <artifactId>odlparent</artifactId>
9                 <version>1.2.2-SNAPSHOT</version>
10                 <relativePath />
11         </parent>
12         <modelVersion>4.0.0</modelVersion>
13         <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
14         <artifactId>sdnr-wt-odlux-framework</artifactId>
15         <version>0.4.2-SNAPSHOT</version>
16         <packaging>jar</packaging>
17         <name>sdnr-wt-odlux-framework</name>
18         <properties>
19                 <buildtime>${maven.build.timestamp}</buildtime>
20                 <distversion>ONAP Dublin (Flourine-SR2)</distversion>
21                 <buildno>8.c7848df(19/04/03)</buildno>
22                 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
23         </properties>
24         <licenses>
25                 <license>
26                         <name>Apache License, Version 2.0</name>
27                         <url>http://www.apache.org/licenses/LICENSE-2.0</url>
28                 </license>
29         </licenses>
30
31         <build>
32                 <plugins>
33                         <plugin>
34                                 <artifactId>maven-clean-plugin</artifactId>
35                                 <configuration>
36                                         <filesets>
37                                                 <fileset>
38                                                         <directory>dist</directory>
39                                                         <followSymlinks>false</followSymlinks>
40                                                 </fileset>
41                                                 <fileset>
42                                                         <directory>node</directory>
43                                                         <followSymlinks>false</followSymlinks>
44                                                 </fileset>
45                                                 <fileset>
46                                                         <directory>node_modules</directory>
47                                                         <followSymlinks>false</followSymlinks>
48                                                 </fileset>
49                                                 <fileset>
50                                                         <directory>../node_modules</directory>
51                                                         <followSymlinks>false</followSymlinks>
52                                                 </fileset>
53                                                 <!-- eclipse bug build bin folder in basedir -->
54                                                 <fileset>
55                                                         <directory>bin</directory>
56                                                         <followSymlinks>false</followSymlinks>
57                                                 </fileset>
58                                         </filesets>
59                                 </configuration>
60                         </plugin>
61                         <plugin>
62                                 <groupId>de.jacksitlab</groupId>
63                                 <artifactId>frontend-maven-plugin</artifactId>
64                                 <version>1.7.1</version>
65                                 <executions>
66                                         <execution>
67                                                 <id>install node and yarn</id>
68                                                 <goals>
69                                                         <goal>install-node-and-yarn</goal>
70                                                 </goals>
71                                                 <!-- optional: default phase is "generate-resources" -->
72                                                 <phase>initialize</phase>
73                                                 <configuration>
74                                                         <nodeVersion>v8.10.0</nodeVersion>
75                                                         <yarnVersion>v1.12.3</yarnVersion>
76                                                 </configuration>
77                                         </execution>
78                                         <execution>
79                                                 <id>install lerna</id>
80                                                 <goals>
81                                                         <goal>yarn</goal>
82                                                 </goals>
83                                                 <phase>initialize</phase>
84                                                 <configuration>
85                                                         <arguments>add lerna@3.13.1 -W --exact</arguments>
86                                                         <installDirectory>${project.basedir}</installDirectory>
87                                                         <workingDirectory>${project.basedir}/../</workingDirectory>
88                                                 </configuration>
89                                         </execution>
90                                         <execution>
91                                                 <id>exec lerna bootstrap</id>
92                                                 <goals>
93                                                         <goal>lerna</goal>
94                                                 </goals>
95                                                 <phase>initialize</phase>
96                                                 <configuration>
97                                                         <arguments>bootstrap</arguments>
98                                                         <installDirectory>${project.basedir}</installDirectory>
99                                                         <workingDirectory>${project.basedir}/../</workingDirectory>
100                                                 </configuration>
101                                         </execution>
102                                         <execution>
103                                                 <id>yarn build</id>
104                                                 <goals>
105                                                         <goal>yarn</goal>
106                                                 </goals>
107                                                 <configuration>
108                                                         <arguments>run build</arguments>
109                                                 </configuration>
110                                         </execution>
111                                 </executions>
112                         </plugin>
113                         <plugin>
114                                 <groupId>org.apache.maven.plugins</groupId>
115                                 <artifactId>maven-jar-plugin</artifactId>
116                         </plugin>
117                         <plugin>
118                                 <groupId>com.google.code.maven-replacer-plugin</groupId>
119                                 <artifactId>replacer</artifactId>
120                                 <version>1.5.2</version>
121                                 <executions>
122                                         <execution>
123                                                 <id>replace version</id>
124                                                 <phase>prepare-package</phase>
125                                                 <goals>
126                                                         <goal>replace</goal>
127                                                 </goals>
128                                         </execution>
129                                 </executions>
130                                 <configuration>
131                                         <basedir>${project.build.directory}/classes/odlux</basedir>
132                                         <includes>
133                                                 <include>app.js</include>
134                                         </includes>
135                                         <replacements>
136                                                 <replacement>
137                                                         <token>##odlux.version##</token>
138                                                         <value>${odlux.version}</value>
139                                                 </replacement>
140                                         </replacements>
141                                 </configuration>
142                         </plugin>
143                 </plugins>
144                 <resources>
145                         <resource>
146                                 <directory>dist</directory>
147                                 <targetPath>odlux</targetPath>
148                         </resource>
149                 </resources>
150         </build>
151         <pluginRepositories>
152                 <pluginRepository>
153                         <id>highstreet repo</id>
154                         <url>https://cloud-highstreet-technologies.com/mvn/</url>
155                         <snapshots>
156                                 <enabled>true</enabled>
157                                 <updatePolicy>always</updatePolicy>
158                         </snapshots>
159                 </pluginRepository>
160         </pluginRepositories>
161 </project>