blob: 3a68e8c9ebe0357f92912fc423801a449fd16522 [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>
51 </dependencies>
52
53 <build>
54 <plugins>
55 <plugin>
56 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-jar-plugin</artifactId>
58 <configuration>
59 <archive>
60 <manifestSections>
61 <manifestSection>
62 <name>${source.java.package.path}</name>
63 <manifestEntries>
64 <Implementation-Title>${implementation.title}</Implementation-Title>
65 <Implementation-Version>${project.version}</Implementation-Version>
66 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
67 </manifestEntries>
68 </manifestSection>
69 </manifestSections>
70 </archive>
71 </configuration>
72 </plugin>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-shade-plugin</artifactId>
76 <executions>
77 <execution>
78 <goals>
79 <goal>shade</goal>
80 </goals>
81 <configuration>
82 <shadedArtifactAttached>true</shadedArtifactAttached>
83 <shadedClassifierName>dist</shadedClassifierName>
84 <transformers>
85 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
86 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
87 <addHeader>false</addHeader>
88 </transformer>
89 <transformer implementation="org.apache.maven.plugins.shade.resource.PluginXmlResourceTransformer"/>
90 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
91 </transformers>
92 <filters>
93 <filter>
94 <artifact>org.apache.asterix:asterix-jdbc-core</artifact>
95 <excludes>
96 <exclude>META-INF/MANIFEST.MF</exclude>
97 </excludes>
98 </filter>
99 <filter>
100 <artifact>org.apache.httpcomponents:*</artifact>
101 <excludes>
102 <exclude>module-info.class</exclude>
103 <exclude>META-INF/DEPENDENCIES</exclude>
104 <exclude>META-INF/MANIFEST.MF</exclude>
105 </excludes>
106 </filter>
107 <filter>
108 <artifact>commons-logging:*</artifact>
109 <excludes>
110 <exclude>module-info.class</exclude>
111 <exclude>META-INF/MANIFEST.MF</exclude>
112 </excludes>
113 </filter>
114 <filter>
115 <artifact>commons-codec:*</artifact>
116 <excludes>
117 <exclude>module-info.class</exclude>
118 <exclude>META-INF/MANIFEST.MF</exclude>
119 </excludes>
120 </filter>
121 <filter>
122 <artifact>com.fasterxml.jackson.core:*</artifact>
123 <excludes>
124 <exclude>module-info.class</exclude>
125 <exclude>META-INF/MANIFEST.MF</exclude>
126 </excludes>
127 </filter>
128 </filters>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 </plugins>
134 </build>
135</project>