Dan Timoney | ea5bf0a | 2017-07-18 20:32:15 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Dan Timoney | adef520 | 2017-10-12 09:04:22 -0400 | [diff] [blame^] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <parent> |
| 6 | <artifactId>asdcApi</artifactId> |
| 7 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 8 | <version>0.1.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 11 | <artifactId>asdcApi-model</artifactId> |
| 12 | <version>0.1.0-SNAPSHOT</version> |
| 13 | <packaging>bundle</packaging> |
Dan Timoney | ea5bf0a | 2017-07-18 20:32:15 -0400 | [diff] [blame] | 14 | |
Dan Timoney | adef520 | 2017-10-12 09:04:22 -0400 | [diff] [blame^] | 15 | <build> |
Dan Timoney | ea5bf0a | 2017-07-18 20:32:15 -0400 | [diff] [blame] | 16 | |
Dan Timoney | adef520 | 2017-10-12 09:04:22 -0400 | [diff] [blame^] | 17 | <plugins> |
| 18 | <plugin> |
| 19 | <groupId>org.apache.felix</groupId> |
| 20 | <artifactId>maven-bundle-plugin</artifactId> |
| 21 | <extensions>true</extensions> |
| 22 | <configuration> |
| 23 | <instructions> |
| 24 | <Import-Package>*</Import-Package> |
| 25 | </instructions> |
| 26 | </configuration> |
| 27 | </plugin> |
| 28 | <plugin> |
| 29 | <groupId>org.opendaylight.yangtools</groupId> |
| 30 | <artifactId>yang-maven-plugin</artifactId> |
| 31 | <version>${odl.yangtools.yang.maven.plugin.version}</version> |
| 32 | <dependencies> |
| 33 | <dependency> |
| 34 | <groupId>org.opendaylight.mdsal</groupId> |
| 35 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 36 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 37 | <type>jar</type> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.opendaylight.netconf</groupId> |
| 41 | <artifactId>sal-rest-docgen-maven</artifactId> |
| 42 | <version>${odl.restconf.version}</version> |
| 43 | <type>jar</type> |
| 44 | </dependency> |
| 45 | </dependencies> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <goals> |
| 49 | <goal>generate-sources</goal> |
| 50 | </goals> |
| 51 | <configuration> |
| 52 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 53 | <codeGenerators> |
| 54 | <generator> |
| 55 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 56 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 57 | </generator> |
| 58 | <generator> |
| 59 | <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass> |
| 60 | <outputBaseDir>target/swagger</outputBaseDir> |
| 61 | </generator> |
| 62 | </codeGenerators> |
| 63 | <inspectDependencies>true</inspectDependencies> |
| 64 | </configuration> |
| 65 | </execution> |
| 66 | </executions> |
| 67 | </plugin> |
| 68 | </plugins> |
| 69 | </build> |
| 70 | <dependencies> |
| 71 | <dependency> |
| 72 | <groupId>org.opendaylight.mdsal</groupId> |
| 73 | <artifactId>yang-binding</artifactId> |
| 74 | <version>${odl.mdsal.yang.binding.version}</version> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>org.opendaylight.yangtools</groupId> |
| 78 | <artifactId>yang-common</artifactId> |
| 79 | <version>${odl.yangtools.version}</version> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 83 | <artifactId>ietf-inet-types</artifactId> |
| 84 | <version>${odl.ietf-inet-types.version}</version> |
| 85 | </dependency> |
| 86 | <dependency> |
| 87 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 88 | <artifactId>ietf-yang-types</artifactId> |
| 89 | <version>${odl.ietf-yang-types.version}</version> |
| 90 | </dependency> |
| 91 | </dependencies> |
Dan Timoney | ea5bf0a | 2017-07-18 20:32:15 -0400 | [diff] [blame] | 92 | </project> |