Merge "Remove netconf-config-dispatcher as moved to netconf-client"
[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>1.8.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.netconf</groupId>
19   <artifactId>sal-rest-docgen</artifactId>
20   <version>1.5.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.2.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     <dependency>
50       <groupId>com.fasterxml.jackson.datatype</groupId>
51       <artifactId>jackson-datatype-json-org</artifactId>
52     </dependency>
53
54     <dependency>
55       <groupId>com.google.guava</groupId>
56       <artifactId>guava</artifactId>
57     </dependency>
58
59     <!-- Jax rs -->
60     <dependency>
61       <groupId>org.jboss.resteasy</groupId>
62       <artifactId>jaxrs-api</artifactId>
63     </dependency>
64
65     <dependency>
66       <groupId>org.json</groupId>
67       <artifactId>json</artifactId>
68     </dependency>
69
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>sal-core-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.yangtools</groupId>
76       <artifactId>yang-common</artifactId>
77     </dependency>
78
79     <dependency>
80       <groupId>org.opendaylight.yangtools</groupId>
81       <artifactId>yang-model-api</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.yangtools</groupId>
85       <artifactId>yang-model-util</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.yangtools</groupId>
89       <artifactId>yang-parser-api</artifactId>
90     </dependency>
91
92     <dependency>
93       <groupId>org.opendaylight.yangtools</groupId>
94       <artifactId>yang-parser-impl</artifactId>
95     </dependency>
96
97     <dependency>
98       <groupId>org.osgi</groupId>
99       <artifactId>org.osgi.core</artifactId>
100     </dependency>
101
102     <dependency>
103       <groupId>org.slf4j</groupId>
104       <artifactId>slf4j-api</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>org.mockito</groupId>
108       <artifactId>mockito-all</artifactId>
109       <scope>test</scope>
110     </dependency>
111     <dependency>
112       <groupId>org.opendaylight.yangtools</groupId>
113       <artifactId>yang-data-api</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>dk.brics.automaton</groupId>
117       <artifactId>automaton</artifactId>
118       <version>1.11-8</version>
119     </dependency>
120   </dependencies>
121
122   <build>
123     <plugins>
124       <plugin>
125         <groupId>org.apache.felix</groupId>
126         <artifactId>maven-bundle-plugin</artifactId>
127         <extensions>true</extensions>
128         <configuration>
129
130           <instructions>
131             <Bundle-Name>MD SAL Rest Api Doc Generator</Bundle-Name>
132             <Embed-Dependency>generex, automaton</Embed-Dependency>
133             <Import-Package>!org.apache.maven.plugin.logging,
134               !org.apache.maven.project,
135               !org.opendaylight.yangtools.yang2sources.spi,
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               org.json
147             </Export-Package>
148             <Bundle-Activator>org.opendaylight.netconf.sal.rest.doc.DocProvider</Bundle-Activator>
149             <Web-ContextPath>/apidoc</Web-ContextPath>
150           </instructions>
151
152         </configuration>
153       </plugin>
154     </plugins>
155   </build>
156 </project>