Bug 4202: Migration to use mdsal project
[controller.git] / opendaylight / md-sal / sal-test-model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <parent>
6         <artifactId>sal-parent</artifactId>
7         <groupId>org.opendaylight.controller</groupId>
8         <version>1.3.0-SNAPSHOT</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11
12     <artifactId>sal-test-model</artifactId>
13     <packaging>bundle</packaging>
14
15     <dependencies>
16         <dependency>
17             <groupId>org.opendaylight.mdsal</groupId>
18             <artifactId>yang-binding</artifactId>
19         </dependency>
20         <dependency>
21             <groupId>org.opendaylight.mdsal.model</groupId>
22             <artifactId>yang-ext</artifactId>
23         </dependency>
24     </dependencies>
25
26     <build>
27         <plugins>
28             <plugin>
29                 <groupId>org.jacoco</groupId>
30                 <artifactId>jacoco-maven-plugin</artifactId>
31                 <configuration>
32                     <includes>
33                         <include>org.opendaylight.controller.*</include>
34                     </includes>
35                 </configuration>
36                 <executions>
37                     <execution>
38                         <id>pre-test</id>
39                         <goals>
40                             <goal>prepare-agent</goal>
41                         </goals>
42                     </execution>
43                     <execution>
44                         <id>post-test</id>
45                         <goals>
46                             <goal>report</goal>
47                         </goals>
48                         <phase>test</phase>
49                     </execution>
50                 </executions>
51             </plugin>
52             <plugin>
53                 <groupId>org.opendaylight.yangtools</groupId>
54                 <artifactId>yang-maven-plugin</artifactId>
55                 <executions>
56                     <execution>
57                         <goals>
58                             <goal>generate-sources</goal>
59                         </goals>
60                         <configuration>
61                             <codeGenerators>
62                                 <generator>
63                                     <codeGeneratorClass>
64                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
65                                     </codeGeneratorClass>
66                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
67                                 </generator>
68                             </codeGenerators>
69                             <inspectDependencies>true</inspectDependencies>
70                         </configuration>
71                     </execution>
72                 </executions>
73             </plugin>
74         </plugins>
75     </build>
76     <scm>
77         <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
78         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
79         <tag>HEAD</tag>
80         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
81     </scm>
82
83 </project>