Fix issues in checkstyle enforcement for module aaa-cert
[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"
9   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>config-parent</artifactId>
14     <version>0.7.0-SNAPSHOT</version>
15     <relativePath />
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.aaa</groupId>
20   <artifactId>aaa-cert</artifactId>
21   <version>0.6.0-SNAPSHOT</version>
22   <name>ODL :: aaa :: ${project.artifactId}</name>
23   <packaging>bundle</packaging>
24
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.aaa</groupId>
29         <artifactId>aaa-artifacts</artifactId>
30         <version>${project.version}</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34     </dependencies>
35   </dependencyManagement>
36
37   <dependencies>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>sal-binding-config</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.aaa</groupId>
44       <artifactId>aaa-encrypt-service</artifactId>
45     </dependency>
46
47     <!-- Bouncy Castle dependency -->
48     <dependency>
49       <groupId>org.bouncycastle</groupId>
50       <artifactId>bcprov-jdk15on</artifactId>
51     </dependency>
52
53     <!-- Testing Dependencies -->
54     <dependency>
55       <groupId>junit</groupId>
56       <artifactId>junit</artifactId>
57       <scope>test</scope>
58     </dependency>
59     <dependency>
60       <groupId>org.mockito</groupId>
61       <artifactId>mockito-core</artifactId>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>org.powermock</groupId>
66       <artifactId>powermock-core</artifactId>
67       <scope>test</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.powermock</groupId>
71       <artifactId>powermock-module-junit4</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.powermock</groupId>
76       <artifactId>powermock-api-mockito</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.powermock</groupId>
81       <artifactId>powermock-api-support</artifactId>
82       <scope>test</scope>
83     </dependency>
84   </dependencies>
85
86   <build>
87     <plugins>
88       <plugin>
89         <groupId>org.apache.maven.plugins</groupId>
90         <artifactId>maven-checkstyle-plugin</artifactId>
91         <configuration>
92            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
93         </configuration>
94       </plugin>
95       <plugin>
96         <groupId>org.apache.felix</groupId>
97         <artifactId>maven-bundle-plugin</artifactId>
98         <extensions>true</extensions>
99         <configuration>
100           <instructions>
101             <Export-Package>
102               org.opendaylight.aaa.cert.api.*,
103               org.opendaylight.aaa.cert.impl.*,
104               org.opendaylight.yang.gen.v1.urn.opendaylight.yang.aaa.cert.rev151126.*
105             </Export-Package>
106           </instructions>
107         </configuration>
108       </plugin>
109       <plugin>
110         <groupId>org.codehaus.mojo</groupId>
111         <artifactId>build-helper-maven-plugin</artifactId>
112         <executions>
113           <execution>
114             <id>attach-artifacts</id>
115             <goals>
116               <goal>attach-artifact</goal>
117             </goals>
118             <phase>package</phase>
119             <configuration>
120               <artifacts>
121                 <artifact>
122                   <file>${project.build.directory}/classes/initial/aaa-cert-config.xml</file>
123                   <type>xml</type>
124                   <classifier>config</classifier>
125                 </artifact>
126               </artifacts>
127             </configuration>
128           </execution>
129         </executions>
130       </plugin>
131     </plugins>
132   </build>
133 </project>