Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [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" |
| 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>dataChange</artifactId> |
| 7 | <groupId>org.openecomp.sdnc.northbound</groupId> |
Dan Timoney | 2619e3d | 2017-02-20 14:48:07 -0500 | [diff] [blame^] | 8 | <version>1.0.0-SNAPSHOT</version> |
Dan Timoney | 1b47683 | 2017-02-15 15:09:44 -0500 | [diff] [blame] | 9 | </parent> |
| 10 | <artifactId>dataChange-provider</artifactId> |
| 11 | <packaging>bundle</packaging> |
| 12 | |
| 13 | <build> |
| 14 | <plugins> |
| 15 | <plugin> |
| 16 | <groupId>org.apache.felix</groupId> |
| 17 | <artifactId>maven-bundle-plugin</artifactId> |
| 18 | <extensions>true</extensions> |
| 19 | <configuration> |
| 20 | <instructions> |
| 21 | <Export-Package>org.opendaylight.controller.config.yang.config.DataChange_provider.impl</Export-Package> |
| 22 | <Import-Package>*</Import-Package> |
| 23 | </instructions> |
| 24 | </configuration> |
| 25 | </plugin> |
| 26 | <plugin> |
| 27 | <groupId>org.opendaylight.yangtools</groupId> |
| 28 | <artifactId>yang-maven-plugin</artifactId> |
| 29 | <version>${odl.yangtools.yang.maven.plugin.version}</version> |
| 30 | |
| 31 | <executions> |
| 32 | <execution> |
| 33 | <id>config</id> |
| 34 | <goals> |
| 35 | <goal>generate-sources</goal> |
| 36 | </goals> |
| 37 | <configuration> |
| 38 | <codeGenerators> |
| 39 | <generator> |
| 40 | <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass> |
| 41 | <outputBaseDir>${jmxGeneratorPath}</outputBaseDir> |
| 42 | <additionalConfiguration> |
| 43 | <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1> |
| 44 | </additionalConfiguration> |
| 45 | </generator> |
| 46 | <generator> |
| 47 | <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 48 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 49 | </generator> |
| 50 | </codeGenerators> |
| 51 | <inspectDependencies>true</inspectDependencies> |
| 52 | </configuration> |
| 53 | </execution> |
| 54 | </executions> |
| 55 | <dependencies> |
| 56 | <dependency> |
| 57 | <groupId>org.opendaylight.mdsal</groupId> |
| 58 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 59 | <version>${odl.yangtools.version}</version> |
| 60 | <type>jar</type> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.opendaylight.controller</groupId> |
| 64 | <artifactId>yang-jmx-generator-plugin</artifactId> |
| 65 | <version>${odl.yang.jmx.generator.version}</version> |
| 66 | </dependency> |
| 67 | </dependencies> |
| 68 | </plugin> |
| 69 | <plugin> |
| 70 | <groupId>org.codehaus.mojo</groupId> |
| 71 | <artifactId>build-helper-maven-plugin</artifactId> |
| 72 | <executions> |
| 73 | <execution> |
| 74 | <id>attach-artifacts</id> |
| 75 | <goals> |
| 76 | <goal>attach-artifact</goal> |
| 77 | </goals> |
| 78 | <phase>package</phase> |
| 79 | <configuration> |
| 80 | <artifacts> |
| 81 | <artifact> |
| 82 | <file>${project.build.directory}/classes/initial/${feature-name}-provider.xml</file> |
| 83 | <type>xml</type> |
| 84 | <classifier>config</classifier> |
| 85 | </artifact> |
| 86 | </artifacts> |
| 87 | </configuration> |
| 88 | </execution> |
| 89 | </executions> |
| 90 | </plugin> |
| 91 | </plugins> |
| 92 | </build> |
| 93 | |
| 94 | <dependencies> |
| 95 | <dependency> |
| 96 | <groupId>org.openecomp.sdnc.northbound</groupId> |
| 97 | <artifactId>dataChange-model</artifactId> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.opendaylight.controller</groupId> |
| 101 | <artifactId>config-api</artifactId> |
| 102 | |
| 103 | <version>${odl.controller.config.api.version}</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.opendaylight.controller</groupId> |
| 107 | <artifactId>sal-binding-config</artifactId> |
| 108 | <version>${odl.mdsal.version}</version> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.opendaylight.controller</groupId> |
| 112 | <artifactId>sal-binding-api</artifactId> |
| 113 | <version>${odl.mdsal.version}</version> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.opendaylight.controller</groupId> |
| 117 | <artifactId>sal-common-util</artifactId> |
| 118 | <version>${odl.mdsal.version}</version> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.openecomp.sdnc.core</groupId> |
| 122 | <artifactId>sli-common</artifactId> |
| 123 | <version>${sdnctl.sli.version}</version> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.openecomp.sdnc.core</groupId> |
| 127 | <artifactId>sli-provider</artifactId> |
| 128 | <version>${sdnctl.sli.version}</version> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>junit</groupId> |
| 132 | <artifactId>junit</artifactId> |
| 133 | <version>${junit.version}</version> |
| 134 | <scope>test</scope> |
| 135 | </dependency> |
| 136 | </dependencies> |
| 137 | </project> |