Bug 651 - Added back IDE profile and changed target for yang sources
[controller.git] / opendaylight / config / config-plugin-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
4     <parent>
5         <groupId>org.opendaylight.controller</groupId>
6         <artifactId>config-subsystem</artifactId>
7         <version>0.2.5-SNAPSHOT</version>
8     </parent>
9     <modelVersion>4.0.0</modelVersion>
10     <artifactId>config-plugin-parent</artifactId>
11     <name>${project.artifactId}</name>
12     <packaging>pom</packaging>
13     <prerequisites>
14         <maven>3.0.4</maven>
15     </prerequisites>
16
17     <build>
18         <pluginManagement>
19             <plugins>
20                 <plugin>
21                     <groupId>org.opendaylight.yangtools</groupId>
22                     <artifactId>yang-maven-plugin</artifactId>
23                     <executions>
24                         <execution>
25                             <id>config</id>
26                             <goals>
27                                 <goal>generate-sources</goal>
28                             </goals>
29                             <configuration>
30                                 <codeGenerators>
31                                     <generator>
32                                         <codeGeneratorClass>
33                                             org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
34                                         </codeGeneratorClass>
35                                         <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
36                                         <additionalConfiguration>
37                                             <namespaceToPackage1>
38                                                 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
39                                             </namespaceToPackage1>
40                                         </additionalConfiguration>
41                                     </generator>
42                                 </codeGenerators>
43                                 <inspectDependencies>true</inspectDependencies>
44                             </configuration>
45                         </execution>
46                     </executions>
47                     <dependencies>
48                         <dependency>
49                             <groupId>org.opendaylight.controller</groupId>
50                             <artifactId>yang-jmx-generator-plugin</artifactId>
51                             <version>${config.version}</version>
52                         </dependency>
53                     </dependencies>
54                 </plugin>
55             </plugins>
56         </pluginManagement>
57     </build>
58 </project>