Adding odlparent root to pull in the distributionmanagement section to deploy the...
[dlux.git] / 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.odlparent</groupId>\r
6     <artifactId>odlparent</artifactId>\r
7     <version>1.4.2-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     <properties>\r
17         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
18     </properties>\r
19 \r
20     <dependencies>\r
21         <dependency>\r
22             <groupId>org.springframework</groupId>\r
23             <artifactId>org.springframework.web</artifactId>\r
24             <version>3.1.3.RELEASE</version>\r
25         </dependency>\r
26         <dependency>\r
27             <groupId>org.springframework</groupId>\r
28             <artifactId>spring-web</artifactId>\r
29             <version>3.1.3.RELEASE</version>\r
30         </dependency>\r
31 \r
32         <dependency>\r
33             <groupId>org.springframework</groupId>\r
34             <artifactId>spring-webmvc</artifactId>\r
35             <version>3.1.3.RELEASE</version>\r
36         </dependency>\r
37         <dependency>\r
38             <groupId>org.codehaus.jackson</groupId>\r
39             <artifactId>jackson-mapper-asl</artifactId>\r
40             <version>1.9.10</version>\r
41         </dependency>\r
42     </dependencies>\r
43 \r
44     <build>\r
45         <plugins>\r
46             <plugin>\r
47                 <groupId>org.codehaus.mojo</groupId>\r
48                 <artifactId>exec-maven-plugin</artifactId>\r
49                 <version>1.3.1</version>\r
50                 <executions>\r
51                     <execution>\r
52                         <phase>process-resources</phase>\r
53                         <goals>\r
54                             <goal>exec</goal>\r
55                         </goals>\r
56                     </execution>\r
57                 </executions>\r
58                 <configuration>\r
59                     <executable>grunt</executable>\r
60                 </configuration>\r
61             </plugin>\r
62             <plugin>\r
63                 <groupId>org.apache.felix</groupId>\r
64                 <artifactId>maven-bundle-plugin</artifactId>\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                         <Web-ContextPath>/dlux</Web-ContextPath>\r
71                     </instructions>\r
72                     <manifestLocation>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