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