Refactoring POM as per tidy:pom
[ccsdk/features.git] / sdnr / wt / odlux / apps / helpApp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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">
3     <modelVersion>4.0.0</modelVersion>
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
12     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
13     <artifactId>sdnr-wt-odlux-app-helpApp</artifactId>
14     <version>0.7.0-SNAPSHOT</version>
15     <packaging>bundle</packaging>
16
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
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
44     <pluginRepositories>
45         <pluginRepository>
46             <id>highstreet repo</id>
47             <url>https://cloud-highstreet-technologies.com/mvn/</url>
48             <snapshots>
49                 <enabled>true</enabled>
50                 <updatePolicy>always</updatePolicy>
51             </snapshots>
52         </pluginRepository>
53     </pluginRepositories>
54
55     <build>
56         <sourceDirectory>src2/main/java</sourceDirectory>
57         <resources>
58             <resource>
59                 <directory>dist</directory>
60                 <targetPath>odlux</targetPath>
61             </resource>
62             <resource>
63                 <directory>src2/main/resources</directory>
64             </resource>
65             <resource>
66                 <directory>src2/test/resources</directory>
67             </resource>
68         </resources>
69         <plugins>
70             <plugin>
71                 <artifactId>maven-clean-plugin</artifactId>
72                 <configuration>
73                     <filesets>
74                         <fileset>
75                             <directory>dist</directory>
76                             <followSymlinks>false</followSymlinks>
77                         </fileset>
78                         <fileset>
79                             <directory>node</directory>
80                             <followSymlinks>false</followSymlinks>
81                         </fileset>
82                         <fileset>
83                             <directory>node_modules</directory>
84                             <followSymlinks>false</followSymlinks>
85                         </fileset>
86                         <fileset>
87                             <directory>../node_modules</directory>
88                             <followSymlinks>false</followSymlinks>
89                         </fileset>
90                         <!-- eclipse bug build bin folder in basedir -->
91                         <fileset>
92                             <directory>bin</directory>
93                             <followSymlinks>false</followSymlinks>
94                         </fileset>
95                     </filesets>
96                 </configuration>
97             </plugin>
98             <plugin>
99                 <groupId>org.codehaus.mojo</groupId>
100                 <artifactId>build-helper-maven-plugin</artifactId>
101                 <executions>
102                     <execution>
103                         <id>add-test-source</id>
104                         <phase>generate-test-sources</phase>
105                         <goals>
106                             <goal>add-test-source</goal>
107                         </goals>
108                         <configuration>
109                             <sources>
110                                 <source>src2/test/java</source>
111                             </sources>
112                         </configuration>
113                     </execution>
114                 </executions>
115             </plugin>
116             <plugin>
117                 <groupId>de.jacksitlab</groupId>
118                 <artifactId>frontend-maven-plugin</artifactId>
119                 <version>1.7.1</version>
120                 <executions>
121                     <execution>
122                         <id>install node and yarn</id>
123                         <goals>
124                             <goal>install-node-and-yarn</goal>
125                         </goals>
126                         <!-- optional: default phase is "generate-resources" -->
127                         <phase>initialize</phase>
128                         <configuration>
129                             <nodeVersion>v8.10.0</nodeVersion>
130                             <yarnVersion>v1.12.3</yarnVersion>
131                         </configuration>
132                     </execution>
133                     <execution>
134                         <id>yarn build</id>
135                         <goals>
136                             <goal>yarn</goal>
137                         </goals>
138                         <configuration>
139                             <arguments>run build</arguments>
140                         </configuration>
141                     </execution>
142                 </executions>
143             </plugin>
144             <plugin>
145                 <groupId>org.apache.maven.plugins</groupId>
146                 <artifactId>maven-jar-plugin</artifactId>
147             </plugin>
148             <plugin>
149                 <groupId>org.apache.felix</groupId>
150                 <artifactId>maven-bundle-plugin</artifactId>
151                 <extensions>true</extensions>
152                 <configuration>
153                     <instructions>
154                         <Import-Package>org.onap.ccsdk.features.sdnr.wt.odlux.model.*,com.opensymphony.*</Import-Package>
155                         <Private-Package/>
156                     </instructions>
157                 </configuration>
158             </plugin>
159         </plugins>
160     </build>
161 </project>