Make the checkstyle artifact a snapshot else it will fail deploy in merge job
[controller.git] / opendaylight / commons / concepts / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
3   <modelVersion>4.0.0</modelVersion>\r
4   <parent>\r
5     <groupId>org.opendaylight.controller</groupId>\r
6     <artifactId>commons.opendaylight</artifactId>\r
7     <version>1.4.0-SNAPSHOT</version>\r
8     <relativePath>../../commons/opendaylight</relativePath>\r
9   </parent>\r
10 \r
11   <artifactId>concepts</artifactId>\r
12   <version>0.5.0-SNAPSHOT</version>\r
13   <packaging>bundle</packaging>\r
14 \r
15   <build>\r
16     <plugins>\r
17       <plugin>\r
18         <groupId>org.apache.felix</groupId>\r
19         <artifactId>maven-bundle-plugin</artifactId>\r
20         <version>2.3.6</version>\r
21         <extensions>true</extensions>\r
22         <configuration>\r
23           <instructions>\r
24             <Export-Package>\r
25               org.opendaylight.controller.concepts.transform\r
26             </Export-Package>\r
27           </instructions>\r
28           <manifestLocation>${project.basedir}/META-INF</manifestLocation>\r
29         </configuration>\r
30       </plugin>\r
31       <plugin>\r
32         <groupId>org.apache.maven.plugins</groupId>\r
33         <artifactId>maven-checkstyle-plugin</artifactId>\r
34         <version>${checkstyle.version}</version>\r
35         <dependencies>\r
36           <dependency>\r
37             <groupId>org.opendaylight.controller</groupId>\r
38             <artifactId>checkstyle</artifactId>\r
39             <version>0.0.1-SNAPSHOT</version>\r
40           </dependency>\r
41         </dependencies>\r
42         <configuration>\r
43           <failsOnError>true</failsOnError>\r
44           <configLocation>controller/space_and_tabs_checks.xml</configLocation>\r
45         </configuration>\r
46       </plugin>\r
47     </plugins>\r
48   </build>\r
49   <dependencies>\r
50     <dependency>\r
51       <groupId>junit</groupId>\r
52       <artifactId>junit</artifactId>\r
53       <version>4.8.1</version>\r
54       <scope>test</scope>\r
55     </dependency>\r
56   </dependencies>\r
57 </project>\r