34ef775bd3d60649598f3c580ceb74ccc826dd1b
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / pom.xml
1 <?xml version="1.0"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
3          xmlns="http://maven.apache.org/POM/4.0.0"
4          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>org.openecomp.appc</groupId>
8         <artifactId>appc-sequence-generator</artifactId>
9         <version>1.3.0-SNAPSHOT</version>
10     </parent>
11     <artifactId>appc-sequence-generator-bundle</artifactId>
12     <name>appc-sequence-generator-bundle</name>
13     <packaging>bundle</packaging>
14
15     <build>
16         <plugins>
17             <plugin>
18                 <groupId>org.apache.felix</groupId>
19                 <artifactId>maven-bundle-plugin</artifactId>
20                 <version>${bundle.plugin.version}</version>
21                 <extensions>true</extensions>
22                 <configuration>
23                     <instructions>
24                         <Bundle-SymbolicName>appc-sequence-generator-bundle</Bundle-SymbolicName>
25                         <!--                        <Bundle-Activator>org.openecomp.appc.seqgen.SequenceGeneratorActivator</Bundle-Activator>-->
26                         <Export-Package>org.openecomp.appc.seqgen.*</Export-Package>
27                         <Import-Package>org.openecomp.appc.domainmodel.lcm,*;resolution:=optional</Import-Package>
28                         <DynamicImport-Package>*</DynamicImport-Package>
29                         <Embed-Transitive>true</Embed-Transitive>
30                     </instructions>
31                 </configuration>
32             </plugin>
33             <plugin>
34                 <groupId>org.opendaylight.yangtools</groupId>
35                 <artifactId>yang-maven-plugin</artifactId>
36                 <version>${odl.yangtools.version}</version>
37                 <executions>
38                     <execution>
39                         <id>config</id>
40                         <goals>
41                             <goal>generate-sources</goal>
42                         </goals>
43                         <configuration>
44                             <codeGenerators>
45                                 <generator>
46                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
47                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
48                                     <additionalConfiguration>
49                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
50                                     </additionalConfiguration>
51                                 </generator>
52                                 <generator>
53                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
54                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
55                                 </generator>
56                             </codeGenerators>
57                             <inspectDependencies>true</inspectDependencies>
58                         </configuration>
59                     </execution>
60                 </executions>
61                 <dependencies>
62                     <dependency>
63                         <groupId>org.opendaylight.mdsal</groupId>
64                         <artifactId>maven-sal-api-gen-plugin</artifactId>
65                         <version>${odl.sal.api.gen.plugin.version}</version>
66                         <type>jar</type>
67                     </dependency>
68                     <dependency>
69                         <groupId>org.opendaylight.controller</groupId>
70                         <artifactId>yang-jmx-generator-plugin</artifactId>
71                         <version>${odl.yang.jmx.generator.version}</version>
72                     </dependency>
73                 </dependencies>
74             </plugin>
75             <plugin>
76                 <groupId>org.codehaus.mojo</groupId>
77                 <artifactId>build-helper-maven-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <id>attach-artifacts</id>
81                         <goals>
82                             <goal>attach-artifact</goal>
83                         </goals>
84                         <phase>package</phase>
85                         <configuration>
86                             <artifacts>
87                                 <artifact>
88                                     <file>${project.build.directory}/classes/initial/appc-sequence-generator.xml</file>
89                                     <type>xml</type>
90                                     <classifier>config</classifier>
91                                 </artifact>
92                             </artifacts>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97         </plugins>
98     </build>
99
100     <dependencies>
101         <dependency>
102             <groupId>junit</groupId>
103             <artifactId>junit</artifactId>
104             <scope>test</scope>
105         </dependency>
106         <dependency>
107             <groupId>org.opendaylight.controller</groupId>
108             <artifactId>config-api</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.controller</groupId>
112             <artifactId>sal-binding-config</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>org.opendaylight.controller</groupId>
116             <artifactId>sal-binding-api</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>org.opendaylight.controller</groupId>
120             <artifactId>sal-common-util</artifactId>
121         </dependency>
122         <dependency>
123             <artifactId>sal-test-model</artifactId>
124             <groupId>org.opendaylight.controller</groupId>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <artifactId>sal-rest-connector</artifactId>
129             <groupId>org.opendaylight.netconf</groupId>
130             <scope>test</scope>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.controller</groupId>
134             <artifactId>sal-binding-broker-impl</artifactId>
135             <scope>test</scope>
136         </dependency>
137         <dependency>
138             <groupId>org.opendaylight.controller</groupId>
139             <artifactId>sal-binding-broker-impl</artifactId>
140             <classifier>tests</classifier>
141             <version>${odl.mdsal.version}</version>
142             <type>test-jar</type>
143             <scope>test</scope>
144         </dependency>
145         <dependency>
146             <groupId>org.openecomp.appc</groupId>
147             <artifactId>appc-dg-dependency-model</artifactId>
148             <version>${project.version}</version>
149         </dependency>
150         <dependency>
151           <groupId>com.fasterxml.jackson.core</groupId>
152           <artifactId>jackson-core</artifactId>
153         </dependency>
154         <dependency>
155           <groupId>com.fasterxml.jackson.core</groupId>
156           <artifactId>jackson-databind</artifactId>
157         </dependency>
158         <dependency>
159           <groupId>com.fasterxml.jackson.core</groupId>
160           <artifactId>jackson-annotations</artifactId>
161         </dependency>
162         <dependency>
163             <groupId>org.onap.ccsdk.sli.core</groupId>
164             <artifactId>sli-common</artifactId>
165         </dependency>
166         <dependency>
167             <groupId>org.onap.ccsdk.sli.core</groupId>
168             <artifactId>sli-provider</artifactId>
169         </dependency>
170         <dependency>
171             <groupId>org.openecomp.appc</groupId>
172             <artifactId>appc-dg-domain-model-lib</artifactId>
173             <version>${project.version}</version>
174         </dependency>
175         <dependency>
176             <groupId>org.openecomp.appc</groupId>
177             <artifactId>domain-model-lib</artifactId>
178             <version>${project.version}</version>
179         </dependency>
180
181         <dependency>
182             <groupId>org.openecomp.appc</groupId>
183             <artifactId>appc-sequence-generator-model</artifactId>
184             <version>${project.version}</version>
185         </dependency>
186     </dependencies>
187
188 </project>