Dan Timoney | c3342a0 | 2017-09-05 20:33:51 -0400 | [diff] [blame] | 1 | <?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 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.sdnc.northbound</groupId> |
| 7 | <artifactId>generic-resource-api</artifactId> |
| 8 | <version>1.2.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <artifactId>generic-resource-api.provider</artifactId> |
| 12 | <packaging>bundle</packaging> |
| 13 | |
| 14 | <dependencies> |
| 15 | <dependency> |
| 16 | <groupId>org.onap.sdnc.northbound</groupId> |
| 17 | <artifactId>generic-resource-api.model</artifactId> |
| 18 | </dependency> |
| 19 | <dependency> |
| 20 | <groupId>org.opendaylight.controller</groupId> |
| 21 | <artifactId>config-api</artifactId> |
| 22 | <version>${odl.controller.config.api.version}</version> |
| 23 | </dependency> |
| 24 | <dependency> |
| 25 | <groupId>org.opendaylight.controller</groupId> |
| 26 | <artifactId>sal-binding-config</artifactId> |
| 27 | <version>${odl.mdsal.version}</version> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>org.opendaylight.controller</groupId> |
| 31 | <artifactId>sal-binding-api</artifactId> |
| 32 | <version>${odl.mdsal.version}</version> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.opendaylight.controller</groupId> |
| 36 | <artifactId>sal-common-util</artifactId> |
| 37 | <version>${odl.mdsal.version}</version> |
| 38 | </dependency> |
| 39 | |
Dan Timoney | c3342a0 | 2017-09-05 20:33:51 -0400 | [diff] [blame] | 40 | <dependency> |
| 41 | <groupId>org.opendaylight.controller</groupId> |
| 42 | <artifactId>sal-test-model</artifactId> |
| 43 | <version>${odl.mdsal.version}</version> |
| 44 | <scope>test</scope> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.opendaylight.netconf</groupId> |
| 48 | <artifactId>sal-rest-connector</artifactId> |
| 49 | <version>${odl.mdsal.version}</version> |
| 50 | <scope>test</scope> |
| 51 | </dependency> |
| 52 | |
| 53 | <dependency> |
| 54 | <groupId>org.opendaylight.controller</groupId> |
| 55 | <artifactId>sal-binding-broker-impl</artifactId> |
| 56 | <version>${odl.mdsal.version}</version> |
| 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.opendaylight.controller</groupId> |
| 61 | <artifactId>sal-binding-broker-impl</artifactId> |
ramu.n | 9fc3345 | 2017-09-25 18:16:12 +0530 | [diff] [blame^] | 62 | <version>${odl.mdsal.version}</version> |
Dan Timoney | c3342a0 | 2017-09-05 20:33:51 -0400 | [diff] [blame] | 63 | <type>test-jar</type> |
| 64 | <classifier>tests</classifier> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
ramu.n | 9fc3345 | 2017-09-25 18:16:12 +0530 | [diff] [blame^] | 67 | |
Dan Timoney | c3342a0 | 2017-09-05 20:33:51 -0400 | [diff] [blame] | 68 | <dependency> |
| 69 | <groupId>org.apache.commons</groupId> |
| 70 | <artifactId>commons-lang3</artifactId> |
| 71 | </dependency> |
| 72 | |
| 73 | <dependency> |
| 74 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 75 | <artifactId>sli-common</artifactId> |
| 76 | <version>${sdnctl.sli.version}</version> |
| 77 | </dependency> |
ramu.n | 9fc3345 | 2017-09-25 18:16:12 +0530 | [diff] [blame^] | 78 | <dependency> |
| 79 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 80 | <artifactId>sli-provider</artifactId> |
| 81 | <version>${sdnctl.sli.version}</version> |
| 82 | </dependency> |
| 83 | |
Gaurav Agrawal | a6c41a3 | 2017-09-21 18:42:52 +0530 | [diff] [blame] | 84 | <dependency> |
| 85 | <groupId>junit</groupId> |
| 86 | <artifactId>junit</artifactId> |
| 87 | <version>${junit.version}</version> |
| 88 | <scope>test</scope> |
| 89 | </dependency> |
ramu.n | 9fc3345 | 2017-09-25 18:16:12 +0530 | [diff] [blame^] | 90 | <dependency> |
| 91 | <groupId>org.mockito</groupId> |
| 92 | <artifactId>mockito-core</artifactId> |
| 93 | <version>${mockito.version}</version> |
| 94 | <scope>test</scope> |
| 95 | </dependency> |
Dan Timoney | c3342a0 | 2017-09-05 20:33:51 -0400 | [diff] [blame] | 96 | </dependencies> |
| 97 | |
| 98 | <build> |
| 99 | <plugins> |
| 100 | <!-- |
| 101 | <plugin> |
| 102 | <groupId>com.brocade.tools</groupId> |
| 103 | <artifactId>providermodule-plugin</artifactId> |
| 104 | <version>1.0.0-SNAPSHOT</version> |
| 105 | <configuration> |
| 106 | <packageId>org.onap.sdnc.northbound</packageId> |
| 107 | <appName>generic-resource-api</appName> |
| 108 | </configuration> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <phase>process-sources</phase> |
| 112 | <goals> |
| 113 | <goal>process</goal> |
| 114 | </goals> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | --> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.felix</groupId> |
| 121 | <artifactId>maven-bundle-plugin</artifactId> |
| 122 | <extensions>true</extensions> |
| 123 | <configuration> |
| 124 | <instructions> |
| 125 | <Export-Package>org.opendaylight.controller.config.yang.config.generic-resource-api_provider.impl</Export-Package> |
| 126 | <Import-Package>*</Import-Package> |
| 127 | </instructions> |
| 128 | </configuration> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <groupId>org.opendaylight.yangtools</groupId> |
| 132 | <artifactId>yang-maven-plugin</artifactId> |
| 133 | <executions> |
| 134 | <execution> |
| 135 | <id>config</id> |
| 136 | <goals> |
| 137 | <goal>generate-sources</goal> |
| 138 | </goals> |
| 139 | <configuration> |
| 140 | <codeGenerators> |
| 141 | <generator> |
| 142 | <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass> |
| 143 | <outputBaseDir>${jmxGeneratorPath}</outputBaseDir> |
| 144 | <additionalConfiguration> |
| 145 | <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1> |
| 146 | </additionalConfiguration> |
| 147 | </generator> |
| 148 | <generator> |
| 149 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 150 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 151 | </generator> |
| 152 | </codeGenerators> |
| 153 | <inspectDependencies>true</inspectDependencies> |
| 154 | </configuration> |
| 155 | </execution> |
| 156 | </executions> |
| 157 | <dependencies> |
| 158 | <dependency> |
| 159 | <groupId>org.opendaylight.mdsal</groupId> |
| 160 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 161 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 162 | <type>jar</type> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>org.opendaylight.controller</groupId> |
| 166 | <artifactId>yang-jmx-generator-plugin</artifactId> |
| 167 | <version>${odl.yang.jmx.generator.version}</version> |
| 168 | </dependency> |
| 169 | </dependencies> |
| 170 | </plugin> |
| 171 | <plugin> |
| 172 | <groupId>org.codehaus.mojo</groupId> |
| 173 | <artifactId>build-helper-maven-plugin</artifactId> |
| 174 | <executions> |
| 175 | <execution> |
| 176 | <id>attach-artifacts</id> |
| 177 | <goals> |
| 178 | <goal>attach-artifact</goal> |
| 179 | </goals> |
| 180 | <phase>package</phase> |
| 181 | <configuration> |
| 182 | <artifacts> |
| 183 | <artifact> |
| 184 | <file>${project.build.directory}/classes/initial/generic-resource-api-provider.xml</file> |
| 185 | <type>xml</type> |
| 186 | <classifier>config</classifier> |
| 187 | </artifact> |
| 188 | </artifacts> |
| 189 | </configuration> |
| 190 | </execution> |
| 191 | </executions> |
| 192 | </plugin> |
| 193 | </plugins> |
| 194 | </build> |
| 195 | </project> |