Bump odlparent dependency to 2.0.0
[netconf.git] / restconf / sal-rest-docgen / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Cisco Systems, Inc. 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-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
10   <modelVersion>4.0.0</modelVersion>
11   <parent>
12     <groupId>org.opendaylight.odlparent</groupId>
13     <artifactId>bundle-parent</artifactId>
14     <version>2.0.0</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.netconf</groupId>
19   <artifactId>sal-rest-docgen</artifactId>
20   <version>1.6.0-SNAPSHOT</version>
21   <packaging>bundle</packaging>
22
23   <dependencyManagement>
24     <dependencies>
25       <dependency>
26         <groupId>org.opendaylight.netconf</groupId>
27         <artifactId>netconf-parent</artifactId>
28         <version>1.3.0-SNAPSHOT</version>
29         <type>pom</type>
30         <scope>import</scope>
31       </dependency>
32     </dependencies>
33   </dependencyManagement>
34
35   <dependencies>
36     <dependency>
37       <groupId>com.github.mifmif</groupId>
38       <artifactId>generex</artifactId>
39       <version>1.0.0</version>
40     </dependency>
41     <dependency>
42       <groupId>com.fasterxml.jackson.core</groupId>
43       <artifactId>jackson-annotations</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.fasterxml.jackson.core</groupId>
47       <artifactId>jackson-databind</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>com.google.guava</groupId>
52       <artifactId>guava</artifactId>
53     </dependency>
54
55     <!-- Jax rs -->
56     <dependency>
57       <groupId>org.jboss.resteasy</groupId>
58       <artifactId>jaxrs-api</artifactId>
59     </dependency>
60
61     <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>sal-core-api</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.opendaylight.yangtools</groupId>
67       <artifactId>yang-common</artifactId>
68     </dependency>
69
70     <dependency>
71       <groupId>org.opendaylight.yangtools</groupId>
72       <artifactId>yang-model-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.yangtools</groupId>
76       <artifactId>yang-model-util</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.yangtools</groupId>
80       <artifactId>yang-parser-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.yangtools</groupId>
84       <artifactId>yang-parser-impl</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.yangtools</groupId>
88       <artifactId>yang-test-util</artifactId>
89     </dependency>
90
91     <dependency>
92       <groupId>org.osgi</groupId>
93       <artifactId>org.osgi.core</artifactId>
94     </dependency>
95
96     <dependency>
97       <groupId>org.slf4j</groupId>
98       <artifactId>slf4j-api</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.mockito</groupId>
102       <artifactId>mockito-core</artifactId>
103       <scope>test</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.yangtools</groupId>
107       <artifactId>yang-data-api</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>dk.brics.automaton</groupId>
111       <artifactId>automaton</artifactId>
112       <version>1.11-8</version>
113     </dependency>
114   </dependencies>
115
116   <build>
117     <plugins>
118       <plugin>
119         <groupId>org.apache.felix</groupId>
120         <artifactId>maven-bundle-plugin</artifactId>
121         <extensions>true</extensions>
122         <configuration>
123
124           <instructions>
125             <Bundle-Name>MD SAL Rest Api Doc Generator</Bundle-Name>
126             <Embed-Dependency>generex, automaton</Embed-Dependency>
127             <!-- needed for web.xml. Remove once we have Jersey 2 -->
128             <Import-Package>
129               *,
130               com.sun.jersey.spi.container.servlet,
131               org.eclipse.jetty.servlets,
132               org.opendaylight.aaa.shiro.filters,
133               org.opendaylight.aaa.shiro.realm,
134               org.opendaylight.aaa.shiro.web.env,
135               org.apache.shiro.web.env
136             </Import-Package>
137             <Export-Package>
138               com.fasterxml.jackson.datatype.*
139             </Export-Package>
140             <Bundle-Activator>org.opendaylight.netconf.sal.rest.doc.DocProvider</Bundle-Activator>
141             <Web-ContextPath>/apidoc</Web-ContextPath>
142           </instructions>
143
144         </configuration>
145       </plugin>
146       <plugin>
147         <groupId>org.apache.maven.plugins</groupId>
148         <artifactId>maven-checkstyle-plugin</artifactId>
149         <configuration>
150           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
151         </configuration>
152       </plugin>
153     </plugins>
154   </build>
155 </project>