1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>${groupId}</groupId>
6 <artifactId>${artifactId}</artifactId>
7 <version>${version}</version>
8 <packaging>bundle</packaging>
11 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
12 <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
13 <config.version>${config-api-version}</config.version>
14 <yangtools.version>${yang-maven-plugin-version}</yangtools.version>
15 <maven.bundle.version>${maven-bundle-plugin-version}</maven.bundle.version>
16 <java.version.source>1.7</java.version.source>
17 <java.version.target>1.7</java.version.target>
18 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
23 <groupId>org.opendaylight.controller</groupId>
24 <artifactId>config-api</artifactId>
25 <version>${config.version}</version>
32 <groupId>org.opendaylight.yangtools</groupId>
33 <artifactId>yang-maven-plugin</artifactId>
34 <version>${yangtools.version}</version>
39 <goal>generate-sources</goal>
45 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
47 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
48 <additionalConfiguration>
50 ${yang-namespace-mapping-from}==${yang-namespace-mapping-to}
51 </namespaceToPackage1>
52 </additionalConfiguration>
56 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
63 <inspectDependencies>true</inspectDependencies>
69 <groupId>org.opendaylight.controller</groupId>
70 <artifactId>yang-jmx-generator-plugin</artifactId>
71 <version>${config.version}</version>
74 <groupId>org.opendaylight.yangtools</groupId>
75 <artifactId>maven-sal-api-gen-plugin</artifactId>
76 <version>${yangtools.version}</version>
82 <groupId>org.codehaus.mojo</groupId>
83 <artifactId>build-helper-maven-plugin</artifactId>
84 <version>1.8</version>
88 <phase>generate-sources</phase>
90 <goal>add-source</goal>
94 <source>${jmxGeneratorPath}</source>
102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-bundle-plugin</artifactId>
104 <version>${maven.bundle.version}</version>
105 <extensions>true</extensions>
108 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-compiler-plugin</artifactId>
116 <version>${maven.compile.plugin.version}</version>
118 <source>${java.version.source}</source>
119 <target>${java.version.target}</target>
120 <testSource>${java.version.source}</testSource>
121 <testTarget>${java.version.target}</testTarget>