blob: 06142f6182175ade83b7e4d6644717cc50b321bc [file] [log] [blame]
Herbert Eiselt3d202a02019-02-11 14:54:12 +01001<?xml version="1.0" encoding="UTF-8"?>
Herbert Eiselt62e83482019-03-28 19:00:35 +01002<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">
Herbert Eiselt3d202a02019-02-11 14:54:12 +01005
6 <parent>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent</artifactId>
Timoney, Dan (dt5972)528f6392019-03-19 18:29:32 -04009 <version>1.2.2-SNAPSHOT</version>
Herbert Eiselt62e83482019-03-28 19:00:35 +010010 <relativePath />
Herbert Eiselt3d202a02019-02-11 14:54:12 +010011 </parent>
12 <modelVersion>4.0.0</modelVersion>
13 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
14 <artifactId>sdnr-wt-odlux-framework</artifactId>
Timoney, Dan (dt5972)528f6392019-03-19 18:29:32 -040015 <version>0.4.2-SNAPSHOT</version>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010016 <packaging>jar</packaging>
17 <name>sdnr-wt-odlux-framework</name>
Herbert Eiselt62e83482019-03-28 19:00:35 +010018 <properties>
19 <buildtime>${maven.build.timestamp}</buildtime>
20 <distversion>ONAP Dublin (Flourine-SR2)</distversion>
21 <buildno>6.aa84511(19/03/28)</buildno>
22 <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version>
23 </properties>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010024 <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>
Herbert Eiselt7446f232019-02-28 15:23:42 +010053 <!-- eclipse bug build bin folder in basedir -->
54 <fileset>
55 <directory>bin</directory>
56 <followSymlinks>false</followSymlinks>
57 </fileset>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010058 </filesets>
59 </configuration>
60 </plugin>
61 <plugin>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +010062 <groupId>de.jacksitlab</groupId>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010063 <artifactId>frontend-maven-plugin</artifactId>
Herbert Eiseltf82df6f2019-03-19 15:12:28 +010064 <version>1.7.1</version>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010065 <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>
Herbert Eiselt62e83482019-03-28 19:00:35 +010085 <arguments>add lerna@3.13.1 -W --exact</arguments>
Herbert Eiselt3d202a02019-02-11 14:54:12 +010086 <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>
Herbert Eiselt62e83482019-03-28 19:00:35 +0100117 <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>
Herbert Eiselt3d202a02019-02-11 14:54:12 +0100143 </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>