Add missing <name> fields for pom.xml files
[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.controller</groupId>
14     <artifactId>config-parent</artifactId>
15     <version>0.6.0-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>cli-renderer</artifactId>
21   <version>1.2.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>org.jboss.netty</groupId>
45       <artifactId>netty</artifactId>
46       <version>3.2.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.opendaylight.yangtools</groupId>
99         <artifactId>yang-maven-plugin</artifactId>
100         <executions>
101           <execution>
102             <goals>
103               <goal>generate-sources</goal>
104             </goals>
105             <configuration>
106               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
107               <codeGenerators>
108                 <generator>
109                   <codeGeneratorClass>
110                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
111                   </codeGeneratorClass>
112                   <outputBaseDir>
113                     ${salGeneratorPath}
114                   </outputBaseDir>
115                 </generator>
116               </codeGenerators>
117               <inspectDependencies>true</inspectDependencies>
118             </configuration>
119           </execution>
120         </executions>
121         <dependencies>
122           <dependency>
123             <groupId>org.opendaylight.mdsal</groupId>
124             <artifactId>maven-sal-api-gen-plugin</artifactId>
125             <version>0.10.0-SNAPSHOT</version>
126             <type>jar</type>
127           </dependency>
128         </dependencies>
129       </plugin>
130       <plugin>
131         <groupId>org.codehaus.mojo</groupId>
132         <artifactId>build-helper-maven-plugin</artifactId>
133         <executions>
134           <execution>
135             <id>attach-artifacts</id>
136             <goals>
137               <goal>attach-artifact</goal>
138             </goals>
139             <phase>package</phase>
140             <configuration>
141               <artifacts>
142                 <artifact>
143                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/config.xml</file>
144                   <type>xml</type>
145                   <classifier>config</classifier>
146                 </artifact>
147                 <artifact>
148                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/node-resource.json</file>
149                   <type>json</type>
150                   <classifier>node-resource</classifier>
151                 </artifact>
152                 <artifact>
153                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/host-resource.json</file>
154                   <type>json</type>
155                   <classifier>host-resource</classifier>
156                 </artifact>
157                 <artifact>
158                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/link-resource.json</file>
159                   <type>json</type>
160                   <classifier>link-resource</classifier>
161                 </artifact>
162                 <artifact>
163                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/external-resource.json</file>
164                   <type>json</type>
165                   <classifier>external-resource</classifier>
166                 </artifact>
167               </artifacts>
168             </configuration>
169           </execution>
170         </executions>
171       </plugin>
172       <plugin>
173         <groupId>org.jacoco</groupId>
174         <artifactId>jacoco-maven-plugin</artifactId>
175         <configuration>
176           <includes>
177             <include>org.opendaylight.nemo.*</include>
178           </includes>
179         </configuration>
180         <executions>
181           <execution>
182             <id>pre-unit-test</id>
183             <goals>
184               <goal>prepare-agent</goal>
185             </goals>
186             <configuration>
187               <destFile>${sonar.jacoco.reportPath}</destFile>
188             </configuration>
189           </execution>
190           <execution>
191             <id>post-unit-test</id>
192             <goals>
193               <goal>report</goal>
194             </goals>
195             <configuration>
196               <dataFile>${sonar.jacoco.reportPath}</dataFile>
197             </configuration>
198           </execution>
199         </executions>
200       </plugin>
201     </plugins>
202   </build>
203
204   <scm>
205     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
206     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
207     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
208     <tag>HEAD</tag>
209   </scm>
210 </project>