BUG-2643: enable checkstyle/findbugs in archetype
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / impl / pom.xml
1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 <?xml version="1.0" encoding="UTF-8"?>
5 <!-- vi: set et smarttab sw=4 tabstop=4: -->
6 <!--
7 Copyright © ${copyrightYear} ${copyright} and others. All rights reserved.
8
9 This program and the accompanying materials are made available under the
10 terms of the Eclipse Public License v1.0 which accompanies this distribution,
11 and is available at http://www.eclipse.org/legal/epl-v10.html
12 -->
13 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15
16   <modelVersion>4.0.0</modelVersion>
17
18   <parent>
19     <groupId>org.opendaylight.mdsal</groupId>
20     <artifactId>binding-parent</artifactId>
21     <version>0.12.0-SNAPSHOT</version>
22     <relativePath/>
23   </parent>
24
25   <groupId>${groupId}</groupId>
26   <artifactId>${artifactId}-impl</artifactId>
27   <version>${version}</version>
28   <!-- <name> formatting is used by autorelease to parse and notify projects on
29        build failure. Please do not modify this unless you have a good reason. -->
30   <name>ODL :: ${groupId} :: ${project.artifactId}</name>
31   <packaging>bundle</packaging>
32
33   <dependencies>
34     <dependency>
35       <groupId>${symbol_dollar}{project.groupId}</groupId>
36       <artifactId>${artifactId}-api</artifactId>
37       <version>${symbol_dollar}{project.version}</version>
38     </dependency>
39
40     <!-- Testing Dependencies -->
41     <dependency>
42       <groupId>junit</groupId>
43       <artifactId>junit</artifactId>
44       <scope>test</scope>
45     </dependency>
46
47     <dependency>
48       <groupId>org.mockito</groupId>
49       <artifactId>mockito-core</artifactId>
50       <scope>test</scope>
51     </dependency>
52   </dependencies>
53
54   <build>
55     <plugins>
56       <plugin>
57         <groupId>org.apache.maven.plugins</groupId>
58         <artifactId>maven-checkstyle-plugin</artifactId>
59         <configuration>
60           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
61         </configuration>
62       </plugin>
63       <plugin>
64         <groupId>org.codehaus.mojo</groupId>
65         <artifactId>findbugs-maven-plugin</artifactId>
66         <configuration>
67           <failOnError>true</failOnError>
68         </configuration>
69       </plugin>
70     </plugins>
71   </build>
72 </project>