1 <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">
2 <modelVersion>4.0.0</modelVersion>
4 <artifactId>sal-samples</artifactId>
5 <groupId>org.opendaylight.controller.samples</groupId>
6 <version>1.1-SNAPSHOT</version>
8 <artifactId>sample-toaster-consumer</artifactId>
9 <packaging>bundle</packaging>
11 <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13 <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
18 <sal-binding-api.version>1.1-SNAPSHOT</sal-binding-api.version>
19 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
26 <groupId>org.apache.felix</groupId>
27 <artifactId>maven-bundle-plugin</artifactId>
31 org.opendaylight.controller.sample.toaster.provider.api,
32 org.opendaylight.controller.config.yang.toaster-consumer,
34 <Import-Package>*</Import-Package>
39 <groupId>org.opendaylight.yangtools</groupId>
40 <artifactId>yang-maven-plugin</artifactId>
45 <goal>generate-sources</goal>
51 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
53 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
54 <additionalConfiguration>
56 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
57 </namespaceToPackage1>
58 </additionalConfiguration>
61 <inspectDependencies>true</inspectDependencies>
67 <groupId>org.opendaylight.controller</groupId>
68 <artifactId>yang-jmx-generator-plugin</artifactId>
69 <version>${config.version}</version>
75 <groupId>org.codehaus.mojo</groupId>
76 <artifactId>build-helper-maven-plugin</artifactId>
77 <version>1.8</version>
81 <phase>generate-sources</phase>
83 <goal>add-source</goal>
87 <source>${jmxGeneratorPath}</source>
98 <groupId>${project.groupId}</groupId>
99 <artifactId>sample-toaster</artifactId>
100 <version>${project.version}</version>
103 <groupId>org.opendaylight.controller</groupId>
104 <artifactId>sal-binding-api</artifactId>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>config-api</artifactId>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>sal-binding-config</artifactId>