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-app-helpApp</artifactId> |
| 15 | <version>0.4.1-SNAPSHOT</version> |
| 16 | <packaging>bundle</packaging> |
| 17 | <name>sdnr-wt-odlux-app-helpApp</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 | <dependencies> |
| 25 | <dependency> |
| 26 | <groupId>${project.groupId}</groupId> |
| 27 | <artifactId>sdnr-wt-odlux-core-model</artifactId> |
| 28 | <version>${project.version}</version> |
| 29 | </dependency> |
| 30 | </dependencies> |
| 31 | <build> |
| 32 | <sourceDirectory>src2/main/java</sourceDirectory> |
| 33 | <plugins> |
| 34 | <plugin> |
| 35 | <artifactId>maven-clean-plugin</artifactId> |
| 36 | <version>2.5</version> |
| 37 | <configuration> |
| 38 | <filesets> |
| 39 | <fileset> |
| 40 | <directory>dist</directory> |
| 41 | <followSymlinks>false</followSymlinks> |
| 42 | </fileset> |
| 43 | </filesets> |
| 44 | </configuration> |
| 45 | </plugin> |
| 46 | <plugin> |
| 47 | <groupId>com.github.eirslett</groupId> |
| 48 | <artifactId>frontend-maven-plugin</artifactId> |
Herbert Eiselt | 49b155e | 2019-02-27 19:47:33 +0100 | [diff] [blame^] | 49 | <version>1.8.1-SNAPSHOT</version> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 50 | <executions> |
| 51 | <execution> |
| 52 | <id>install node and yarn</id> |
| 53 | <goals> |
| 54 | <goal>install-node-and-yarn</goal> |
| 55 | </goals> |
| 56 | <!-- optional: default phase is "generate-resources" --> |
| 57 | <phase>initialize</phase> |
| 58 | <configuration> |
| 59 | <nodeVersion>v8.10.0</nodeVersion> |
| 60 | <yarnVersion>v1.12.3</yarnVersion> |
| 61 | </configuration> |
| 62 | </execution> |
| 63 | <execution> |
| 64 | <id>yarn build</id> |
| 65 | <goals> |
| 66 | <goal>yarn</goal> |
| 67 | </goals> |
| 68 | <configuration> |
| 69 | <arguments>run build</arguments> |
| 70 | </configuration> |
| 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
| 74 | <plugin> |
| 75 | <groupId>org.apache.maven.plugins</groupId> |
| 76 | <artifactId>maven-jar-plugin</artifactId> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <groupId>org.apache.felix</groupId> |
| 80 | <artifactId>maven-bundle-plugin</artifactId> |
| 81 | <extensions>true</extensions> |
| 82 | <configuration> |
| 83 | <instructions> |
| 84 | <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package> |
| 85 | <Private-Package></Private-Package> |
| 86 | </instructions> |
| 87 | </configuration> |
| 88 | </plugin> |
| 89 | </plugins> |
| 90 | <resources> |
| 91 | <resource> |
| 92 | <directory>dist</directory> |
| 93 | <targetPath>odlux</targetPath> |
| 94 | </resource> |
| 95 | <resource> |
| 96 | <directory>src2/main/resources</directory> |
| 97 | </resource> |
| 98 | </resources> |
| 99 | </build> |
| 100 | <pluginRepositories> |
| 101 | <pluginRepository> |
| 102 | <id>highstreet repo</id> |
| 103 | <url>https://cloud-highstreet-technologies.com/mvn/</url> |
| 104 | <snapshots> |
| 105 | <enabled>true</enabled> |
| 106 | <updatePolicy>always</updatePolicy> |
| 107 | </snapshots> |
| 108 | </pluginRepository> |
| 109 | </pluginRepositories> |
| 110 | </project> |