blob: d5f491771064d906e8ecc7dc7a39dd32096f14b0 [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 Timoney2a93b9d2017-07-18 19:40:01 -04007 <version>0.0.1-SNAPSHOT</version>
8 </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>
45 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
46 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
47 </generator>
48 </codeGenerators>
49 <inspectDependencies>true</inspectDependencies>
50 </configuration>
51 </execution>
52 </executions>
53 <dependencies>
54 <dependency>
55 <groupId>org.opendaylight.mdsal</groupId>
56 <artifactId>maven-sal-api-gen-plugin</artifactId>
57 <version>${odl.sal.api.gen.plugin.version}</version>
58 <type>jar</type>
59 </dependency>
60 <dependency>
61 <groupId>org.opendaylight.controller</groupId>
62 <artifactId>yang-jmx-generator-plugin</artifactId>
63 <version>${odl.yang.jmx.generator.version}</version>
64 </dependency>
65 </dependencies>
66 </plugin>
67 <plugin>
68 <groupId>org.codehaus.mojo</groupId>
69 <artifactId>build-helper-maven-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>attach-artifacts</id>
73 <goals>
74 <goal>attach-artifact</goal>
75 </goals>
76 <phase>package</phase>
77 <configuration>
78 <artifacts>
79 <artifact>
80 <file>${project.build.directory}/classes/initial/sliapi-provider.xml</file>
81 <type>xml</type>
82 <classifier>config</classifier>
83 </artifact>
84 </artifacts>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 </plugins>
90 </build>
91
92 <dependencies>
93 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040094 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040095 <artifactId>sliapi-model</artifactId>
96 </dependency>
97 <dependency>
98 <groupId>org.opendaylight.controller</groupId>
99 <artifactId>config-api</artifactId>
100 <version>${odl.controller.config.api.version}</version>
101 </dependency>
102
103
104 <dependency>
105 <groupId>org.opendaylight.controller</groupId>
106 <artifactId>sal-binding-config</artifactId>
107 <version>${odl.mdsal.version}</version>
108 </dependency>
109
110 <dependency>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>sal-binding-api</artifactId>
113 <version>${odl.mdsal.version}</version>
114 </dependency>
115
116 <dependency>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>sal-common-util</artifactId>
119 <version>${odl.mdsal.version}</version>
120 </dependency>
121
122
123 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -0400124 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400125 <artifactId>sli-common</artifactId>
126 <version>${project.version}</version>
127 </dependency>
128 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -0400129 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400130 <artifactId>sli-provider</artifactId>
131 <version>${project.version}</version>
132 </dependency>
133 <dependency>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>sal-core-api</artifactId>
136 <version>${odl.mdsal.version}</version>
137 </dependency>
138 <dependency>
139 <groupId>org.opendaylight.yangtools</groupId>
140 <artifactId>yang-data-impl</artifactId>
141 <version>${odl.yangtools.version}</version>
142 </dependency>
143 </dependencies>
144</project>