Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Timoney, Dan (dt5972) | 55e06ff | 2019-03-14 13:33:50 -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) | 55e06ff | 2019-03-14 13:33:50 -0400 | [diff] [blame] | 7 | <version>1.2.1</version> |
| 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> |
| 13 | <version>0.4.1-SNAPSHOT</version> |
| 14 | <packaging>jar</packaging> |
| 15 | <name>sdnr-wt-odlux-framework</name> |
| 16 | <licenses> |
| 17 | <license> |
| 18 | <name>Apache License, Version 2.0</name> |
| 19 | <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| 20 | </license> |
| 21 | </licenses> |
| 22 | |
| 23 | <build> |
| 24 | <plugins> |
| 25 | <plugin> |
| 26 | <artifactId>maven-clean-plugin</artifactId> |
| 27 | <configuration> |
| 28 | <filesets> |
| 29 | <fileset> |
| 30 | <directory>dist</directory> |
| 31 | <followSymlinks>false</followSymlinks> |
| 32 | </fileset> |
| 33 | <fileset> |
| 34 | <directory>node</directory> |
| 35 | <followSymlinks>false</followSymlinks> |
| 36 | </fileset> |
| 37 | <fileset> |
| 38 | <directory>node_modules</directory> |
| 39 | <followSymlinks>false</followSymlinks> |
| 40 | </fileset> |
| 41 | <fileset> |
| 42 | <directory>../node_modules</directory> |
| 43 | <followSymlinks>false</followSymlinks> |
| 44 | </fileset> |
Herbert Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 45 | <!-- eclipse bug build bin folder in basedir --> |
| 46 | <fileset> |
| 47 | <directory>bin</directory> |
| 48 | <followSymlinks>false</followSymlinks> |
| 49 | </fileset> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 50 | </filesets> |
| 51 | </configuration> |
| 52 | </plugin> |
| 53 | <plugin> |
Herbert Eiselt | f82df6f | 2019-03-19 15:12:28 +0100 | [diff] [blame^] | 54 | <groupId>de.jacksitlab</groupId> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 55 | <artifactId>frontend-maven-plugin</artifactId> |
Herbert Eiselt | f82df6f | 2019-03-19 15:12:28 +0100 | [diff] [blame^] | 56 | <version>1.7.1</version> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 57 | <executions> |
| 58 | <execution> |
| 59 | <id>install node and yarn</id> |
| 60 | <goals> |
| 61 | <goal>install-node-and-yarn</goal> |
| 62 | </goals> |
| 63 | <!-- optional: default phase is "generate-resources" --> |
| 64 | <phase>initialize</phase> |
| 65 | <configuration> |
| 66 | <nodeVersion>v8.10.0</nodeVersion> |
| 67 | <yarnVersion>v1.12.3</yarnVersion> |
| 68 | </configuration> |
| 69 | </execution> |
| 70 | <execution> |
| 71 | <id>install lerna</id> |
| 72 | <goals> |
| 73 | <goal>yarn</goal> |
| 74 | </goals> |
| 75 | <phase>initialize</phase> |
| 76 | <configuration> |
| 77 | <arguments>-W add lerna</arguments> |
| 78 | <installDirectory>${project.basedir}</installDirectory> |
| 79 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 80 | </configuration> |
| 81 | </execution> |
| 82 | <execution> |
| 83 | <id>exec lerna bootstrap</id> |
| 84 | <goals> |
| 85 | <goal>lerna</goal> |
| 86 | </goals> |
| 87 | <phase>initialize</phase> |
| 88 | <configuration> |
| 89 | <arguments>bootstrap</arguments> |
| 90 | <installDirectory>${project.basedir}</installDirectory> |
| 91 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 92 | </configuration> |
| 93 | </execution> |
| 94 | <execution> |
| 95 | <id>yarn build</id> |
| 96 | <goals> |
| 97 | <goal>yarn</goal> |
| 98 | </goals> |
| 99 | <configuration> |
| 100 | <arguments>run build</arguments> |
| 101 | </configuration> |
| 102 | </execution> |
| 103 | </executions> |
| 104 | </plugin> |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-jar-plugin</artifactId> |
| 108 | </plugin> |
| 109 | </plugins> |
| 110 | <resources> |
| 111 | <resource> |
| 112 | <directory>dist</directory> |
| 113 | <targetPath>odlux</targetPath> |
| 114 | </resource> |
| 115 | </resources> |
| 116 | </build> |
| 117 | <pluginRepositories> |
| 118 | <pluginRepository> |
| 119 | <id>highstreet repo</id> |
| 120 | <url>https://cloud-highstreet-technologies.com/mvn/</url> |
| 121 | <snapshots> |
| 122 | <enabled>true</enabled> |
| 123 | <updatePolicy>always</updatePolicy> |
| 124 | </snapshots> |
| 125 | </pluginRepository> |
| 126 | </pluginRepositories> |
| 127 | </project> |