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