23844d2e7fbfedae7b834628338a5926ce4abdce
[dlux.git] / modules / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014 Inocybe Technologies, and others. All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta
10 nce" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.x
11 sd">
12   <modelVersion>4.0.0</modelVersion>
13   <parent>
14     <groupId>org.opendaylight.dlux</groupId>
15     <artifactId>dlux-parent</artifactId>
16     <version>0.1.0-SNAPSHOT</version>
17     <relativePath>../</relativePath>
18   </parent>
19
20   <artifactId>dlux.resources</artifactId>
21   <name>${project.artifactId}</name>
22   <description>Resources</description>
23   <packaging>pom</packaging>
24   <prerequisites>
25     <maven>3.0</maven>
26   </prerequisites>
27   <modules>
28     <module>node-resources</module>
29     <module>common-yangutils-resources</module>
30     <module>common-navigation-resources</module>
31     <module>common-layout-resources</module>
32     <module>common-authentication-resources</module>
33     <module>common-login-resources</module>
34     <module>common-general-resources</module>
35     <module>yangui-resources</module>
36     <module>network-resources</module>
37   </modules>
38
39   <dependencies>
40     <dependency>
41       <groupId>org.opendaylight.dlux</groupId>
42       <artifactId>dlux.node.resources</artifactId>
43       <version>${node.resources.version}</version>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.dlux</groupId>
47       <artifactId>dlux.common.yangutils.resources</artifactId>
48       <version>${common.yangutils.resources.version}</version>
49         </dependency>
50     <dependency>
51       <groupId>org.opendaylight.dlux</groupId>
52       <artifactId>dlux.common.navigation.resources</artifactId>
53       <version>${common.navigation.resources.version}</version>
54         </dependency>
55         <dependency>
56       <groupId>org.opendaylight.dlux</groupId>
57       <artifactId>dlux.common.layout.resources</artifactId>
58       <version>${common.layout.resources.version}</version>
59         </dependency>
60         <dependency>
61       <groupId>org.opendaylight.dlux</groupId>
62       <artifactId>dlux.common.authentication.resources</artifactId>
63       <version>${common.authentication.resources.version}</version>
64     </dependency>
65         <dependency>
66       <groupId>org.opendaylight.dlux</groupId>
67       <artifactId>dlux.common.login.resources</artifactId>
68       <version>${common.login.resources.version}</version>
69   </dependency>
70         <dependency>
71       <groupId>org.opendaylight.dlux</groupId>
72       <artifactId>dlux.common.general.resources</artifactId>
73       <version>${common.general.resources.version}</version>
74   </dependency>
75   <dependency>
76       <groupId>org.opendaylight.dlux</groupId>
77       <artifactId>dlux.yangui.resources</artifactId>
78       <version>${yangui.resources.version}</version>
79   </dependency>
80   <dependency>
81       <groupId>org.opendaylight.dlux</groupId>
82       <artifactId>dlux.network.resources</artifactId>
83       <version>${network.resources.version}</version>
84     </dependency>
85   </dependencies>
86
87   <build>
88       <plugins>
89       <!--Clean extracted resources-->
90       <plugin>
91           <artifactId>maven-clean-plugin</artifactId>
92           <version>2.5</version>
93           <configuration>
94             <filesets>
95               <fileset>
96                 <directory>../dlux-web/src/app/node</directory>
97                 <directory>../dlux-web/src/common/yangutils</directory>
98                 <directory>../dlux-web/src/common/navigation</directory>
99                 <directory>../dlux-web/src/common/layout</directory>
100                 <directory>../dlux-web/src/common/authentification</directory>
101                 <directory>../dlux-web/src/common/login</directory>
102                 <directory>../dlux-web/src/common/general</directory>
103                 <directory>../dlux-web/src/app/yangui</directory>
104                 <directory>../dlux-web/src/app/network</directory>
105                 <includes></includes>
106                 <excludes></excludes>
107                 <followSymlinks>false</followSymlinks>
108               </fileset>
109             </filesets>
110           </configuration>
111       </plugin>
112       <plugin>
113         <groupId>org.apache.maven.plugins</groupId>
114         <artifactId>maven-dependency-plugin</artifactId>
115         <version>2.6</version>
116         <executions>
117           <!--src/app/ Resources-->
118           <execution>
119             <id>unpack-core-resources</id>
120             <goals>
121               <goal>unpack-dependencies</goal>
122             </goals>
123             <phase>generate-sources</phase>
124             <configuration>
125               <outputDirectory>${project.basedir}/../dlux-web/src/app/</outputDirectory>
126               <groupId>org.opendaylight.dlux</groupId>
127               <includeArtifactIds>
128                 dlux.node.resources,
129                 dlux.yangui.resources,
130               </includeArtifactIds>
131               <excludes>META-INF\/**</excludes>
132               <excludeTransitive>true</excludeTransitive>
133               <ignorePermissions>false</ignorePermissions>
134             </configuration>
135           </execution>
136           <!--src/common Resources-->
137           <execution>
138             <id>unpack-general-resources</id>
139             <goals>
140               <goal>unpack-dependencies</goal>
141             </goals>
142             <phase>generate-sources</phase>
143             <configuration>
144               <outputDirectory>${project.basedir}/../dlux-web/src/common/</outputDirectory>
145               <groupId>org.opendaylight.dlux</groupId>
146               <includeArtifactIds>
147                           dlux.common.yangutils.resources,
148                           dlux.common.navigation.resources,
149                           dlux.common.layout.resources,
150                           dlux.common.authentication.resources,
151                           dlux.common.login.resources,
152                           dlux.common.general.resources,
153                 dlux.network.resources,
154               </includeArtifactIds>
155               <excludes>META-INF\/**</excludes>
156               <excludeTransitive>true</excludeTransitive>
157               <ignorePermissions>false</ignorePermissions>
158             </configuration>
159           </execution>
160         </executions>
161       </plugin>
162       </plugins>
163   </build>
164 </project>