Merge "Fixed for bug 1197"
[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.1-SNAPSHOT</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11
12     <dependencies>
13         <dependency>
14             <groupId>org.opendaylight.yangtools</groupId>
15             <artifactId>yang-binding</artifactId>
16         </dependency>
17         <dependency>
18             <groupId>org.opendaylight.yangtools.model</groupId>
19             <artifactId>yang-ext</artifactId>
20         </dependency>
21     </dependencies>
22
23     <artifactId>sal-test-model</artifactId>
24     <build>
25         <plugins>
26             <plugin>
27                 <groupId>org.jacoco</groupId>
28                 <artifactId>jacoco-maven-plugin</artifactId>
29                 <configuration>
30                     <includes>
31                         <include>org.opendaylight.controller.*</include>
32                     </includes>
33                 </configuration>
34                 <executions>
35                     <execution>
36                         <id>pre-test</id>
37                         <goals>
38                             <goal>prepare-agent</goal>
39                         </goals>
40                     </execution>
41                     <execution>
42                         <id>post-test</id>
43                         <goals>
44                             <goal>report</goal>
45                         </goals>
46                         <phase>test</phase>
47                     </execution>
48                 </executions>
49             </plugin>
50             <plugin>
51                 <groupId>org.opendaylight.yangtools</groupId>
52                 <artifactId>yang-maven-plugin</artifactId>
53                 <executions>
54                     <execution>
55                         <goals>
56                             <goal>generate-sources</goal>
57                         </goals>
58                         <configuration>
59                             <codeGenerators>
60                                 <generator>
61                                     <codeGeneratorClass>
62                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
63                                     </codeGeneratorClass>
64                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
65                                 </generator>
66                             </codeGenerators>
67                             <inspectDependencies>true</inspectDependencies>
68                         </configuration>
69                     </execution>
70                 </executions>
71             </plugin>
72         </plugins>
73     </build>
74     <scm>
75         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
76         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
77         <tag>HEAD</tag>
78         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
79     </scm>
80
81 </project>