Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 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"> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 5 | |
| 6 | <parent> |
| 7 | <groupId>org.onap.ccsdk.parent</groupId> |
| 8 | <artifactId>odlparent</artifactId> |
Timoney, Dan (dt5972) | 528f639 | 2019-03-19 18:29:32 -0400 | [diff] [blame] | 9 | <version>1.2.2-SNAPSHOT</version> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 10 | <relativePath /> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 11 | </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) | 528f639 | 2019-03-19 18:29:32 -0400 | [diff] [blame] | 15 | <version>0.4.2-SNAPSHOT</version> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 16 | <packaging>jar</packaging> |
| 17 | <name>sdnr-wt-odlux-framework</name> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 18 | <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 Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 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> |
Herbert Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 53 | <!-- eclipse bug build bin folder in basedir --> |
| 54 | <fileset> |
| 55 | <directory>bin</directory> |
| 56 | <followSymlinks>false</followSymlinks> |
| 57 | </fileset> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 58 | </filesets> |
| 59 | </configuration> |
| 60 | </plugin> |
| 61 | <plugin> |
Herbert Eiselt | f82df6f | 2019-03-19 15:12:28 +0100 | [diff] [blame] | 62 | <groupId>de.jacksitlab</groupId> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 63 | <artifactId>frontend-maven-plugin</artifactId> |
Herbert Eiselt | f82df6f | 2019-03-19 15:12:28 +0100 | [diff] [blame] | 64 | <version>1.7.1</version> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 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> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 85 | <arguments>add lerna@3.13.1 -W --exact</arguments> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 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> |
Herbert Eiselt | 62e8348 | 2019-03-28 19:00:35 +0100 | [diff] [blame] | 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> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 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> |