blob: 8bbf17ac19378d146845462a71650d9f289345a0 [file] [log] [blame]
Ian Maxon0cb72192021-10-01 15:55:37 -07001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
19<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
Dmitry Lychaginb9a7be22021-10-06 09:33:42 -070024 <artifactId>apache-asterixdb-jdbc</artifactId>
Ian Maxon0cb72192021-10-01 15:55:37 -070025 <groupId>org.apache.asterix</groupId>
26 <version>0.9.7-SNAPSHOT</version>
27 </parent>
28 <artifactId>asterix-jdbc-driver</artifactId>
29
30 <licenses>
31 <license>
32 <name>Apache License, Version 2.0</name>
33 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
34 <distribution>repo</distribution>
35 <comments>A business-friendly OSS license</comments>
36 </license>
37 </licenses>
38
39 <properties>
40 <root.dir>${basedir}/..</root.dir>
Ian Maxon0cb72192021-10-01 15:55:37 -070041 <source.java.package.path>org/apache/asterix/jdbc/</source.java.package.path>
42 <implementation.title>Apache AsterixDB JDBC Driver</implementation.title>
43 </properties>
44
45 <dependencies>
46 <dependency>
47 <groupId>org.apache.asterix</groupId>
48 <artifactId>asterix-jdbc-core</artifactId>
49 <version>${project.version}</version>
50 </dependency>
Dmitry Lychagin5995f6c2021-10-12 20:49:40 -070051 <dependency>
52 <groupId>com.fasterxml.jackson.core</groupId>
53 <artifactId>jackson-core</artifactId>
54 </dependency>
55 <dependency>
56 <groupId>com.fasterxml.jackson.core</groupId>
57 <artifactId>jackson-databind</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.apache.httpcomponents</groupId>
61 <artifactId>httpclient</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.httpcomponents</groupId>
65 <artifactId>httpcore</artifactId>
66 </dependency>
Ian Maxon0cb72192021-10-01 15:55:37 -070067 </dependencies>
68
69 <build>
70 <plugins>
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-jar-plugin</artifactId>
74 <configuration>
75 <archive>
76 <manifestSections>
77 <manifestSection>
78 <name>${source.java.package.path}</name>
79 <manifestEntries>
80 <Implementation-Title>${implementation.title}</Implementation-Title>
81 <Implementation-Version>${project.version}</Implementation-Version>
82 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
83 </manifestEntries>
84 </manifestSection>
85 </manifestSections>
86 </archive>
87 </configuration>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-shade-plugin</artifactId>
92 <executions>
93 <execution>
94 <goals>
95 <goal>shade</goal>
96 </goals>
97 <configuration>
98 <shadedArtifactAttached>true</shadedArtifactAttached>
99 <shadedClassifierName>dist</shadedClassifierName>
100 <transformers>
101 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
102 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
103 <addHeader>false</addHeader>
104 </transformer>
105 <transformer implementation="org.apache.maven.plugins.shade.resource.PluginXmlResourceTransformer"/>
106 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
107 </transformers>
108 <filters>
109 <filter>
110 <artifact>org.apache.asterix:asterix-jdbc-core</artifact>
111 <excludes>
112 <exclude>META-INF/MANIFEST.MF</exclude>
113 </excludes>
114 </filter>
115 <filter>
116 <artifact>org.apache.httpcomponents:*</artifact>
117 <excludes>
118 <exclude>module-info.class</exclude>
119 <exclude>META-INF/DEPENDENCIES</exclude>
120 <exclude>META-INF/MANIFEST.MF</exclude>
121 </excludes>
122 </filter>
123 <filter>
124 <artifact>commons-logging:*</artifact>
125 <excludes>
126 <exclude>module-info.class</exclude>
127 <exclude>META-INF/MANIFEST.MF</exclude>
128 </excludes>
129 </filter>
130 <filter>
131 <artifact>commons-codec:*</artifact>
132 <excludes>
133 <exclude>module-info.class</exclude>
134 <exclude>META-INF/MANIFEST.MF</exclude>
135 </excludes>
136 </filter>
137 <filter>
138 <artifact>com.fasterxml.jackson.core:*</artifact>
139 <excludes>
140 <exclude>module-info.class</exclude>
141 <exclude>META-INF/MANIFEST.MF</exclude>
142 </excludes>
143 </filter>
144 </filters>
145 </configuration>
146 </execution>
147 </executions>
148 </plugin>
149 </plugins>
150 </build>
151</project>