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