Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [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-provider</artifactId> |
| 7 | <groupId>org.openecomp.appc</groupId> |
Patrick Brady | 8843969 | 2017-02-24 00:04:10 -0800 | [diff] [blame] | 8 | <version>1.0.0-SNAPSHOT</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 9 | </parent> |
| 10 | <artifactId>appc-provider-bundle</artifactId> |
| 11 | <packaging>bundle</packaging> |
| 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.sample_provider.impl</Export-Package> |
| 21 | <Export-Package>org.openecomp.appc.provider</Export-Package> |
Patrick Brady | 4b56f71 | 2017-02-27 15:31:21 -0800 | [diff] [blame^] | 22 | <Import-Package>!groovy.lang,!javax.jms,!org.codehaus.commons.compiler,!org.codehaus.groovy.*,!org.codehaus.janino,!com.ibm.icu.*,!com.sun.faces.*,!org.apache.log,*;resolution:=optional</Import-Package> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 23 | <Embed-Dependency>appc-common,eelf-core,logback-core,logback-classic;scope=compile|runtime;inline=false,domain-model-lib,appc-command-executor-api,appc-request-handler-api</Embed-Dependency> |
| 24 | <Embed-Transitive>true</Embed-Transitive> |
| 25 | </instructions> |
| 26 | </configuration> |
| 27 | </plugin> |
| 28 | <plugin> |
| 29 | <groupId>org.opendaylight.yangtools</groupId> |
| 30 | <artifactId>yang-maven-plugin</artifactId> |
| 31 | <version>${odl.yangtools.version}</version> |
| 32 | <executions> |
| 33 | <execution> |
| 34 | <id>config</id> |
| 35 | <goals> |
| 36 | <goal>generate-sources</goal> |
| 37 | </goals> |
| 38 | <configuration> |
| 39 | <codeGenerators> |
| 40 | <generator> |
| 41 | <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass> |
| 42 | <outputBaseDir>${jmxGeneratorPath}</outputBaseDir> |
| 43 | <additionalConfiguration> |
| 44 | <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1> |
| 45 | </additionalConfiguration> |
| 46 | </generator> |
| 47 | <generator> |
| 48 | <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 49 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 50 | </generator> |
| 51 | </codeGenerators> |
| 52 | <inspectDependencies>true</inspectDependencies> |
| 53 | </configuration> |
| 54 | </execution> |
| 55 | </executions> |
| 56 | <dependencies> |
| 57 | <dependency> |
| 58 | <groupId>org.opendaylight.mdsal</groupId> |
| 59 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 60 | <version>${odl.yangtools.version}</version> |
| 61 | <type>jar</type> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.opendaylight.controller</groupId> |
| 65 | <artifactId>yang-jmx-generator-plugin</artifactId> |
| 66 | <version>${odl.yang.jmx.generator.version}</version> |
| 67 | </dependency> |
| 68 | </dependencies> |
| 69 | </plugin> |
| 70 | <plugin> |
| 71 | <groupId>org.codehaus.mojo</groupId> |
| 72 | <artifactId>build-helper-maven-plugin</artifactId> |
| 73 | <executions> |
| 74 | <execution> |
| 75 | <id>attach-artifacts</id> |
| 76 | <goals> |
| 77 | <goal>attach-artifact</goal> |
| 78 | </goals> |
| 79 | <phase>package</phase> |
| 80 | <configuration> |
| 81 | <artifacts> |
| 82 | <artifact> |
| 83 | <file>${project.build.directory}/classes/initial/appc-provider.xml</file> |
| 84 | <type>xml</type> |
| 85 | <classifier>config</classifier> |
| 86 | </artifact> |
| 87 | </artifacts> |
| 88 | </configuration> |
| 89 | </execution> |
| 90 | </executions> |
| 91 | </plugin> |
| 92 | </plugins> |
| 93 | <pluginManagement> |
| 94 | <plugins> |
| 95 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 96 | only. It has no influence on the Maven build itself. --> |
| 97 | <plugin> |
| 98 | <groupId>org.eclipse.m2e</groupId> |
| 99 | <artifactId>lifecycle-mapping</artifactId> |
| 100 | <version>1.0.0</version> |
| 101 | <configuration> |
| 102 | <lifecycleMappingMetadata> |
| 103 | <pluginExecutions> |
| 104 | <pluginExecution> |
| 105 | <pluginExecutionFilter> |
| 106 | <groupId>org.codehaus.mojo</groupId> |
| 107 | <artifactId>build-helper-maven-plugin</artifactId> |
| 108 | <versionRange>[1.9.1,)</versionRange> |
| 109 | <goals> |
| 110 | <goal>add-source</goal> |
| 111 | </goals> |
| 112 | </pluginExecutionFilter> |
| 113 | <action> |
| 114 | <ignore /> |
| 115 | </action> |
| 116 | </pluginExecution> |
| 117 | </pluginExecutions> |
| 118 | </lifecycleMappingMetadata> |
| 119 | </configuration> |
| 120 | </plugin> |
| 121 | </plugins> |
| 122 | </pluginManagement> |
| 123 | </build> |
| 124 | <dependencies> |
| 125 | <dependency> |
| 126 | <groupId>org.openecomp.appc</groupId> |
| 127 | <artifactId>appc-request-handler-api</artifactId> |
Patrick Brady | 8843969 | 2017-02-24 00:04:10 -0800 | [diff] [blame] | 128 | <version>1.0.0-SNAPSHOT</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 129 | <type>bundle</type> |
| 130 | <scope>provided</scope> |
| 131 | <exclusions> |
| 132 | <exclusion> |
| 133 | <groupId>org.openecomp.appc</groupId> |
| 134 | <artifactId>domain-model-lib</artifactId> |
| 135 | </exclusion> |
| 136 | </exclusions> |
| 137 | </dependency> |
| 138 | <dependency> |
| 139 | <groupId>org.openecomp.appc</groupId> |
| 140 | <artifactId>appc-common</artifactId> |
| 141 | <version>${project.version}</version> |
| 142 | <classifier>jar-with-dependencies</classifier> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.openecomp.appc</groupId> |
| 146 | <artifactId>appc-provider-model</artifactId> |
| 147 | <version>${project.version}</version> |
| 148 | </dependency> |
| 149 | |
| 150 | <!-- ADDED THIS ARTIFACT TO BE ABLE TO FIND org.openecomp.appc.domainmodel.lcm --> |
| 151 | <dependency> |
| 152 | <groupId>org.openecomp.appc</groupId> |
| 153 | <artifactId>domain-model-lib</artifactId> |
| 154 | <version>${project.version}</version> |
| 155 | </dependency> |
| 156 | |
| 157 | <dependency> |
| 158 | <groupId>org.opendaylight.controller</groupId> |
| 159 | <artifactId>config-api</artifactId> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>org.opendaylight.controller</groupId> |
| 163 | <artifactId>sal-binding-config</artifactId> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>org.opendaylight.controller</groupId> |
| 167 | <artifactId>sal-binding-api</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.opendaylight.controller</groupId> |
| 171 | <artifactId>sal-common-util</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.openecomp.sdnc.core</groupId> |
| 175 | <artifactId>sli-common</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>org.openecomp.sdnc.core</groupId> |
| 179 | <artifactId>sli-provider</artifactId> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <artifactId>sal-test-model</artifactId> |
| 183 | <groupId>org.opendaylight.controller</groupId> |
| 184 | <scope>test</scope> |
| 185 | </dependency> |
| 186 | <dependency> |
| 187 | <artifactId>sal-rest-connector</artifactId> |
| 188 | <groupId>org.opendaylight.netconf</groupId> |
| 189 | <scope>test</scope> |
| 190 | </dependency> |
| 191 | <dependency> |
| 192 | <groupId>org.opendaylight.controller</groupId> |
| 193 | <artifactId>sal-binding-broker-impl</artifactId> |
| 194 | <scope>test</scope> |
| 195 | </dependency> |
| 196 | <dependency> |
| 197 | <groupId>org.opendaylight.controller</groupId> |
| 198 | <artifactId>sal-binding-broker-impl</artifactId> |
| 199 | <classifier>tests</classifier> |
| 200 | <version>${odl.mdsal.version}</version> |
| 201 | <type>test-jar</type> |
| 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>junit</groupId> |
| 206 | <artifactId>junit</artifactId> |
| 207 | <scope>test</scope> |
| 208 | </dependency> |
| 209 | <!-- TEMP CODE --> |
| 210 | <dependency> |
| 211 | <groupId>org.json</groupId> |
| 212 | <artifactId>json</artifactId> |
| 213 | </dependency> |
| 214 | </dependencies> |
| 215 | </project> |