7c4ddbefbb4979721be43c0a8daacf7c0108d2b7
[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.odlparent</groupId>
13     <artifactId>bundle-parent</artifactId>
14     <version>3.0.2</version>
15     <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   <dependencyManagement>
24     <dependencies>
25       <dependency>
26         <groupId>org.opendaylight.yangtools</groupId>
27         <artifactId>yangtools-artifacts</artifactId>
28         <version>2.0.1</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.8.0-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     <dependency>
122       <groupId>org.opendaylight.aaa</groupId>
123       <artifactId>aaa-shiro</artifactId>
124       <version>0.8.0-SNAPSHOT</version>
125     </dependency>
126   </dependencies>
127
128   <build>
129     <plugins>
130       <plugin>
131         <groupId>org.apache.felix</groupId>
132         <artifactId>maven-bundle-plugin</artifactId>
133         <extensions>true</extensions>
134         <configuration>
135
136           <instructions>
137             <Bundle-Name>MD SAL Rest Api Doc Generator</Bundle-Name>
138             <Embed-Dependency>generex, automaton</Embed-Dependency>
139             <!-- needed for web.xml. Remove once we have Jersey 2 -->
140             <Import-Package>
141               *,
142               com.sun.jersey.spi.container.servlet,
143               org.eclipse.jetty.servlets,
144               org.opendaylight.aaa.shiro.filters,
145               org.opendaylight.aaa.shiro.realm,
146               org.opendaylight.aaa.shiro.web.env,
147               org.apache.shiro.web.env,
148               org.opendaylight.aaa.api
149             </Import-Package>
150             <Export-Package>
151               com.fasterxml.jackson.datatype.*
152             </Export-Package>
153             <Web-ContextPath>/apidoc</Web-ContextPath>
154           </instructions>
155
156         </configuration>
157       </plugin>
158       <plugin>
159         <groupId>org.apache.maven.plugins</groupId>
160         <artifactId>maven-checkstyle-plugin</artifactId>
161         <configuration>
162           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
163         </configuration>
164       </plugin>
165     </plugins>
166   </build>
167 </project>