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