415ae4e3370b836de80b976e2b310a3ece768749
[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.1.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                 <executions>
37                     <execution>
38                         <id>config</id>
39                         <goals>
40                             <goal>generate-sources</goal>
41                         </goals>
42                         <configuration>
43                             <codeGenerators>
44                                 <generator>
45                                     <codeGeneratorClass>
46                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
47                                     </codeGeneratorClass>
48                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
49                                     <additionalConfiguration>
50                                         <namespaceToPackage1>
51                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
52                                         </namespaceToPackage1>
53                                     </additionalConfiguration>
54                                 </generator>
55                                 <generator>
56                                     <codeGeneratorClass>
57                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
58                                     </codeGeneratorClass>
59                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
60                                 </generator>
61                             </codeGenerators>
62                             <inspectDependencies>true</inspectDependencies>
63                         </configuration>
64                     </execution>
65                 </executions>
66                 <dependencies>
67                     <dependency>
68                         <groupId>org.opendaylight.mdsal</groupId>
69                         <artifactId>maven-sal-api-gen-plugin</artifactId>
70                         <version>${odl.sal.api.gen.plugin.version}</version>
71                         <type>jar</type>
72                     </dependency>
73                     <dependency>
74                         <groupId>org.opendaylight.controller</groupId>
75                         <artifactId>yang-jmx-generator-plugin</artifactId>
76                         <version>${odl.yang.jmx.generator.version}</version>
77                     </dependency>
78                 </dependencies>
79             </plugin>
80             <plugin>
81                 <groupId>org.codehaus.mojo</groupId>
82                 <artifactId>build-helper-maven-plugin</artifactId>
83                 <executions>
84                     <execution>
85                         <id>attach-artifacts</id>
86                         <goals>
87                             <goal>attach-artifact</goal>
88                         </goals>
89                         <phase>package</phase>
90                         <configuration>
91                             <artifacts>
92                                 <artifact>
93                                     <file>${project.build.directory}/classes/initial/appc-sequence-generator.xml</file>
94                                     <type>xml</type>
95                                     <classifier>config</classifier>
96                                 </artifact>
97                             </artifacts>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102         </plugins>
103     </build>
104
105     <dependencies>
106         <dependency>
107             <groupId>junit</groupId>
108             <artifactId>junit</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.opendaylight.controller</groupId>
113             <artifactId>config-api</artifactId>
114         </dependency>
115         <dependency>
116             <groupId>org.opendaylight.controller</groupId>
117             <artifactId>sal-binding-config</artifactId>
118         </dependency>
119         <dependency>
120             <groupId>org.opendaylight.controller</groupId>
121             <artifactId>sal-binding-api</artifactId>
122         </dependency>
123         <dependency>
124             <groupId>org.opendaylight.controller</groupId>
125             <artifactId>sal-common-util</artifactId>
126         </dependency>
127         <dependency>
128             <artifactId>sal-test-model</artifactId>
129             <groupId>org.opendaylight.controller</groupId>
130             <scope>test</scope>
131         </dependency>
132         <dependency>
133             <artifactId>sal-rest-connector</artifactId>
134             <groupId>org.opendaylight.netconf</groupId>
135             <scope>test</scope>
136         </dependency>
137         <dependency>
138             <groupId>org.opendaylight.controller</groupId>
139             <artifactId>sal-binding-broker-impl</artifactId>
140             <scope>test</scope>
141         </dependency>
142         <dependency>
143             <groupId>org.opendaylight.controller</groupId>
144             <artifactId>sal-binding-broker-impl</artifactId>
145             <classifier>tests</classifier>
146             <version>${odl.mdsal.version}</version>
147             <type>test-jar</type>
148             <scope>test</scope>
149         </dependency>
150         <dependency>
151             <groupId>org.openecomp.appc</groupId>
152             <artifactId>appc-dg-dependency-model</artifactId>
153             <version>${project.version}</version>
154         </dependency>
155         <dependency>
156           <groupId>com.fasterxml.jackson.core</groupId>
157           <artifactId>jackson-core</artifactId>
158         </dependency>
159         <dependency>
160           <groupId>com.fasterxml.jackson.core</groupId>
161           <artifactId>jackson-databind</artifactId>
162         </dependency>
163         <dependency>
164           <groupId>com.fasterxml.jackson.core</groupId>
165           <artifactId>jackson-annotations</artifactId>
166         </dependency>
167         <dependency>
168             <groupId>org.openecomp.sdnc.core</groupId>
169             <artifactId>sli-common</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>org.openecomp.sdnc.core</groupId>
173             <artifactId>sli-provider</artifactId>
174         </dependency>
175         <dependency>
176             <groupId>org.openecomp.appc</groupId>
177             <artifactId>appc-dg-domain-model-lib</artifactId>
178             <version>${project.version}</version>
179         </dependency>
180         <dependency>
181             <groupId>org.openecomp.appc</groupId>
182             <artifactId>domain-model-lib</artifactId>
183             <version>${project.version}</version>
184         </dependency>
185
186         <dependency>
187             <groupId>org.openecomp.appc</groupId>
188             <artifactId>appc-sequence-generator-model</artifactId>
189             <version>${project.version}</version>
190         </dependency>
191     </dependencies>
192
193 </project>