325ba832f13a8ab87ac260342545354e7b211005
[aaa.git] / aaa-authn-mdsal-store / aaa-authn-mdsal-store-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2015 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   -->
10
11 <project xmlns="http://maven.apache.org/POM/4.0.0"
12          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
14     <modelVersion>4.0.0</modelVersion>
15     <parent>
16         <groupId>org.opendaylight.aaa</groupId>
17         <artifactId>aaa-parent</artifactId>
18         <version>0.4.0-SNAPSHOT</version>
19         <relativePath>../../parent</relativePath>
20     </parent>
21
22     <artifactId>aaa-authn-mdsal-store-impl</artifactId>
23     <packaging>bundle</packaging>
24
25     <properties>
26         <powermock.version>1.5.2</powermock.version>
27     </properties>
28
29     <dependencies>
30         <dependency>
31             <groupId>org.opendaylight.controller</groupId>
32             <artifactId>sal-binding-util</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.controller</groupId>
36             <artifactId>sal-common-util</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>yang-data-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>commons-codec</groupId>
44             <artifactId>commons-codec</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.controller</groupId>
48             <artifactId>sal-binding-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>config-api</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.controller</groupId>
56             <artifactId>sal-binding-config</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.aaa</groupId>
60             <artifactId>aaa-authn-api</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.aaa</groupId>
64             <artifactId>aaa-authn</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.controller</groupId>
68             <artifactId>sal-core-api</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.aaa</groupId>
72             <artifactId>aaa-authn-mdsal-api</artifactId>
73         </dependency>
74
75         <!-- Test dependencies -->
76         <dependency>
77             <groupId>junit</groupId>
78             <artifactId>junit</artifactId>
79             <scope>test</scope>
80         </dependency>
81         <dependency>
82             <groupId>org.mockito</groupId>
83             <artifactId>mockito-all</artifactId>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.slf4j</groupId>
88             <artifactId>slf4j-simple</artifactId>
89             <scope>test</scope>
90         </dependency>
91         <dependency>
92           <groupId>org.powermock</groupId>
93           <artifactId>powermock-api-mockito</artifactId>
94           <version>${powermock.version}</version>
95           <scope>test</scope>
96         </dependency>
97         <dependency>
98           <groupId>org.powermock</groupId>
99           <artifactId>powermock-module-junit4</artifactId>
100           <version>${powermock.version}</version>
101           <scope>test</scope>
102         </dependency>
103     </dependencies>
104
105     <build>
106         <plugins>
107             <plugin>
108                 <groupId>org.apache.felix</groupId>
109                 <artifactId>maven-bundle-plugin</artifactId>
110                 <extensions>true</extensions>
111                 <configuration>
112                     <instructions>
113                         <!-- <Bundle-Activator>/Bundle-Activator> -->
114                         <Export-Package>org.opendaylight.yang.gen.v1.config.aaa.authn.mdsal.store.*
115                         </Export-Package>
116                     </instructions>
117                 </configuration>
118                 <!-- <configuration> <Export-Package> </Export-Package> </configuration> -->
119             </plugin>
120             <plugin>
121                 <groupId>org.opendaylight.yangtools</groupId>
122                 <artifactId>yang-maven-plugin</artifactId>
123                 <version>${yangtools.version}</version>
124                 <executions>
125                     <execution>
126                         <id>config</id>
127                         <goals>
128                             <goal>generate-sources</goal>
129                         </goals>
130                         <configuration>
131                             <codeGenerators>
132                                 <generator>
133                                     <codeGeneratorClass>
134                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
135                                     </codeGeneratorClass>
136                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
137                                     <additionalConfiguration>
138                                         <namespaceToPackage1>
139                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
140                                         </namespaceToPackage1>
141                                     </additionalConfiguration>
142                                 </generator>
143                                 <generator>
144                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
145                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
146                                 </generator>
147                             </codeGenerators>
148                             <inspectDependencies>true</inspectDependencies>
149                         </configuration>
150                     </execution>
151                 </executions>
152                 <dependencies>
153                     <dependency>
154                         <groupId>org.opendaylight.controller</groupId>
155                         <artifactId>yang-jmx-generator-plugin</artifactId>
156                         <version>${config.version}</version>
157                     </dependency>
158                     <dependency>
159                         <groupId>org.opendaylight.mdsal</groupId>
160                         <artifactId>maven-sal-api-gen-plugin</artifactId>
161                         <version>${yangtools.version}</version>
162                     </dependency>
163                 </dependencies>
164             </plugin>
165         </plugins>
166     </build>
167
168
169 </project>