blob: 7e0bd26428e59c48667f20ba7c86e3e4115752d3 [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -04001<?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 <parent>
5 <artifactId>sliapi</artifactId>
Dan Timoneyc95543b2017-07-21 10:45:06 -04006 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoneyc4b09e52017-09-11 11:19:51 -04007 <version>0.1.2-SNAPSHOT</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -04008 </parent>
9 <artifactId>sliapi-provider</artifactId>
10 <packaging>bundle</packaging>
11
12 <build>
13 <plugins>
14 <plugin>
15 <groupId>org.apache.felix</groupId>
16 <artifactId>maven-bundle-plugin</artifactId>
17 <extensions>true</extensions>
18 <configuration>
19 <instructions>
20 <Export-Package>org.opendaylight.controller.config.yang.config.sliapi.impl</Export-Package>
21 <Import-Package>*</Import-Package>
22 </instructions>
23 </configuration>
24 </plugin>
25 <plugin>
26 <groupId>org.opendaylight.yangtools</groupId>
27 <artifactId>yang-maven-plugin</artifactId>
28 <version>${odl.yangtools.yang.maven.plugin.version}</version>
29 <executions>
30 <execution>
31 <id>config</id>
32 <goals>
33 <goal>generate-sources</goal>
34 </goals>
35 <configuration>
36 <codeGenerators>
37 <generator>
38 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
39 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
40 <additionalConfiguration>
41 <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
42 </additionalConfiguration>
43 </generator>
44 <generator>
Dan Timoneyf84d3ea2017-08-11 20:12:41 -040045 <!--
Dan Timoney2a93b9d2017-07-18 19:40:01 -040046 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Dan Timoneyf84d3ea2017-08-11 20:12:41 -040047 -->
48 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040049 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
50 </generator>
51 </codeGenerators>
52 <inspectDependencies>true</inspectDependencies>
53 </configuration>
54 </execution>
55 </executions>
56 <dependencies>
57 <dependency>
58 <groupId>org.opendaylight.mdsal</groupId>
59 <artifactId>maven-sal-api-gen-plugin</artifactId>
60 <version>${odl.sal.api.gen.plugin.version}</version>
61 <type>jar</type>
62 </dependency>
63 <dependency>
64 <groupId>org.opendaylight.controller</groupId>
65 <artifactId>yang-jmx-generator-plugin</artifactId>
66 <version>${odl.yang.jmx.generator.version}</version>
67 </dependency>
68 </dependencies>
69 </plugin>
70 <plugin>
71 <groupId>org.codehaus.mojo</groupId>
72 <artifactId>build-helper-maven-plugin</artifactId>
73 <executions>
74 <execution>
75 <id>attach-artifacts</id>
76 <goals>
77 <goal>attach-artifact</goal>
78 </goals>
79 <phase>package</phase>
80 <configuration>
81 <artifacts>
82 <artifact>
83 <file>${project.build.directory}/classes/initial/sliapi-provider.xml</file>
84 <type>xml</type>
85 <classifier>config</classifier>
86 </artifact>
87 </artifacts>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 </plugins>
93 </build>
94
95 <dependencies>
96 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040097 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040098 <artifactId>sliapi-model</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>org.opendaylight.controller</groupId>
102 <artifactId>config-api</artifactId>
103 <version>${odl.controller.config.api.version}</version>
104 </dependency>
105
106
107 <dependency>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>sal-binding-config</artifactId>
110 <version>${odl.mdsal.version}</version>
111 </dependency>
112
113 <dependency>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>sal-binding-api</artifactId>
116 <version>${odl.mdsal.version}</version>
117 </dependency>
118
119 <dependency>
120 <groupId>org.opendaylight.controller</groupId>
121 <artifactId>sal-common-util</artifactId>
122 <version>${odl.mdsal.version}</version>
123 </dependency>
124
125
126 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -0400127 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400128 <artifactId>sli-common</artifactId>
129 <version>${project.version}</version>
130 </dependency>
131 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -0400132 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400133 <artifactId>sli-provider</artifactId>
134 <version>${project.version}</version>
135 </dependency>
136 <dependency>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>sal-core-api</artifactId>
139 <version>${odl.mdsal.version}</version>
140 </dependency>
141 <dependency>
142 <groupId>org.opendaylight.yangtools</groupId>
143 <artifactId>yang-data-impl</artifactId>
144 <version>${odl.yangtools.version}</version>
145 </dependency>
146 </dependencies>
147</project>