Skip to content

Commit 93b8dce

Browse files
committed
fixed bundle pom
1 parent 8dd90d4 commit 93b8dce

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

clickhouse-jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>

packages/clickhouse-jdbc-all/pom.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
</parent>
1212

1313
<artifactId>clickhouse-jdbc-all</artifactId>
14-
<version>${revision}</version>
1514
<packaging>jar</packaging>
1615

1716
<name>(Package) ClickHouse JDBC All Dependencies</name>
@@ -29,6 +28,16 @@
2928

3029
<build>
3130
<plugins>
31+
<plugin>
32+
<groupId>org.apache.maven.plugins</groupId>
33+
<artifactId>maven-jar-plugin</artifactId>
34+
<configuration>
35+
<archive>
36+
<addMavenDescriptor>false</addMavenDescriptor>
37+
</archive>
38+
</configuration>
39+
</plugin>
40+
3241
<plugin>
3342
<groupId>org.apache.maven.plugins</groupId>
3443
<artifactId>maven-shade-plugin</artifactId>
@@ -50,6 +59,19 @@
5059
</execution>
5160
</executions>
5261
</plugin>
62+
<plugin>
63+
<groupId>org.codehaus.mojo</groupId>
64+
<artifactId>flatten-maven-plugin</artifactId>
65+
<executions>
66+
<execution>
67+
<id>flatten</id>
68+
<phase>package</phase>
69+
<goals>
70+
<goal>flatten</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
5375
</plugins>
5476
</build>
5577
</project>

0 commit comments

Comments
 (0)