Merge "Move aaa-h2-store bundle to use blueprint"
[aaa.git] / aaa-cert / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 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.5.0-SNAPSHOT</version>
14     <relativePath>../parent/</relativePath>
15   </parent>
16
17   <modelVersion>4.0.0</modelVersion>
18   <artifactId>aaa-cert</artifactId>
19   <packaging>bundle</packaging>
20
21   <dependencies>
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>sal-binding-config</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.aaa</groupId>
28       <artifactId>aaa-encrypt-service</artifactId>
29     </dependency>
30
31     <!-- Bouncy Castle dependency -->
32     <dependency>
33         <groupId>org.bouncycastle</groupId>
34         <artifactId>bcprov-jdk15on</artifactId>
35     </dependency>
36     <dependency>
37         <groupId>commons-codec</groupId>
38         <artifactId>commons-codec</artifactId>
39     </dependency>
40
41     <!-- Testing Dependencies -->
42     <dependency>
43       <groupId>junit</groupId>
44       <artifactId>junit</artifactId>
45       <scope>test</scope>
46     </dependency>
47     <dependency>
48       <groupId>org.mockito</groupId>
49       <artifactId>mockito-all</artifactId>
50       <scope>test</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.powermock</groupId>
54       <artifactId>powermock-core</artifactId>
55       <scope>test</scope>
56     </dependency>
57     <dependency>
58       <groupId>org.powermock</groupId>
59       <artifactId>powermock-module-junit4</artifactId>
60       <scope>test</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.powermock</groupId>
64       <artifactId>powermock-api-mockito</artifactId>
65       <scope>test</scope>
66     </dependency>
67     <dependency>
68       <groupId>org.powermock</groupId>
69       <artifactId>powermock-api-support</artifactId>
70       <scope>test</scope>
71     </dependency>
72   </dependencies>
73
74   <build>
75     <plugins>
76       <plugin>
77         <groupId>org.apache.felix</groupId>
78         <artifactId>maven-bundle-plugin</artifactId>
79         <extensions>true</extensions>
80       </plugin>
81       <plugin>
82         <groupId>org.codehaus.mojo</groupId>
83         <artifactId>build-helper-maven-plugin</artifactId>
84         <executions>
85           <execution>
86             <id>attach-artifacts</id>
87             <goals>
88               <goal>attach-artifact</goal>
89             </goals>
90             <phase>package</phase>
91             <configuration>
92               <artifacts>
93                 <artifact>
94                   <file>${project.build.directory}/classes/initial/08-aaa-cert-config.xml</file>
95                   <type>xml</type>
96                   <classifier>config</classifier>
97                 </artifact>
98               </artifacts>
99             </configuration>
100           </execution>
101         </executions>
102       </plugin>
103       <plugin>
104         <groupId>org.opendaylight.yangtools</groupId>
105         <artifactId>yang-maven-plugin</artifactId>
106         <version>${yangtools.version}</version>
107         <executions>
108           <execution>
109             <id>config</id>
110             <goals>
111               <goal>generate-sources</goal>
112             </goals>
113             <configuration>
114               <codeGenerators>
115                 <generator>
116                 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
117                 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
118                 <additionalConfiguration>
119                   <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
120                   </additionalConfiguration>
121                 </generator>
122                 <generator>
123                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
124                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
125                 </generator>
126               </codeGenerators>
127               <inspectDependencies>true</inspectDependencies>
128             </configuration>
129           </execution>
130         </executions>
131         <dependencies>
132           <dependency>
133             <groupId>org.opendaylight.controller</groupId>
134             <artifactId>yang-jmx-generator-plugin</artifactId>
135             <version>${config.version}</version>
136           </dependency>
137           <dependency>
138             <groupId>org.opendaylight.mdsal</groupId>
139             <artifactId>maven-sal-api-gen-plugin</artifactId>
140             <version>${mdsal.model.version}</version>
141           </dependency>
142         </dependencies>
143       </plugin>
144     </plugins>
145   </build>
146 </project>