blob: 7b7ed4beeb82c22c4fd806dde19f20cc55f6040e [file] [log] [blame]
Dan Timoneyea5bf0a2017-07-18 20:32:15 -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>asdcApi</artifactId>
6 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Dan Timoney1027b0c2017-08-15 15:18:54 -04007 <version>0.1.0-SNAPSHOT</version>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -04008 </parent>
9 <artifactId>asdcApi-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.asdcApi_provider.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 Timoney1027b0c2017-08-15 15:18:54 -040045 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040046 <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/asdcApi-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>
94 <groupId>org.onap.ccsdk.sli.northbound</groupId>
95 <artifactId>asdcApi-model</artifactId>
96 <version>${project.version}</version>
97 </dependency>
98 <dependency>
99 <groupId>org.opendaylight.controller</groupId>
100 <artifactId>config-api</artifactId>
101 <version>${odl.controller.config.api.version}</version>
102 </dependency>
103 <dependency>
104 <groupId>org.opendaylight.controller</groupId>
105 <artifactId>sal-binding-config</artifactId>
106 <version>${odl.mdsal.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.opendaylight.controller</groupId>
110 <artifactId>sal-binding-api</artifactId>
111 <version>${odl.mdsal.version}</version>
112 </dependency>
113 <dependency>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>sal-common-util</artifactId>
116 <version>${odl.mdsal.version}</version>
117 </dependency>
118 <dependency>
119 <groupId>org.onap.ccsdk.sli.core</groupId>
120 <artifactId>sli-common</artifactId>
121 <version>${sdnctl.sli.version}</version>
122 </dependency>
123 <dependency>
124 <groupId>org.onap.ccsdk.sli.core</groupId>
125 <artifactId>sli-provider</artifactId>
126 <version>${sdnctl.sli.version}</version>
127 </dependency>
128 </dependencies>
129</project>