Upgrade ietf-{inet,yang}-types to 2013-07-15
[aaa.git] / aaa-h2-store / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.aaa</groupId>
7         <artifactId>aaa-parent</artifactId>
8         <version>0.4.0-SNAPSHOT</version>
9         <relativePath>../parent</relativePath>
10     </parent>
11
12     <artifactId>aaa-h2-store</artifactId>
13     <packaging>bundle</packaging>
14
15     <dependencies>
16         <dependency>
17             <groupId>org.opendaylight.controller</groupId>
18             <artifactId>config-api</artifactId>
19             <version>${config.version}</version>
20         </dependency>
21         <dependency>
22             <groupId>org.opendaylight.controller</groupId>
23             <artifactId>sal-binding-config</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>org.opendaylight.controller</groupId>
27             <artifactId>sal-binding-api</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.controller</groupId>
31             <artifactId>sal-common-util</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.apache.commons</groupId>
35             <artifactId>commons-lang3</artifactId>
36         </dependency>
37
38         <dependency>
39             <groupId>org.opendaylight.aaa</groupId>
40             <artifactId>aaa-authn-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.aaa</groupId>
44             <artifactId>aaa-authn</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.slf4j</groupId>
48             <artifactId>slf4j-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.apache.felix</groupId>
52             <artifactId>org.apache.felix.dependencymanager</artifactId>
53             <scope>provided</scope>
54         </dependency>
55         <dependency>
56             <groupId>org.mockito</groupId>
57             <artifactId>mockito-all</artifactId>
58             <scope>test</scope>
59         </dependency>
60
61         <!-- JDBC -->
62         <dependency>
63             <groupId>com.h2database</groupId>
64             <artifactId>h2</artifactId>
65         </dependency>
66         <!-- Testing Dependencies -->
67         <dependency>
68             <groupId>junit</groupId>
69             <artifactId>junit</artifactId>
70             <scope>test</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.slf4j</groupId>
74             <artifactId>slf4j-simple</artifactId>
75             <scope>test</scope>
76         </dependency>
77
78     </dependencies>
79     <build>
80         <plugins>
81             <plugin>
82                 <groupId>org.apache.felix</groupId>
83                 <artifactId>maven-bundle-plugin</artifactId>
84                 <version>${bundle.plugin.version}</version>
85                 <extensions>true</extensions>
86                 <configuration>
87                     <instructions>
88                         <Import-Package>com.google.*,org.opendaylight.aaa.api.*,org.apache.felix.*,org.slf4j.*,org.opendaylight.*,org.osgi.*,org.apache.commons.lang3</Import-Package>
89                         <Private-Package>org.h2.*</Private-Package>
90                         <Embed-Dependency>h2</Embed-Dependency>
91                     </instructions>
92                 </configuration>
93             </plugin>
94             <plugin>
95                 <groupId>org.opendaylight.yangtools</groupId>
96                 <artifactId>yang-maven-plugin</artifactId>
97                 <version>${yangtools.version}</version>
98                 <executions>
99                     <execution>
100                         <id>config</id>
101                         <goals>
102                             <goal>generate-sources</goal>
103                         </goals>
104                         <configuration>
105                             <codeGenerators>
106                                 <generator>
107                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
108                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
109                                     <additionalConfiguration>
110                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
111                                     </additionalConfiguration>
112                                 </generator>
113                                 <generator>
114                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
115                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
116                                 </generator>
117                             </codeGenerators>
118                             <inspectDependencies>true</inspectDependencies>
119                         </configuration>
120                     </execution>
121                 </executions>
122                 <dependencies>
123                     <dependency>
124                         <groupId>org.opendaylight.mdsal</groupId>
125                         <artifactId>maven-sal-api-gen-plugin</artifactId>
126                         <version>${mdsal.model.version}</version>
127                         <type>jar</type>
128                     </dependency>
129                     <dependency>
130                         <groupId>org.opendaylight.controller</groupId>
131                         <artifactId>yang-jmx-generator-plugin</artifactId>
132                         <version>${config.version}</version>
133                     </dependency>
134                 </dependencies>
135             </plugin>
136             <plugin>
137                 <groupId>org.codehaus.mojo</groupId>
138                 <artifactId>build-helper-maven-plugin</artifactId>
139                 <executions>
140                     <execution>
141                         <id>attach-artifacts</id>
142                         <goals>
143                             <goal>attach-artifact</goal>
144                         </goals>
145                         <phase>package</phase>
146                         <configuration>
147                             <artifacts>
148                                 <artifact>
149                                     <file>${project.build.directory}/classes/initial/08-aaa-h2-store-config.xml</file>
150                                     <type>xml</type>
151                                     <classifier>config</classifier>
152                                 </artifact>
153                             </artifacts>
154                         </configuration>
155                     </execution>
156                 </executions>
157             </plugin>
158         </plugins>
159     </build>
160 </project>