herbert | e6d0d67 | 2019-12-14 01:05:47 +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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.ccsdk.parent</groupId> |
| 7 | <artifactId>odlparent</artifactId> |
| 8 | <version>1.5.1-SNAPSHOT</version> |
| 9 | <relativePath/> |
| 10 | </parent> |
| 11 | <modelVersion>4.0.0</modelVersion> |
| 12 | <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> |
| 13 | <artifactId>sdnr-wt-odlux-app-connectApp</artifactId> |
| 14 | <version>0.7.0-SNAPSHOT</version> |
| 15 | <packaging>bundle</packaging> |
| 16 | <name>sdnr-wt-odlux-app-connectApp</name> |
| 17 | <licenses> |
| 18 | <license> |
| 19 | <name>Apache License, Version 2.0</name> |
| 20 | <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| 21 | </license> |
| 22 | </licenses> |
| 23 | <dependencies> |
| 24 | <dependency> |
| 25 | <groupId>${project.groupId}</groupId> |
| 26 | <artifactId>sdnr-wt-odlux-core-model</artifactId> |
| 27 | <version>${project.version}</version> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>${project.groupId}</groupId> |
| 31 | <artifactId>sdnr-wt-odlux-core-provider</artifactId> |
| 32 | <version>${project.version}</version> |
| 33 | <scope>test</scope> |
| 34 | </dependency> |
| 35 | <dependency> |
| 36 | <groupId>junit</groupId> |
| 37 | <artifactId>junit</artifactId> |
| 38 | <scope>test</scope> |
| 39 | </dependency> |
| 40 | </dependencies> |
| 41 | <build> |
| 42 | <sourceDirectory>src2/main/java</sourceDirectory> |
| 43 | <plugins> |
| 44 | <plugin> |
| 45 | <artifactId>maven-clean-plugin</artifactId> |
| 46 | <configuration> |
| 47 | <filesets> |
| 48 | <fileset> |
| 49 | <directory>dist</directory> |
| 50 | <followSymlinks>false</followSymlinks> |
| 51 | </fileset> |
| 52 | <fileset> |
| 53 | <directory>node</directory> |
| 54 | <followSymlinks>false</followSymlinks> |
| 55 | </fileset> |
| 56 | <fileset> |
| 57 | <directory>node_modules</directory> |
| 58 | <followSymlinks>false</followSymlinks> |
| 59 | </fileset> |
| 60 | <fileset> |
| 61 | <directory>../node_modules</directory> |
| 62 | <followSymlinks>false</followSymlinks> |
| 63 | </fileset> |
| 64 | <!-- eclipse bug build bin folder in basedir --> |
| 65 | <fileset> |
| 66 | <directory>bin</directory> |
| 67 | <followSymlinks>false</followSymlinks> |
| 68 | </fileset> |
| 69 | </filesets> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | <plugin> |
| 73 | <groupId>org.codehaus.mojo</groupId> |
| 74 | <artifactId>build-helper-maven-plugin</artifactId> |
| 75 | <executions> |
| 76 | <execution> |
| 77 | <id>add-test-source</id> |
| 78 | <phase>generate-test-sources</phase> |
| 79 | <goals> |
| 80 | <goal>add-test-source</goal> |
| 81 | </goals> |
| 82 | <configuration> |
| 83 | <sources> |
| 84 | <source>src2/test/java</source> |
| 85 | </sources> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | </executions> |
| 89 | </plugin> |
| 90 | <plugin> |
| 91 | <groupId>de.jacks-it-lab</groupId> |
| 92 | <artifactId>frontend-maven-plugin</artifactId> |
| 93 | <version>1.7.1</version> |
| 94 | <executions> |
| 95 | <execution> |
| 96 | <id>install node and yarn</id> |
| 97 | <goals> |
| 98 | <goal>install-node-and-yarn</goal> |
| 99 | </goals> |
| 100 | <!-- optional: default phase is "generate-resources" --> |
| 101 | <phase>initialize</phase> |
| 102 | <configuration> |
| 103 | <nodeVersion>v10.16.3</nodeVersion> |
| 104 | <yarnVersion>v1.19.0</yarnVersion> |
| 105 | </configuration> |
| 106 | </execution> |
| 107 | <execution> |
| 108 | <id>yarn build</id> |
| 109 | <goals> |
| 110 | <goal>yarn</goal> |
| 111 | </goals> |
| 112 | <configuration> |
| 113 | <arguments>run build</arguments> |
| 114 | </configuration> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | <plugin> |
| 119 | <groupId>org.apache.maven.plugins</groupId> |
| 120 | <artifactId>maven-jar-plugin</artifactId> |
| 121 | </plugin> |
| 122 | <plugin> |
| 123 | <groupId>org.apache.felix</groupId> |
| 124 | <artifactId>maven-bundle-plugin</artifactId> |
| 125 | <extensions>true</extensions> |
| 126 | <configuration> |
| 127 | <instructions> |
| 128 | <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package> |
| 129 | <Private-Package/> |
| 130 | </instructions> |
| 131 | </configuration> |
| 132 | </plugin> |
| 133 | </plugins> |
| 134 | <resources> |
| 135 | <resource> |
| 136 | <directory>dist</directory> |
| 137 | <targetPath>odlux</targetPath> |
| 138 | </resource> |
| 139 | <resource> |
| 140 | <directory>src2/main/resources</directory> |
| 141 | </resource> |
| 142 | <resource> |
| 143 | <directory>src2/test/resources</directory> |
| 144 | </resource> |
| 145 | </resources> |
| 146 | </build> |
| 147 | </project> |