Moved src/common/layout to modules/common-layout-resources
[dlux.git] / dlux-web / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
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">\r
3 \r
4   <parent>\r
5     <groupId>org.opendaylight.dlux</groupId>\r
6     <artifactId>dlux-parent</artifactId>\r
7     <version>0.1.0-SNAPSHOT</version>\r
8     <relativePath>..</relativePath>\r
9   </parent>\r
10 \r
11     <modelVersion>4.0.0</modelVersion>\r
12     <groupId>org.opendaylight.dlux</groupId>\r
13     <artifactId>dlux-web</artifactId>\r
14     <version>0.1.0-SNAPSHOT</version>\r
15     <packaging>bundle</packaging>\r
16     <name>DLUX - DLUX Static Web </name>\r
17     <properties>\r
18         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
19     </properties>\r
20 \r
21     <dependencies>\r
22 \r
23         <dependency>\r
24            <groupId>org.osgi</groupId>\r
25            <artifactId>org.osgi.core</artifactId>\r
26        </dependency>\r
27 \r
28        <dependency>\r
29            <groupId>org.osgi</groupId>\r
30            <artifactId>org.osgi.compendium</artifactId>\r
31        </dependency>\r
32 \r
33     </dependencies>\r
34 \r
35     <build>\r
36         <resources>\r
37             <resource>\r
38                 <directory>target/generated-resources</directory>\r
39                 <includes>\r
40                     <include>**/*</include>\r
41                 </includes>\r
42             </resource>\r
43         </resources>\r
44         <plugins>\r
45             <plugin>\r
46                 <groupId>org.codehaus.mojo</groupId>\r
47                 <artifactId>exec-maven-plugin</artifactId>\r
48                 <version>1.3.1</version>\r
49                 <executions>\r
50                     <execution>\r
51                         <phase>process-resources</phase>\r
52                         <goals>\r
53                             <goal>exec</goal>\r
54                         </goals>\r
55                     </execution>\r
56                 </executions>\r
57                 <configuration>\r
58                     <executable>grunt</executable>\r
59                 </configuration>\r
60             </plugin>\r
61             <plugin>\r
62                 <groupId>org.apache.felix</groupId>\r
63                 <artifactId>maven-bundle-plugin</artifactId>\r
64                 <version>2.4.0</version>\r
65                 <extensions>true</extensions>\r
66                 <configuration>\r
67                     <instructions>\r
68                         <Import-Package>*</Import-Package>\r
69                         <Export-Package>org.opendaylight.dlux.web</Export-Package>\r
70                         <Bundle-Activator>org.opendaylight.dlux.web.Activator</Bundle-Activator>\r
71                     </instructions>\r
72                     <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>\r
73                 </configuration>\r
74             </plugin>\r
75         </plugins>\r
76     </build>\r
77 \r
78   <repositories>\r
79     <!-- Opendaylight public group -->\r
80     <repository>\r
81       <id>opendaylight-public</id>\r
82       <name>opendaylight-public</name>\r
83       <url>${nexusproxy}/groups/public/</url>\r
84       <snapshots>\r
85         <enabled>false</enabled>\r
86       </snapshots>\r
87       <releases>\r
88         <enabled>true</enabled>\r
89         <updatePolicy>never</updatePolicy>\r
90       </releases>\r
91     </repository>\r
92     <!-- OpenDayLight Released artifact -->\r
93     <repository>\r
94       <id>opendaylight-release</id>\r
95       <name>opendaylight-release</name>\r
96       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>\r
97       <snapshots>\r
98         <enabled>false</enabled>\r
99       </snapshots>\r
100       <releases>\r
101         <enabled>true</enabled>\r
102       </releases>\r
103     </repository>\r
104     <!-- OpenDayLight Snapshot artifact -->\r
105     <repository>\r
106       <id>opendaylight-snapshot</id>\r
107       <name>opendaylight-snapshot</name>\r
108       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>\r
109       <snapshots>\r
110         <enabled>true</enabled>\r
111       </snapshots>\r
112       <releases>\r
113         <enabled>false</enabled>\r
114       </releases>\r
115     </repository>\r
116   </repositories>\r
117 \r
118   <pluginRepositories>\r
119     <!-- Opendaylight public group -->\r
120     <pluginRepository>\r
121       <id>opendaylight-public</id>\r
122       <name>opendaylight-public</name>\r
123       <url>${nexusproxy}/groups/public/</url>\r
124       <snapshots>\r
125         <enabled>false</enabled>\r
126       </snapshots>\r
127       <releases>\r
128         <enabled>true</enabled>\r
129         <updatePolicy>never</updatePolicy>\r
130       </releases>\r
131     </pluginRepository>\r
132     <!-- OpenDayLight Released artifact -->\r
133     <pluginRepository>\r
134       <id>opendaylight-release</id>\r
135       <name>opendaylight-release</name>\r
136       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>\r
137       <snapshots>\r
138         <enabled>false</enabled>\r
139       </snapshots>\r
140       <releases>\r
141         <enabled>true</enabled>\r
142       </releases>\r
143     </pluginRepository>\r
144     <!-- OpenDayLight Snapshot artifact -->\r
145     <pluginRepository>\r
146       <id>opendaylight-snapshot</id>\r
147       <name>opendaylight-snapshot</name>\r
148       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>\r
149       <snapshots>\r
150         <enabled>true</enabled>\r
151       </snapshots>\r
152       <releases>\r
153         <enabled>false</enabled>\r
154       </releases>\r
155     </pluginRepository>\r
156   </pluginRepositories>\r
157 \r
158 </project>\r