Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Timoney, Dan (dt5972) | 9560e60 | 2019-04-24 16:04:56 -0400 | [diff] [blame] | 2 | <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 Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 3 | |
| 4 | <parent> |
| 5 | <groupId>org.onap.ccsdk.parent</groupId> |
| 6 | <artifactId>odlparent</artifactId> |
Timoney, Dan (dt5972) | b511df0 | 2019-11-13 10:49:18 -0500 | [diff] [blame] | 7 | <version>1.5.0</version> |
Timoney, Dan (dt5972) | 9560e60 | 2019-04-24 16:04:56 -0400 | [diff] [blame] | 8 | <relativePath/> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 9 | </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) | bc48337 | 2019-09-11 10:58:56 -0400 | [diff] [blame] | 13 | <version>0.7.0-SNAPSHOT</version> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 14 | <packaging>jar</packaging> |
| 15 | <name>sdnr-wt-odlux-framework</name> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 16 | <properties> |
| 17 | <buildtime>${maven.build.timestamp}</buildtime> |
| 18 | <distversion>ONAP Dublin (Flourine-SR2)</distversion> |
sai-neetha | f6f34d5 | 2019-08-12 17:51:27 +0200 | [diff] [blame] | 19 | <buildno>15.b8b89e4(19/08/12)</buildno> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 20 | <odlux.version>ONAP SDN-R | ONF Wireless for ${distversion} - Build: ${buildtime} ${buildno} ${project.version}</odlux.version> |
| 21 | </properties> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 22 | <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 Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 51 | <!-- eclipse bug build bin folder in basedir --> |
| 52 | <fileset> |
| 53 | <directory>bin</directory> |
| 54 | <followSymlinks>false</followSymlinks> |
| 55 | </fileset> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 56 | </filesets> |
| 57 | </configuration> |
| 58 | </plugin> |
| 59 | <plugin> |
Herbert Eiselt | f82df6f | 2019-03-19 15:12:28 +0100 | [diff] [blame] | 60 | <groupId>de.jacksitlab</groupId> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 61 | <artifactId>frontend-maven-plugin</artifactId> |
Herbert Eiselt | f82df6f | 2019-03-19 15:12:28 +0100 | [diff] [blame] | 62 | <version>1.7.1</version> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 63 | <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 Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 83 | <arguments>add lerna@3.13.1 -W --exact</arguments> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 84 | <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> |
Jack | 413a6a6 | 2019-07-27 13:23:27 +0200 | [diff] [blame] | 95 | <lernaInheritsProxyConfigFromMaven>false</lernaInheritsProxyConfigFromMaven> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 96 | <arguments>bootstrap</arguments> |
| 97 | <installDirectory>${project.basedir}</installDirectory> |
| 98 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | <execution> |
| 102 | <id>yarn build</id> |
| 103 | <goals> |
| 104 | <goal>yarn</goal> |
| 105 | </goals> |
| 106 | <configuration> |
| 107 | <arguments>run build</arguments> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | </plugin> |
| 112 | <plugin> |
| 113 | <groupId>org.apache.maven.plugins</groupId> |
| 114 | <artifactId>maven-jar-plugin</artifactId> |
| 115 | </plugin> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 116 | <plugin> |
| 117 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
| 118 | <artifactId>replacer</artifactId> |
| 119 | <version>1.5.2</version> |
| 120 | <executions> |
| 121 | <execution> |
| 122 | <id>replace version</id> |
| 123 | <phase>prepare-package</phase> |
| 124 | <goals> |
| 125 | <goal>replace</goal> |
| 126 | </goals> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | <configuration> |
| 130 | <basedir>${project.build.directory}/classes/odlux</basedir> |
| 131 | <includes> |
| 132 | <include>app.js</include> |
| 133 | </includes> |
| 134 | <replacements> |
| 135 | <replacement> |
| 136 | <token>##odlux.version##</token> |
| 137 | <value>${odlux.version}</value> |
| 138 | </replacement> |
| 139 | </replacements> |
| 140 | </configuration> |
| 141 | </plugin> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 142 | </plugins> |
| 143 | <resources> |
| 144 | <resource> |
| 145 | <directory>dist</directory> |
| 146 | <targetPath>odlux</targetPath> |
| 147 | </resource> |
| 148 | </resources> |
| 149 | </build> |
| 150 | <pluginRepositories> |
| 151 | <pluginRepository> |
| 152 | <id>highstreet repo</id> |
| 153 | <url>https://cloud-highstreet-technologies.com/mvn/</url> |
| 154 | <snapshots> |
| 155 | <enabled>true</enabled> |
| 156 | <updatePolicy>always</updatePolicy> |
| 157 | </snapshots> |
| 158 | </pluginRepository> |
| 159 | </pluginRepositories> |
| 160 | </project> |