BUG-2643: enable checkstyle/findbugs in archetype
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / cli / 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}-cli</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     <!-- Project Dependencies -->
35     <dependency>
36       <groupId>${symbol_dollar}{project.groupId}</groupId>
37       <artifactId>${artifactId}-api</artifactId>
38       <version>${symbol_dollar}{project.version}</version>
39     </dependency>
40
41     <!-- Apache Karaf console dependency -->
42     <dependency>
43       <groupId>org.apache.karaf.shell</groupId>
44       <artifactId>org.apache.karaf.shell.console</artifactId>
45       <version>${karaf.version}</version>
46     </dependency>
47     <dependency>
48       <groupId>org.apache.karaf.shell</groupId>
49       <artifactId>org.apache.karaf.shell.table</artifactId>
50       <version>${karaf.version}</version>
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>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.