429ac215e2fd005d8f2ed3a9ee914489ba87476d
[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         <plugins>\r
37             <plugin>\r
38                 <groupId>org.codehaus.mojo</groupId>\r
39                 <artifactId>exec-maven-plugin</artifactId>\r
40                 <version>1.3.1</version>\r
41                 <executions>\r
42                     <execution>\r
43                         <phase>process-resources</phase>\r
44                         <goals>\r
45                             <goal>exec</goal>\r
46                         </goals>\r
47                     </execution>\r
48                 </executions>\r
49                 <configuration>\r
50                     <executable>grunt</executable>\r
51                 </configuration>\r
52             </plugin>\r
53             <plugin>\r
54                <groupId>org.apache.maven.plugins</groupId> \r
55                <artifactId>maven-jar-plugin</artifactId> \r
56                <executions>\r
57                   <execution>\r
58                      <phase>package</phase>\r
59                      <goals>\r
60                         <goal>jar</goal>\r
61                      </goals>\r
62                   </execution>\r
63                </executions>\r
64                <configuration> \r
65                   <classesDirectory>target/generated-resources</classesDirectory> \r
66                    <includes> \r
67                       <include>**/*</include> \r
68                    </includes> \r
69                </configuration> \r
70             </plugin>\r
71             <plugin>\r
72                 <groupId>org.apache.felix</groupId>\r
73                 <artifactId>maven-bundle-plugin</artifactId>\r
74                 <version>2.4.0</version>\r
75                 <extensions>true</extensions>\r
76                 <configuration>\r
77                     <instructions>\r
78                         <Import-Package>*</Import-Package>\r
79                         <Export-Package>org.opendaylight.dlux.web</Export-Package>\r
80                         <Bundle-Activator>org.opendaylight.dlux.web.Activator</Bundle-Activator>\r
81                     </instructions>\r
82                     <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>\r
83                 </configuration>\r
84             </plugin>\r
85         </plugins>\r
86     </build>\r
87 \r
88   <repositories>\r
89     <!-- Opendaylight public group -->\r
90     <repository>\r
91       <id>opendaylight-public</id>\r
92       <name>opendaylight-public</name>\r
93       <url>${nexusproxy}/groups/public/</url>\r
94       <snapshots>\r
95         <enabled>false</enabled>\r
96       </snapshots>\r
97       <releases>\r
98         <enabled>true</enabled>\r
99         <updatePolicy>never</updatePolicy>\r
100       </releases>\r
101     </repository>\r
102     <!-- OpenDayLight Released artifact -->\r
103     <repository>\r
104       <id>opendaylight-release</id>\r
105       <name>opendaylight-release</name>\r
106       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>\r
107       <snapshots>\r
108         <enabled>false</enabled>\r
109       </snapshots>\r
110       <releases>\r
111         <enabled>true</enabled>\r
112       </releases>\r
113     </repository>\r
114     <!-- OpenDayLight Snapshot artifact -->\r
115     <repository>\r
116       <id>opendaylight-snapshot</id>\r
117       <name>opendaylight-snapshot</name>\r
118       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>\r
119       <snapshots>\r
120         <enabled>true</enabled>\r
121       </snapshots>\r
122       <releases>\r
123         <enabled>false</enabled>\r
124       </releases>\r
125     </repository>\r
126   </repositories>\r
127 \r
128   <pluginRepositories>\r
129     <!-- Opendaylight public group -->\r
130     <pluginRepository>\r
131       <id>opendaylight-public</id>\r
132       <name>opendaylight-public</name>\r
133       <url>${nexusproxy}/groups/public/</url>\r
134       <snapshots>\r
135         <enabled>false</enabled>\r
136       </snapshots>\r
137       <releases>\r
138         <enabled>true</enabled>\r
139         <updatePolicy>never</updatePolicy>\r
140       </releases>\r
141     </pluginRepository>\r
142     <!-- OpenDayLight Released artifact -->\r
143     <pluginRepository>\r
144       <id>opendaylight-release</id>\r
145       <name>opendaylight-release</name>\r
146       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>\r
147       <snapshots>\r
148         <enabled>false</enabled>\r
149       </snapshots>\r
150       <releases>\r
151         <enabled>true</enabled>\r
152       </releases>\r
153     </pluginRepository>\r
154     <!-- OpenDayLight Snapshot artifact -->\r
155     <pluginRepository>\r
156       <id>opendaylight-snapshot</id>\r
157       <name>opendaylight-snapshot</name>\r
158       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>\r
159       <snapshots>\r
160         <enabled>true</enabled>\r
161       </snapshots>\r
162       <releases>\r
163         <enabled>false</enabled>\r
164       </releases>\r
165     </pluginRepository>\r
166   </pluginRepositories>\r
167 \r
168 </project>\r