Require jaxb-api
[aaa.git] / aaa-cert / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015, 2017 Inocybe Technology. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
8 <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/xsd/maven-4.0.0.xsd">
9
10   <parent>
11     <groupId>org.opendaylight.aaa</groupId>
12     <artifactId>aaa-parent</artifactId>
13     <version>0.9.0-SNAPSHOT</version>
14     <relativePath>../parent</relativePath>
15   </parent>
16
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.aaa</groupId>
19   <artifactId>aaa-cert</artifactId>
20   <name>ODL :: aaa :: ${project.artifactId}</name>
21   <packaging>bundle</packaging>
22
23   <dependencies>
24     <dependency>
25       <groupId>org.opendaylight.aaa</groupId>
26       <artifactId>aaa-encrypt-service</artifactId>
27     </dependency>
28     <dependency>
29       <groupId>org.opendaylight.mdsal</groupId>
30       <artifactId>mdsal-binding-api</artifactId>
31     </dependency>
32     <dependency>
33       <groupId>org.apache.commons</groupId>
34       <artifactId>commons-text</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>javax.xml.bind</groupId>
38       <artifactId>jaxb-api</artifactId>
39       <!-- FIXME: eliminate version/exclusions with odlparent-4.0.3 -->
40       <version>2.2.1</version>
41       <exclusions>
42         <exclusion>
43           <!-- Provided by JDK -->
44           <groupId>javax.xml.stream</groupId>
45           <artifactId>stax-api</artifactId>
46         </exclusion>
47       </exclusions>
48     </dependency>
49
50     <!-- Bouncy Castle dependency -->
51     <dependency>
52       <groupId>org.bouncycastle</groupId>
53       <artifactId>bcprov-jdk15on</artifactId>
54     </dependency>
55
56     <!-- Testing Dependencies -->
57     <dependency>
58       <groupId>junit</groupId>
59       <artifactId>junit</artifactId>
60       <scope>test</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.mockito</groupId>
64       <artifactId>mockito-core</artifactId>
65       <version>2.8.9</version>
66       <scope>test</scope>
67     </dependency>
68     <dependency>
69       <groupId>org.powermock</groupId>
70       <artifactId>powermock-core</artifactId>
71       <scope>test</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.powermock</groupId>
75       <artifactId>powermock-module-junit4</artifactId>
76       <scope>test</scope>
77     </dependency>
78     <dependency>
79       <groupId>org.javassist</groupId>
80       <artifactId>javassist</artifactId>
81       <version>3.21.0-GA</version>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.powermock</groupId>
86       <artifactId>powermock-api-mockito2</artifactId>
87       <version>1.7.4</version>
88       <scope>test</scope>
89     </dependency>
90     <dependency>
91       <groupId>org.powermock</groupId>
92       <artifactId>powermock-api-support</artifactId>
93       <scope>test</scope>
94     </dependency>
95   </dependencies>
96
97   <build>
98     <plugins>
99       <plugin>
100         <groupId>org.apache.felix</groupId>
101         <artifactId>maven-bundle-plugin</artifactId>
102         <extensions>true</extensions>
103         <configuration>
104           <instructions>
105             <Export-Package>
106               org.opendaylight.aaa.cert.api.*,
107               org.opendaylight.aaa.cert.impl.*,
108               org.opendaylight.yang.gen.v1.urn.opendaylight.yang.aaa.cert.rev151126.*
109             </Export-Package>
110           </instructions>
111         </configuration>
112       </plugin>
113       <plugin>
114         <groupId>org.codehaus.mojo</groupId>
115         <artifactId>build-helper-maven-plugin</artifactId>
116         <executions>
117           <execution>
118             <id>attach-artifacts</id>
119             <goals>
120               <goal>attach-artifact</goal>
121             </goals>
122             <phase>package</phase>
123             <configuration>
124               <artifacts>
125                 <artifact>
126                   <file>${project.build.directory}/classes/initial/aaa-cert-config.xml</file>
127                   <type>xml</type>
128                   <classifier>config</classifier>
129                 </artifact>
130               </artifacts>
131             </configuration>
132           </execution>
133         </executions>
134       </plugin>
135     </plugins>
136   </build>
137 </project>