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 | |
Herbert Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 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 | 7446f23 | 2019-02-28 15:23:42 +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-app-demoApp</artifactId> |
| 13 | <version>0.4.1-SNAPSHOT</version> |
| 14 | <packaging>bundle</packaging> |
| 15 | <name>sdnr-wt-odlux-app-demoApp</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 | <dependencies> |
| 23 | <dependency> |
| 24 | <groupId>${project.groupId}</groupId> |
| 25 | <artifactId>sdnr-wt-odlux-core-model</artifactId> |
| 26 | <version>${project.version}</version> |
| 27 | </dependency> |
| 28 | <dependency> |
| 29 | <groupId>${project.groupId}</groupId> |
| 30 | <artifactId>sdnr-wt-odlux-core-provider</artifactId> |
| 31 | <version>${project.version}</version> |
| 32 | <scope>test</scope> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>junit</groupId> |
| 36 | <artifactId>junit</artifactId> |
| 37 | <scope>test</scope> |
| 38 | </dependency> |
| 39 | </dependencies> |
| 40 | <build> |
| 41 | <sourceDirectory>src2/main/java</sourceDirectory> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <artifactId>maven-clean-plugin</artifactId> |
| 45 | <configuration> |
| 46 | <filesets> |
| 47 | <fileset> |
| 48 | <directory>dist</directory> |
| 49 | <followSymlinks>false</followSymlinks> |
| 50 | </fileset> |
| 51 | <fileset> |
| 52 | <directory>node</directory> |
| 53 | <followSymlinks>false</followSymlinks> |
| 54 | </fileset> |
| 55 | <fileset> |
| 56 | <directory>node_modules</directory> |
| 57 | <followSymlinks>false</followSymlinks> |
| 58 | </fileset> |
| 59 | <fileset> |
| 60 | <directory>../node_modules</directory> |
| 61 | <followSymlinks>false</followSymlinks> |
| 62 | </fileset> |
| 63 | <!-- eclipse bug build bin folder in basedir --> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 64 | <fileset> |
Herbert Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 65 | <directory>bin</directory> |
Herbert Eiselt | 3d202a0 | 2019-02-11 14:54:12 +0100 | [diff] [blame] | 66 | <followSymlinks>false</followSymlinks> |
| 67 | </fileset> |
Herbert Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 68 | </filesets> |
| 69 | </configuration> |
| 70 | </plugin> |
| 71 | <plugin> |
| 72 | <groupId>org.codehaus.mojo</groupId> |
| 73 | <artifactId>build-helper-maven-plugin</artifactId> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>add-test-source</id> |
| 77 | <phase>generate-test-sources</phase> |
| 78 | <goals> |
| 79 | <goal>add-test-source</goal> |
| 80 | </goals> |
| 81 | <configuration> |
| 82 | <sources> |
| 83 | <source>src2/test/java</source> |
| 84 | </sources> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | <plugin> |
| 90 | <groupId>com.github.eirslett</groupId> |
| 91 | <artifactId>frontend-maven-plugin</artifactId> |
| 92 | <version>1.8.1-SNAPSHOT</version> |
| 93 | <executions> |
| 94 | <execution> |
| 95 | <id>install node and yarn</id> |
| 96 | <goals> |
| 97 | <goal>install-node-and-yarn</goal> |
| 98 | </goals> |
| 99 | <!-- optional: default phase is "generate-resources" --> |
| 100 | <phase>initialize</phase> |
| 101 | <configuration> |
| 102 | <nodeVersion>v8.10.0</nodeVersion> |
| 103 | <yarnVersion>v1.12.3</yarnVersion> |
| 104 | </configuration> |
| 105 | </execution> |
| 106 | <execution> |
| 107 | <id>yarn build</id> |
| 108 | <goals> |
| 109 | <goal>yarn</goal> |
| 110 | </goals> |
| 111 | <configuration> |
| 112 | <arguments>run build</arguments> |
| 113 | </configuration> |
| 114 | </execution> |
| 115 | </executions> |
| 116 | </plugin> |
| 117 | <plugin> |
| 118 | <groupId>org.apache.maven.plugins</groupId> |
| 119 | <artifactId>maven-jar-plugin</artifactId> |
| 120 | </plugin> |
| 121 | <plugin> |
| 122 | <groupId>org.apache.felix</groupId> |
| 123 | <artifactId>maven-bundle-plugin</artifactId> |
| 124 | <extensions>true</extensions> |
| 125 | <configuration> |
| 126 | <instructions> |
| 127 | <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package> |
Timoney, Dan (dt5972) | 55e06ff | 2019-03-14 13:33:50 -0400 | [diff] [blame^] | 128 | <Private-Package/> |
Herbert Eiselt | 7446f23 | 2019-02-28 15:23:42 +0100 | [diff] [blame] | 129 | </instructions> |
| 130 | </configuration> |
| 131 | </plugin> |
| 132 | </plugins> |
| 133 | <resources> |
| 134 | <resource> |
| 135 | <directory>dist</directory> |
| 136 | <targetPath>odlux</targetPath> |
| 137 | </resource> |
| 138 | <resource> |
| 139 | <directory>src2/main/resources</directory> |
| 140 | </resource> |
| 141 | <resource> |
| 142 | <directory>src2/test/resources</directory> |
| 143 | </resource> |
| 144 | </resources> |
| 145 | </build> |
| 146 | <pluginRepositories> |
| 147 | <pluginRepository> |
| 148 | <id>highstreet repo</id> |
| 149 | <url>https://cloud-highstreet-technologies.com/mvn/</url> |
| 150 | <snapshots> |
| 151 | <enabled>true</enabled> |
| 152 | <updatePolicy>always</updatePolicy> |
| 153 | </snapshots> |
| 154 | </pluginRepository> |
| 155 | </pluginRepositories> |
| 156 | </project> |