Merge "Modify endpoint registry to not require layer 2 fields Add forwarding model...
[groupbasedpolicy.git] / groupbasedpolicy / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.groupbasedpolicy</groupId>
6     <artifactId>groupbasedpolicy.project</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../</relativePath>
9   </parent>
10
11   <artifactId>groupbasedpolicy</artifactId>
12   <packaging>bundle</packaging>
13
14   <properties>
15     <sal.version>1.1-SNAPSHOT</sal.version>
16     <yangtools.binding.version>0.6.2-SNAPSHOT</yangtools.binding.version>
17     <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
18     <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
19   </properties>
20
21   <dependencies>
22     <dependency>
23       <groupId>ch.qos.logback</groupId>
24       <artifactId>logback-classic</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>ch.qos.logback</groupId>
28       <artifactId>logback-core</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>com.fasterxml.jackson.core</groupId>
32       <artifactId>jackson-core</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>com.fasterxml.jackson.core</groupId>
36       <artifactId>jackson-databind</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>com.google.guava</groupId>
40       <artifactId>guava</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>io.netty</groupId>
44       <artifactId>netty-all</artifactId>
45       <version>4.0.10.Final</version>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>config-api</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>sal-binding-api</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-binding-config</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>sal-common-util</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.controller.model</groupId>
65       <artifactId>model-inventory</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.yangtools</groupId>
69       <artifactId>yang-binding</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.yangtools</groupId>
73       <artifactId>yang-common</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.osgi</groupId>
77       <artifactId>org.osgi.core</artifactId>
78     </dependency>
79
80     <dependency>
81       <groupId>com.fasterxml.jackson.core</groupId>
82       <artifactId>jackson-annotations</artifactId>
83       <scope>test</scope>
84     </dependency>
85
86     <dependency>
87       <groupId>junit</groupId>
88       <artifactId>junit</artifactId>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.mockito</groupId>
93       <artifactId>mockito-all</artifactId>
94       <scope>test</scope>
95     </dependency>
96   </dependencies>
97
98   <!-- project build -->
99   <build>
100     <plugins>
101       <plugin>
102         <groupId>org.apache.felix</groupId>
103         <artifactId>maven-bundle-plugin</artifactId>
104         <extensions>true</extensions>
105         <configuration>
106           <instructions>
107             <Import-Package>*</Import-Package>
108             <Export-Package>org.opendaylight.controller.config.yang.config.endpoint_provider</Export-Package>
109           </instructions>
110           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
111         </configuration>
112       </plugin>
113       <plugin>
114         <groupId>org.apache.maven.plugins</groupId>
115         <artifactId>maven-surefire-plugin</artifactId>
116         <configuration>
117           <redirectTestOutputToFile>true</redirectTestOutputToFile>
118           <!-- needed for cobertura -->
119           <argLine>-XX:-UseSplitVerifier</argLine>
120         </configuration>
121       </plugin>
122       <plugin>
123         <groupId>org.codehaus.mojo</groupId>
124         <artifactId>build-helper-maven-plugin</artifactId>
125         <executions>
126           <execution>
127             <goals>
128               <goal>add-source</goal>
129             </goals>
130             <phase>generate-sources</phase>
131             <configuration>
132               <sources>
133                 <source>target/generated-sources/sal</source>
134                 <source>target/generated-sources/config</source>
135                 <source>target/generated-resources/</source>
136               </sources>
137             </configuration>
138           </execution>
139         </executions>
140       </plugin>
141       <!-- Code coverage analysis -->
142       <plugin>
143         <groupId>org.codehaus.mojo</groupId>
144         <artifactId>cobertura-maven-plugin</artifactId>
145         <version>2.6</version>
146         <configuration>
147           <instrumentation>
148             <excludes>
149               <exclude>org/opendaylight/yang/**/*.class</exclude>
150               <exclude>org/opendaylight/controller/config/yang/**/*.class</exclude>
151             </excludes>
152           </instrumentation>
153         </configuration>
154       </plugin>
155       <plugin>
156         <groupId>org.opendaylight.yangtools</groupId>
157         <artifactId>yang-maven-plugin</artifactId>
158         <dependencies>
159           <dependency>
160             <groupId>org.opendaylight.controller</groupId>
161             <artifactId>yang-jmx-generator-plugin</artifactId>
162             <version>0.2.5-SNAPSHOT</version>
163           </dependency>
164           <dependency>
165             <groupId>org.opendaylight.yangtools</groupId>
166             <artifactId>maven-sal-api-gen-plugin</artifactId>
167             <version>${yangtools.version}</version>
168             <type>jar</type>
169           </dependency>
170         </dependencies>
171         <executions>
172           <execution>
173             <goals>
174               <goal>generate-sources</goal>
175             </goals>
176             <configuration>
177               <codeGenerators>
178                 <generator>
179                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
180                   <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
181                   <additionalConfiguration>
182                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
183                   </additionalConfiguration>
184                 </generator>
185                 <generator>
186                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
187                   <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
188                 </generator>
189                 <generator>
190                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
191                   <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
192                 </generator>
193               </codeGenerators>
194               <inspectDependencies>true</inspectDependencies>
195             </configuration>
196           </execution>
197         </executions>
198       </plugin>
199     </plugins>
200   </build>
201
202   <!-- Project reporting -->
203   <reporting>
204     <plugins>
205       <!-- Code coverage analysis -->
206       <plugin>
207         <groupId>org.codehaus.mojo</groupId>
208         <artifactId>cobertura-maven-plugin</artifactId>
209         <version>2.6</version>
210       </plugin>
211     </plugins>
212   </reporting>
213 </project>