Merge "Fix few sonar issues"
[ccsdk/sli/core.git] / sli / common / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <artifactId>sli</artifactId>
6         <groupId>org.onap.ccsdk.sli.core</groupId>
7         <version>0.1.2-SNAPSHOT</version>
8     </parent>
9     <artifactId>sli-common</artifactId>
10     <packaging>bundle</packaging>
11
12     <name>SLI - Common Classes</name>
13     <description>The SLI Common package includes common classes used by the various SLI subcomponents, as well as classes used by clients to interface with the service logic interpreter</description>
14
15     <dependencies>
16         <dependency>
17             <groupId>junit</groupId>
18             <artifactId>junit</artifactId>
19             <version>3.8.1</version>
20             <scope>test</scope>
21         </dependency>
22         <dependency>
23             <groupId>ch.vorburger.mariaDB4j</groupId>
24             <artifactId>mariaDB4j</artifactId>
25             <version>2.2.3</version>
26             <scope>test</scope>
27         </dependency>
28         <dependency>
29             <groupId>org.antlr</groupId>
30             <artifactId>antlr4</artifactId>
31             <version>${antlr.version}</version>
32             <type>jar</type>
33             <scope>compile</scope>
34         </dependency>
35         <dependency>
36             <groupId>org.slf4j</groupId>
37             <artifactId>slf4j-api</artifactId>
38             <version>${slf4j.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>org.slf4j</groupId>
42             <artifactId>slf4j-simple</artifactId>
43             <version>1.7.5</version>
44             <scope>compile</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.commons</groupId>
48             <artifactId>commons-lang3</artifactId>
49             <version>${commons.lang3.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.mdsal</groupId>
53             <artifactId>yang-binding</artifactId>
54             <version>${odl.mdsal.yang.binding.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.yangtools</groupId>
58             <artifactId>yang-common</artifactId>
59             <version>${odl.yangtools.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.opendaylight.mdsal.model</groupId>
63             <artifactId>ietf-inet-types</artifactId>
64             <version>${odl.ietf-inet-types.version}</version>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.mdsal.model</groupId>
68             <artifactId>ietf-yang-types</artifactId>
69             <version>${odl.ietf-yang-types.version}</version>
70         </dependency>
71         <dependency>
72             <groupId>org.opendaylight.controller</groupId>
73             <artifactId>sal-core-api</artifactId>
74             <version>${odl.mdsal.version}</version>
75         </dependency>
76         <dependency>
77             <groupId>org.opendaylight.yangtools</groupId>
78             <artifactId>yang-data-impl</artifactId>
79             <version>${odl.yangtools.version}</version>
80         </dependency>
81         <dependency>
82             <groupId>equinoxSDK381</groupId>
83             <artifactId>org.eclipse.osgi</artifactId>
84             <version>${equinox.osgi.version}</version>
85         </dependency>
86         <dependency>
87             <groupId>mysql</groupId>
88             <artifactId>mysql-connector-java</artifactId>
89             <version>${mysql.connector.version}</version>
90             <type>jar</type>
91             <scope>compile</scope>
92         </dependency>
93         <dependency>
94             <groupId>org.onap.ccsdk.sli.core</groupId>
95             <artifactId>dblib-provider</artifactId>
96             <version>${sdnctl.dblib.version}</version>
97         </dependency>
98     </dependencies>
99
100     <build>
101         <plugins>
102             <plugin>
103                 <groupId>org.apache.maven.plugins</groupId>
104                 <artifactId>maven-compiler-plugin</artifactId>
105                 <configuration>
106                     <source>1.7</source>
107                     <target>1.7</target>
108                 </configuration>
109             </plugin>
110             <plugin>
111                 <groupId>org.apache.maven.plugins</groupId>
112                 <artifactId>maven-jar-plugin</artifactId>
113                 <version>2.4</version>
114                 <configuration>
115                     <includes>**/*.xsd</includes>
116                     <archive>
117                         <manifest>
118                             <mainClass>org.onap.ccsdk.sli.core.sli.SvcLogicParser</mainClass>
119                             <packageName>org.onap.ccsdk.sli.core.sli</packageName>
120                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
121                         </manifest>
122                     </archive>
123                 </configuration>
124             </plugin>
125             <plugin>
126                 <groupId>org.apache.felix</groupId>
127                 <artifactId>maven-bundle-plugin</artifactId>
128                 <extensions>true</extensions>
129                 <configuration>
130                     <instructions>
131                         <Export-Package>org.onap.ccsdk.sli.core.sli;version=${project.version}</Export-Package>
132                         <Import-Package>*</Import-Package>
133                         <Embed-Dependency>*;scope=compile;artifactId=commons-lang|commons-lang3</Embed-Dependency>
134                         <Embed-Transitive>true</Embed-Transitive>
135                     </instructions>
136                 </configuration>
137             </plugin>
138             <plugin>
139                 <groupId>org.antlr</groupId>
140                 <artifactId>antlr4-maven-plugin</artifactId>
141                 <version>${antlr.version}</version>
142                 <executions>
143                     <execution>
144                         <configuration>
145                             <outputDirectory>${project.basedir}/src/main/java/</outputDirectory>
146                         </configuration>
147                         <id>antlr</id>
148                         <goals>
149                             <goal>antlr4</goal>
150                         </goals>
151                     </execution>
152                 </executions>
153             </plugin>
154         </plugins>
155     </build>
156
157 </project>