Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -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>appc-artifact-handler</artifactId> |
| 7 | <groupId>org.openecomp.appc</groupId> |
| 8 | <version>1.1.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | <artifactId>appc-artifact-handler-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 | <Bundle-SymbolicName>org.openecomp.appc.artifact.handler</Bundle-SymbolicName> |
| 22 | <Bundle-Activator>org.openecomp.appc.artifact.handler.AsdcArtifactHandlerActivator</Bundle-Activator> |
| 23 | <Export-Package>org.openecomp.appc.artifact.handler,org.opendaylight.controller.config.yang.config.artifact-handler_provider.impl</Export-Package> |
| 24 | <Import-Package>*</Import-Package> |
| 25 | <DynamicImport-Package>*</DynamicImport-Package> |
| 26 | </instructions> |
| 27 | <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation> |
| 28 | </configuration> |
| 29 | </plugin> |
| 30 | <plugin> |
| 31 | <groupId>org.opendaylight.yangtools</groupId> |
| 32 | <artifactId>yang-maven-plugin</artifactId> |
| 33 | <executions> |
| 34 | <execution> |
| 35 | <id>config</id> |
| 36 | <goals> |
| 37 | <goal>generate-sources</goal> |
| 38 | </goals> |
| 39 | <configuration> |
| 40 | <codeGenerators> |
| 41 | <generator> |
| 42 | <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass> |
| 43 | <outputBaseDir>${jmxGeneratorPath}</outputBaseDir> |
| 44 | <additionalConfiguration> |
| 45 | <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1> |
| 46 | </additionalConfiguration> |
| 47 | </generator> |
| 48 | <generator> |
| 49 | <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 50 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 51 | </generator> |
| 52 | </codeGenerators> |
| 53 | <inspectDependencies>true</inspectDependencies> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | <dependencies> |
| 58 | <dependency> |
| 59 | <groupId>org.opendaylight.mdsal</groupId> |
| 60 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 61 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 62 | <type>jar</type> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.opendaylight.controller</groupId> |
| 66 | <artifactId>yang-jmx-generator-plugin</artifactId> |
| 67 | <version>${odl.yang.jmx.generator.version}</version> |
| 68 | </dependency> |
| 69 | </dependencies> |
| 70 | </plugin> |
| 71 | <plugin> |
| 72 | <groupId>org.codehaus.mojo</groupId> |
| 73 | <artifactId>build-helper-maven-plugin</artifactId> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>attach-artifacts</id> |
| 77 | <goals> |
| 78 | <goal>attach-artifact</goal> |
| 79 | </goals> |
| 80 | <phase>package</phase> |
| 81 | <configuration> |
| 82 | <artifacts> |
| 83 | <artifact> |
| 84 | <file>${project.build.directory}/classes/initial/artifact-handler-provider.xml</file> |
| 85 | <type>xml</type> |
| 86 | <classifier>config</classifier> |
| 87 | </artifact> |
| 88 | </artifacts> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
| 93 | </plugins> |
| 94 | </build> |
| 95 | |
| 96 | <dependencies> |
| 97 | <dependency> |
| 98 | <groupId>org.openecomp.appc</groupId> |
| 99 | <artifactId>appc-artifact-handler-model</artifactId> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.opendaylight.controller</groupId> |
| 103 | <artifactId>config-api</artifactId> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.openecomp.appc</groupId> |
| 107 | <artifactId>appc-yang-generator</artifactId> |
| 108 | <version>${project.version}</version> |
| 109 | </dependency> |
| 110 | |
| 111 | <dependency> |
| 112 | <groupId>org.opendaylight.controller</groupId> |
| 113 | <artifactId>sal-binding-config</artifactId> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.opendaylight.controller</groupId> |
| 117 | <artifactId>sal-binding-api</artifactId> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.opendaylight.controller</groupId> |
| 121 | <artifactId>sal-common-util</artifactId> |
| 122 | </dependency> |
| 123 | |
| 124 | <dependency> |
| 125 | <groupId>org.openecomp.sdnc.core</groupId> |
| 126 | <artifactId>sli-common</artifactId> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.openecomp.sdnc.core</groupId> |
| 130 | <artifactId>sli-provider</artifactId> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>org.openecomp.appc</groupId> |
| 134 | <artifactId>appc-config-params-provider</artifactId> |
| 135 | <version>${project.version}</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <artifactId>sal-test-model</artifactId> |
| 139 | <groupId>org.opendaylight.controller</groupId> |
| 140 | <scope>test</scope> |
| 141 | </dependency> |
| 142 | <dependency> |
| 143 | <artifactId>sal-rest-connector</artifactId> |
| 144 | <groupId>org.opendaylight.netconf</groupId> |
| 145 | <scope>test</scope> |
| 146 | </dependency> |
| 147 | <dependency> |
| 148 | <groupId>org.opendaylight.controller</groupId> |
| 149 | <artifactId>sal-binding-broker-impl</artifactId> |
| 150 | <scope>test</scope> |
| 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>org.opendaylight.controller</groupId> |
| 154 | <artifactId>sal-binding-broker-impl</artifactId> |
| 155 | <version>${odl.mdsal.version}</version> |
| 156 | <classifier>tests</classifier> |
| 157 | <type>test-jar</type> |
| 158 | <scope>test</scope> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>com.att.eelf</groupId> |
| 162 | <artifactId>eelf-core</artifactId> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>junit</groupId> |
| 166 | <artifactId>junit</artifactId> |
| 167 | <scope>test</scope> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.apache.commons</groupId> |
| 171 | <artifactId>commons-lang3</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.json</groupId> |
| 175 | <artifactId>json</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>org.openecomp.sdnc.adaptors</groupId> |
| 179 | <artifactId>sql-resource-provider</artifactId> |
| 180 | <version>${openecomp.sdnc.sql-resource.version}</version> |
| 181 | <scope>compile</scope> |
| 182 | </dependency> |
| 183 | </dependencies> |
| 184 | </project> |