d2e886e1dcf6114185958808beb878fc94f6316e
[openflowplugin.git] / applications / 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
5   <parent>
6     <groupId>org.opendaylight.openflowplugin</groupId>
7     <artifactId>openflowplugin-parent</artifactId>
8     <version>0.0.3-SNAPSHOT</version>
9   </parent>
10
11   <groupId>org.opendaylight.openflowplugin</groupId>
12   <artifactId>applications</artifactId>
13   <version>0.0.3-SNAPSHOT</version>
14   <name>applications</name>
15   <url>http://maven.apache.org</url>
16   <packaging>pom</packaging>
17
18     <dependencyManagement>
19         <dependencies>
20             <dependency>
21                 <groupId>org.opendaylight.openflowplugin</groupId>
22                 <artifactId>openflowplugin-api</artifactId>
23                 <version>${project.version}</version>
24             </dependency>
25         </dependencies>
26     </dependencyManagement>
27     <build>
28         <pluginManagement>
29             <plugins>
30                 <plugin>
31                     <groupId>org.opendaylight.yangtools</groupId>
32                     <artifactId>yang-maven-plugin</artifactId>
33                     <version>${yang.binding.version}</version>
34                     <executions>
35                         <execution>
36                             <goals>
37                                 <goal>generate-sources</goal>
38                             </goals>
39                             <configuration>
40                                 <codeGenerators>
41                                     <generator>
42                                         <codeGeneratorClass>
43                                             org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
44                                         </codeGeneratorClass>
45                                         <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
46                                         <additionalConfiguration>
47                                             <namespaceToPackage1>
48                                                 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
49                                             </namespaceToPackage1>
50                                         </additionalConfiguration>
51                                     </generator>
52                                     <generator>
53                                         <codeGeneratorClass>
54                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
55                                         </codeGeneratorClass>
56                                         <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
57                                     </generator>
58                                 </codeGenerators>
59                                 <inspectDependencies>true</inspectDependencies>
60                             </configuration>
61                         </execution>
62                     </executions>
63                     <dependencies>
64                         <dependency>
65                             <groupId>org.opendaylight.controller</groupId>
66                             <artifactId>yang-jmx-generator-plugin</artifactId>
67                             <version>${config.parent.version}</version>
68                         </dependency>
69                         <dependency>
70                             <groupId>org.opendaylight.yangtools</groupId>
71                             <artifactId>maven-sal-api-gen-plugin</artifactId>
72                             <version>${yang.binding.version}</version>
73                             <type>jar</type>
74                         </dependency>
75                     </dependencies>
76
77                 </plugin>
78                 <plugin>
79                     <groupId>org.codehaus.mojo</groupId>
80                     <artifactId>build-helper-maven-plugin</artifactId>
81                     <version>1.8</version>
82                     <executions>
83                         <execution>
84                             <id>add-source</id>
85                             <phase>generate-sources</phase>
86                             <goals>
87                                 <goal>add-source</goal>
88                             </goals>
89                             <configuration>
90                                 <sources>
91                                     <source>${project.build.directory}/generated-sources/config</source>;
92                                 </sources>
93                             </configuration>
94                         </execution>
95                     </executions>
96                 </plugin>
97             </plugins>
98         </pluginManagement>
99     </build>
100
101     <modules>
102         <module>table-miss-enforcer</module>
103     </modules>
104
105 </project>