Bump versions by x.(y+1).z for next dev cycle
[nemo.git] / nemo-renderers / cli-renderer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Huawei, Inc and others. 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
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   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.mdsal</groupId>
14     <artifactId>binding-parent</artifactId>
15     <version>0.13.0-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>cli-renderer</artifactId>
21   <version>1.5.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <!-- <name> formatting is used by autorelease to parse and notify projects on
24        build failure. Please do not modify this unless you have a good reason. -->
25   <name>ODL :: nemo :: ${project.artifactId}</name>
26
27   <properties>
28     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
29     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
30   </properties>
31
32   <dependencies>
33     <dependency>
34       <groupId>${project.groupId}</groupId>
35       <artifactId>nemo-api</artifactId>
36       <version>${project.version}</version>
37     </dependency>
38     <dependency>
39       <groupId>${project.groupId}</groupId>
40       <artifactId>nemo-impl</artifactId>
41       <version>${project.version}</version>
42     </dependency>
43     <dependency>
44       <groupId>io.netty</groupId>
45       <artifactId>netty</artifactId>
46       <version>3.10.6.Final</version>
47     </dependency>
48     <dependency>
49       <groupId>com.fasterxml.jackson.core</groupId>
50       <artifactId>jackson-core</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>com.fasterxml.jackson.core</groupId>
54       <artifactId>jackson-databind</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>com.fasterxml.jackson.core</groupId>
58       <artifactId>jackson-annotations</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.codehaus.jettison</groupId>
62       <artifactId>jettison</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>junit</groupId>
66       <artifactId>junit</artifactId>
67       <scope>test</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.mockito</groupId>
71       <artifactId>mockito-core</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.slf4j</groupId>
76       <artifactId>slf4j-simple</artifactId>
77       <scope>test</scope>
78     </dependency>
79   </dependencies>
80
81   <build>
82     <plugins>
83       <plugin>
84         <groupId>org.apache.felix</groupId>
85         <artifactId>maven-bundle-plugin</artifactId>
86         <configuration>
87           <instructions>
88             <Export-Package>
89               org.codehaus.jackson,
90               org.codehaus.jackson.*,
91               org.joda.time.*
92             </Export-Package>
93             <Import-Package>*</Import-Package>
94           </instructions>
95         </configuration>
96       </plugin>
97       <plugin>
98         <groupId>org.codehaus.mojo</groupId>
99         <artifactId>build-helper-maven-plugin</artifactId>
100         <executions>
101           <execution>
102             <id>attach-artifacts</id>
103             <goals>
104               <goal>attach-artifact</goal>
105             </goals>
106             <phase>package</phase>
107             <configuration>
108               <artifacts>
109                 <artifact>
110                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/node-resource.json</file>
111                   <type>json</type>
112                   <classifier>node-resource</classifier>
113                 </artifact>
114                 <artifact>
115                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/host-resource.json</file>
116                   <type>json</type>
117                   <classifier>host-resource</classifier>
118                 </artifact>
119                 <artifact>
120                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/link-resource.json</file>
121                   <type>json</type>
122                   <classifier>link-resource</classifier>
123                 </artifact>
124                 <artifact>
125                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/external-resource.json</file>
126                   <type>json</type>
127                   <classifier>external-resource</classifier>
128                 </artifact>
129               </artifacts>
130             </configuration>
131           </execution>
132         </executions>
133       </plugin>
134       <plugin>
135         <groupId>org.jacoco</groupId>
136         <artifactId>jacoco-maven-plugin</artifactId>
137         <configuration>
138           <includes>
139             <include>org.opendaylight.nemo.*</include>
140           </includes>
141         </configuration>
142         <executions>
143           <execution>
144             <id>pre-unit-test</id>
145             <goals>
146               <goal>prepare-agent</goal>
147             </goals>
148             <configuration>
149               <destFile>${sonar.jacoco.reportPath}</destFile>
150             </configuration>
151           </execution>
152           <execution>
153             <id>post-unit-test</id>
154             <goals>
155               <goal>report</goal>
156             </goals>
157             <configuration>
158               <dataFile>${sonar.jacoco.reportPath}</dataFile>
159             </configuration>
160           </execution>
161         </executions>
162       </plugin>
163     </plugins>
164   </build>
165
166   <scm>
167     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
168     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
169     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
170     <tag>HEAD</tag>
171   </scm>
172 </project>