Fixed bad unpack location
[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     <module>loader-resources</module>
41     <module>connection_manager-resources</module>
42     <module>core-resources</module>
43     <module>common-topbar-resources</module>
44   </modules>
45
46   <dependencies>
47     <dependency>
48       <groupId>org.opendaylight.dlux</groupId>
49       <artifactId>dlux.node.resources</artifactId>
50       <version>${node.resources.version}</version>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.dlux</groupId>
54       <artifactId>dlux.common.yangutils.resources</artifactId>
55       <version>${common.yangutils.resources.version}</version>
56         </dependency>
57     <dependency>
58       <groupId>org.opendaylight.dlux</groupId>
59       <artifactId>dlux.common.navigation.resources</artifactId>
60       <version>${common.navigation.resources.version}</version>
61         </dependency>
62         <dependency>
63       <groupId>org.opendaylight.dlux</groupId>
64       <artifactId>dlux.common.layout.resources</artifactId>
65       <version>${common.layout.resources.version}</version>
66         </dependency>
67         <dependency>
68       <groupId>org.opendaylight.dlux</groupId>
69       <artifactId>dlux.common.authentication.resources</artifactId>
70       <version>${common.authentication.resources.version}</version>
71     </dependency>
72         <dependency>
73       <groupId>org.opendaylight.dlux</groupId>
74       <artifactId>dlux.common.login.resources</artifactId>
75       <version>${common.login.resources.version}</version>
76   </dependency>
77         <dependency>
78       <groupId>org.opendaylight.dlux</groupId>
79       <artifactId>dlux.common.general.resources</artifactId>
80       <version>${common.general.resources.version}</version>
81   </dependency>
82   <dependency>
83       <groupId>org.opendaylight.dlux</groupId>
84       <artifactId>dlux.yangui.resources</artifactId>
85       <version>${yangui.resources.version}</version>
86   </dependency>
87   <dependency>
88       <groupId>org.opendaylight.dlux</groupId>
89       <artifactId>dlux.network.resources</artifactId>
90       <version>${network.resources.version}</version>
91   </dependency>
92   <dependency>
93       <groupId>org.opendaylight.dlux</groupId>
94       <artifactId>dlux.flow.resources</artifactId>
95       <version>${flow.resources.version}</version>
96   </dependency>
97   <dependency>
98       <groupId>org.opendaylight.dlux</groupId>
99       <artifactId>dlux.container.resources</artifactId>
100       <version>${container.resources.version}</version>
101   </dependency>
102   <dependency>
103       <groupId>org.opendaylight.dlux</groupId>
104       <artifactId>dlux.topology.resources</artifactId>
105       <version>${topology.resources.version}</version>
106   </dependency>
107   <dependency>
108       <groupId>org.opendaylight.dlux</groupId>
109       <artifactId>dlux.loader.resources</artifactId>
110       <version>${loader.resources.version}</version>
111   </dependency>
112   <dependency>
113       <groupId>org.opendaylight.dlux</groupId>
114       <artifactId>dlux.connection_manager.resources</artifactId>
115       <version>${connection_manager.resources.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.dlux</groupId>
119       <artifactId>dlux.core.resources</artifactId>
120       <version>${core.resources.version}</version>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.dlux</groupId>
124       <artifactId>dlux.common.topbar.resources</artifactId>
125       <version>${common.topbar.resources.version}</version>
126     </dependency>
127   </dependencies>
128
129   <build>
130       <plugins>
131       <!--Clean extracted resources-->
132       <plugin>
133           <artifactId>maven-clean-plugin</artifactId>
134           <version>2.5</version>
135           <configuration>
136             <filesets>
137               <fileset>
138                 <directory>../dlux-web/src/app/node</directory>
139                 <directory>../dlux-web/src/common/yangutils</directory>
140                 <directory>../dlux-web/src/common/navigation</directory>
141                 <directory>../dlux-web/src/common/layout</directory>
142                 <directory>../dlux-web/src/common/authentification</directory>
143                 <directory>../dlux-web/src/common/login</directory>
144                 <directory>../dlux-web/src/common/general</directory>
145                 <directory>../dlux-web/src/app/yangui</directory>
146                 <directory>../dlux-web/src/app/network</directory>
147                 <directory>../dlux-web/src/app/flow</directory>
148                 <directory>../dlux-web/src/app/container</directory>
149                 <directory>../dlux-web/src/app/topology</directory>
150                 <directory>../dlux-web/src/</directory>
151                 <directory>../dlux-web/src/app/connection_manager</directory>
152                 <directory>../dlux-web/src/app/core</directory>
153                 <directory>../dlux-web/src/common/topbar</directory>
154                 <includes>
155                           <include></include>
156                           <include>index.html</include>
157                           <include>main.js</include>
158                           <include>app/app.controller.js</include>
159                           <include>app/app.module.js</include>
160                           <include>app/routingConfig.js</include>
161                           <include>assets/</include>
162                             </includes>
163                 <excludes></excludes>
164                 <followSymlinks>false</followSymlinks>
165               </fileset>
166             </filesets>
167           </configuration>
168       </plugin>
169       <plugin>
170         <groupId>org.apache.maven.plugins</groupId>
171         <artifactId>maven-dependency-plugin</artifactId>
172         <version>2.6</version>
173         <executions>
174           <!--src/app/ Resources-->
175           <execution>
176             <id>unpack-core-resources</id>
177             <goals>
178               <goal>unpack-dependencies</goal>
179             </goals>
180             <phase>generate-sources</phase>
181             <configuration>
182               <outputDirectory>${project.basedir}/../dlux-web/src/app/</outputDirectory>
183               <groupId>org.opendaylight.dlux</groupId>
184               <includeArtifactIds>
185                 dlux.node.resources,
186                 dlux.yangui.resources,
187                 dlux.container.resources,
188                 dlux.topology.resources,
189                 dlux.connection_manager.resources,
190                 dlux.network.resources,
191                 dlux.flow.resources,
192                 dlux.core.resources,
193               </includeArtifactIds>
194               <excludes>META-INF\/**</excludes>
195               <excludeTransitive>true</excludeTransitive>
196               <ignorePermissions>false</ignorePermissions>
197             </configuration>
198           </execution>
199           <!--src/common Resources-->
200           <execution>
201             <id>unpack-general-resources</id>
202             <goals>
203               <goal>unpack-dependencies</goal>
204             </goals>
205             <phase>generate-sources</phase>
206             <configuration>
207               <outputDirectory>${project.basedir}/../dlux-web/src/common/</outputDirectory>
208               <groupId>org.opendaylight.dlux</groupId>
209               <includeArtifactIds>
210                 dlux.common.yangutils.resources,
211                 dlux.common.navigation.resources,
212                 dlux.common.layout.resources,
213                 dlux.common.authentication.resources,
214                 dlux.common.login.resources,
215                 dlux.common.general.resources,
216                 dlux.common.topbar.resources,
217               </includeArtifactIds>
218               <excludes>META-INF\/**</excludes>
219               <excludeTransitive>true</excludeTransitive>
220               <ignorePermissions>false</ignorePermissions>
221             </configuration>
222           </execution>
223           <!--loader Resources-->
224           <execution>
225             <id>unpack-loader-resources</id>
226             <goals>
227               <goal>unpack-dependencies</goal>
228             </goals>
229             <phase>generate-sources</phase>
230             <configuration>
231               <outputDirectory>${project.basedir}/../dlux-web/src/</outputDirectory>
232               <groupId>org.opendaylight.dlux</groupId>
233               <includeArtifactIds>dlux.loader.resources</includeArtifactIds>
234               <excludes>META-INF\/**</excludes>
235               <excludeTransitive>true</excludeTransitive>
236               <ignorePermissions>false</ignorePermissions>
237             </configuration>
238           </execution>
239         </executions>
240       </plugin>
241       </plugins>
242   </build>
243 </project>