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> |
| 47 | </filesets> |
| 48 | </configuration> |
| 49 | </plugin> |
| 50 | <plugin> |
| 51 | <groupId>com.github.eirslett</groupId> |
| 52 | <artifactId>frontend-maven-plugin</artifactId> |
| 53 | <version>1.8-SNAPSHOT</version> |
| 54 | <executions> |
| 55 | <execution> |
| 56 | <id>install node and yarn</id> |
| 57 | <goals> |
| 58 | <goal>install-node-and-yarn</goal> |
| 59 | </goals> |
| 60 | <!-- optional: default phase is "generate-resources" --> |
| 61 | <phase>initialize</phase> |
| 62 | <configuration> |
| 63 | <nodeVersion>v8.10.0</nodeVersion> |
| 64 | <yarnVersion>v1.12.3</yarnVersion> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | <execution> |
| 68 | <id>install lerna</id> |
| 69 | <goals> |
| 70 | <goal>yarn</goal> |
| 71 | </goals> |
| 72 | <phase>initialize</phase> |
| 73 | <configuration> |
| 74 | <arguments>-W add lerna</arguments> |
| 75 | <installDirectory>${project.basedir}</installDirectory> |
| 76 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 77 | </configuration> |
| 78 | </execution> |
| 79 | <execution> |
| 80 | <id>exec lerna bootstrap</id> |
| 81 | <goals> |
| 82 | <goal>lerna</goal> |
| 83 | </goals> |
| 84 | <phase>initialize</phase> |
| 85 | <configuration> |
| 86 | <arguments>bootstrap</arguments> |
| 87 | <installDirectory>${project.basedir}</installDirectory> |
| 88 | <workingDirectory>${project.basedir}/../</workingDirectory> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | <execution> |
| 92 | <id>yarn build</id> |
| 93 | <goals> |
| 94 | <goal>yarn</goal> |
| 95 | </goals> |
| 96 | <configuration> |
| 97 | <arguments>run build</arguments> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-jar-plugin</artifactId> |
| 105 | </plugin> |
| 106 | </plugins> |
| 107 | <resources> |
| 108 | <resource> |
| 109 | <directory>dist</directory> |
| 110 | <targetPath>odlux</targetPath> |
| 111 | </resource> |
| 112 | </resources> |
| 113 | </build> |
| 114 | <pluginRepositories> |
| 115 | <pluginRepository> |
| 116 | <id>highstreet repo</id> |
| 117 | <url>https://cloud-highstreet-technologies.com/mvn/</url> |
| 118 | <snapshots> |
| 119 | <enabled>true</enabled> |
| 120 | <updatePolicy>always</updatePolicy> |
| 121 | </snapshots> |
| 122 | </pluginRepository> |
| 123 | </pluginRepositories> |
| 124 | </project> |