Initial nemo project structure.
[nemo.git] / nemo-renderers / openflow-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.4.0-SNAPSHOT</version>
16     <relativePath />
17   </parent>
18
19   <groupId>org.opendaylight.nemo</groupId>
20   <artifactId>openflow-renderer</artifactId>
21   <version>1.0.0-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <name>${project.artifactId}</name>
24
25   <properties>
26     <jacoco.version>0.7.2.201409121644</jacoco.version>
27   </properties>
28
29   <dependencies>
30     <dependency>
31       <groupId>${project.groupId}</groupId>
32       <artifactId>nemo-api</artifactId>
33       <version>${project.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>${project.groupId}</groupId>
37       <artifactId>nemo-impl</artifactId>
38       <version>${project.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>junit</groupId>
42       <artifactId>junit</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.slf4j</groupId>
46       <artifactId>slf4j-simple</artifactId>
47       <scope>test</scope>
48     </dependency>
49     <dependency>
50       <groupId>org.codehaus.jettison</groupId>
51       <artifactId>jettison</artifactId>
52     </dependency>
53   </dependencies>
54
55   <build>
56     <pluginManagement>
57       <plugins>
58         <plugin>
59           <groupId>org.jacoco</groupId>
60           <artifactId>jacoco-maven-plugin</artifactId>
61           <version>${jacoco.version}</version>
62         </plugin>
63       </plugins>
64     </pluginManagement>
65     <plugins>
66       <plugin>
67         <groupId>org.opendaylight.yangtools</groupId>
68         <artifactId>yang-maven-plugin</artifactId>
69         <executions>
70           <execution>
71             <goals>
72               <goal>generate-sources</goal>
73             </goals>
74             <configuration>
75               <yangFilesRootDir>src/main/yang</yangFilesRootDir>
76               <codeGenerators>
77                 <generator>
78                   <codeGeneratorClass>
79                     org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
80                   </codeGeneratorClass>
81                   <outputBaseDir>
82                     ${salGeneratorPath}
83                   </outputBaseDir>
84                 </generator>
85               </codeGenerators>
86               <inspectDependencies>true</inspectDependencies>
87             </configuration>
88           </execution>
89         </executions>
90         <dependencies>
91           <dependency>
92             <groupId>org.opendaylight.yangtools</groupId>
93             <artifactId>maven-sal-api-gen-plugin</artifactId>
94             <version>${yangtools.version}</version>
95             <type>jar</type>
96           </dependency>
97         </dependencies>
98       </plugin>
99       <plugin>
100         <groupId>org.codehaus.mojo</groupId>
101         <artifactId>build-helper-maven-plugin</artifactId>
102         <executions>
103           <execution>
104             <id>attach-artifacts</id>
105             <goals>
106               <goal>attach-artifact</goal>
107             </goals>
108             <phase>package</phase>
109             <configuration>
110               <artifacts>
111                 <artifact>
112                   <file>${project.build.directory}/classes/etc/opendaylight/karaf/config.xml</file>
113                   <type>xml</type>
114                   <classifier>config</classifier>
115                 </artifact>
116               </artifacts>
117             </configuration>
118           </execution>
119         </executions>
120       </plugin>
121       <plugin>
122         <groupId>org.jacoco</groupId>
123         <artifactId>jacoco-maven-plugin</artifactId>
124         <configuration>
125           <includes>
126             <include>org.opendaylight.nemo.*</include>
127           </includes>
128         </configuration>
129         <executions>
130           <execution>
131             <id>pre-test</id>
132             <goals>
133               <goal>prepare-agent</goal>
134             </goals>
135           </execution>
136           <execution>
137             <id>post-test</id>
138             <goals>
139               <goal>report</goal>
140             </goals>
141             <phase>test</phase>
142           </execution>
143         </executions>
144       </plugin>
145     </plugins>
146   </build>
147
148   <scm>
149     <connection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</connection>
150     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/nemo.git</developerConnection>
151     <url>https://wiki.opendaylight.org/view/NEMO:Main</url>
152     <tag>HEAD</tag>
153   </scm>
154 </project>