3d6723dc083db3ada128d16c8a859d0dd84d00c0
[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     <module>flow-resources</module>
38     <module>container-resources</module>
39     <module>topology-resources</module>
40   </modules>
41
42   <dependencies>
43     <dependency>
44       <groupId>org.opendaylight.dlux</groupId>
45       <artifactId>dlux.node.resources</artifactId>
46       <version>${node.resources.version}</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.dlux</groupId>
50       <artifactId>dlux.common.yangutils.resources</artifactId>
51       <version>${common.yangutils.resources.version}</version>
52         </dependency>
53     <dependency>
54       <groupId>org.opendaylight.dlux</groupId>
55       <artifactId>dlux.common.navigation.resources</artifactId>
56       <version>${common.navigation.resources.version}</version>
57         </dependency>
58         <dependency>
59       <groupId>org.opendaylight.dlux</groupId>
60       <artifactId>dlux.common.layout.resources</artifactId>
61       <version>${common.layout.resources.version}</version>
62         </dependency>
63         <dependency>
64       <groupId>org.opendaylight.dlux</groupId>
65       <artifactId>dlux.common.authentication.resources</artifactId>
66       <version>${common.authentication.resources.version}</version>
67     </dependency>
68         <dependency>
69       <groupId>org.opendaylight.dlux</groupId>
70       <artifactId>dlux.common.login.resources</artifactId>
71       <version>${common.login.resources.version}</version>
72   </dependency>
73         <dependency>
74       <groupId>org.opendaylight.dlux</groupId>
75       <artifactId>dlux.common.general.resources</artifactId>
76       <version>${common.general.resources.version}</version>
77   </dependency>
78   <dependency>
79       <groupId>org.opendaylight.dlux</groupId>
80       <artifactId>dlux.yangui.resources</artifactId>
81       <version>${yangui.resources.version}</version>
82   </dependency>
83   <dependency>
84       <groupId>org.opendaylight.dlux</groupId>
85       <artifactId>dlux.network.resources</artifactId>
86       <version>${network.resources.version}</version>
87   </dependency>
88   <dependency>
89       <groupId>org.opendaylight.dlux</groupId>
90       <artifactId>dlux.flow.resources</artifactId>
91       <version>${flow.resources.version}</version>
92   </dependency>
93   <dependency>
94       <groupId>org.opendaylight.dlux</groupId>
95       <artifactId>dlux.container.resources</artifactId>
96       <version>${container.resources.version}</version>
97   </dependency>
98   <dependency>
99       <groupId>org.opendaylight.dlux</groupId>
100       <artifactId>dlux.topology.resources</artifactId>
101       <version>${topology.resources.version}</version>
102     </dependency>
103   </dependencies>
104
105   <build>
106       <plugins>
107       <!--Clean extracted resources-->
108       <plugin>
109           <artifactId>maven-clean-plugin</artifactId>
110           <version>2.5</version>
111           <configuration>
112             <filesets>
113               <fileset>
114                 <directory>../dlux-web/src/app/node</directory>
115                 <directory>../dlux-web/src/common/yangutils</directory>
116                 <directory>../dlux-web/src/common/navigation</directory>
117                 <directory>../dlux-web/src/common/layout</directory>
118                 <directory>../dlux-web/src/common/authentification</directory>
119                 <directory>../dlux-web/src/common/login</directory>
120                 <directory>../dlux-web/src/common/general</directory>
121                 <directory>../dlux-web/src/app/yangui</directory>
122                 <directory>../dlux-web/src/app/network</directory>
123                 <directory>../dlux-web/src/app/flow</directory>
124                 <directory>../dlux-web/src/app/container</directory>
125                 <directory>../dlux-web/src/app/topology</directory>
126                 <includes></includes>
127                 <excludes></excludes>
128                 <followSymlinks>false</followSymlinks>
129               </fileset>
130             </filesets>
131           </configuration>
132       </plugin>
133       <plugin>
134         <groupId>org.apache.maven.plugins</groupId>
135         <artifactId>maven-dependency-plugin</artifactId>
136         <version>2.6</version>
137         <executions>
138           <!--src/app/ Resources-->
139           <execution>
140             <id>unpack-core-resources</id>
141             <goals>
142               <goal>unpack-dependencies</goal>
143             </goals>
144             <phase>generate-sources</phase>
145             <configuration>
146               <outputDirectory>${project.basedir}/../dlux-web/src/app/</outputDirectory>
147               <groupId>org.opendaylight.dlux</groupId>
148               <includeArtifactIds>
149                 dlux.node.resources,
150                 dlux.yangui.resources,
151                 dlux.container.resources,
152                 dlux.topology.resources,
153               </includeArtifactIds>
154               <excludes>META-INF\/**</excludes>
155               <excludeTransitive>true</excludeTransitive>
156               <ignorePermissions>false</ignorePermissions>
157             </configuration>
158           </execution>
159           <!--src/common Resources-->
160           <execution>
161             <id>unpack-general-resources</id>
162             <goals>
163               <goal>unpack-dependencies</goal>
164             </goals>
165             <phase>generate-sources</phase>
166             <configuration>
167               <outputDirectory>${project.basedir}/../dlux-web/src/common/</outputDirectory>
168               <groupId>org.opendaylight.dlux</groupId>
169               <includeArtifactIds>
170                           dlux.common.yangutils.resources,
171                           dlux.common.navigation.resources,
172                           dlux.common.layout.resources,
173                           dlux.common.authentication.resources,
174                           dlux.common.login.resources,
175                           dlux.common.general.resources,
176                 dlux.network.resources,
177                 dlux.flow.resources,
178                     </includeArtifactIds>
179               <excludes>META-INF\/**</excludes>
180               <excludeTransitive>true</excludeTransitive>
181               <ignorePermissions>false</ignorePermissions>
182             </configuration>
183           </execution>
184         </executions>
185       </plugin>
186       </plugins>
187   </build>
188 </project>