-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
241 lines (218 loc) · 8.69 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<?xml version="1.0"?>
<!--
Copyright 2022 StarTree Inc.
Licensed under the StarTree Community License (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.startree.ai/startree-community-license
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.0</version>
<packaging>pom</packaging>
<artifactId>startree-tableau-connector</artifactId>
<name>StarTree Tableau Connector</name>
<groupId>ai.startree.pinot</groupId>
<url>https://startree.ai/</url>
<properties>
<pinot.root>${basedir}</pinot.root>
<connector.assembly.name>${project.groupId}-${project.artifactId}-${project.version}</connector.assembly.name>
<taco.signing.keystore>taco.jks</taco.signing.keystore>
<taco.signing.alias>alias</taco.signing.alias>
<taco.signing.storepass>storepass</taco.signing.storepass>
<taco.signing.keypass></taco.signing.keypass>
<taco.signing.tsa>http://timestamp.globalsign.com/tsa/r6advanced1</taco.signing.tsa>
<taco.signing.storetype>PKCS11</taco.signing.storetype>
<taco.signing.providerclass>sun.security.pkcs11.SunPKCS11</taco.signing.providerclass>
<taco.signing.providerarg>eToken.cfg</taco.signing.providerarg>
</properties>
<licenses>
<license>
<name>StarTree Community License</name>
<url>https://raw.githubusercontent.com/startreedata/startree-tableau-connector/master/LICENSE</url>
<distribution>repo</distribution>
<comments>A StarTree community-friendly license</comments>
</license>
</licenses>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${connector.assembly.name}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>taco-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jarsigner-plugin</artifactId>
<executions>
<execution>
<id>sign</id>
<phase>install</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<tsa>${taco.signing.tsa}</tsa>
<storetype>${taco.signing.storetype}</storetype>
<providerClass>${taco.signing.providerclass}</providerClass>
<providerArg>${taco.signing.providerarg}</providerArg>
<alias>${taco.signing.alias}</alias>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<finalName>${connector.assembly.name}</finalName>
<shadedArtifactAttached>false</shadedArtifactAttached>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<move file="${project.build.directory}/${connector.assembly.name}.jar"
tofile="${project.build.directory}/${connector.assembly.name}.taco"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.0</version>
<configuration>
<licenseSets>
<licenseSet>
<header>${pinot.root}/HEADER</header>
<excludes>
<!-- Text and log files -->
<exclude>**/*.txt</exclude>
<exclude>**/*.log</exclude>
<exclude>**/*.list</exclude>
<exclude>**/*.out</exclude>
<exclude>**/*.generated</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.schema</exclude>
<exclude>**/*.conf</exclude>
<exclude>**/*.properties</exclude>
<!-- JDBC Drivers -->
<exclude>**/java.sql.*</exclude>
<!-- Spark datasource register -->
<exclude>**/org.apache.spark.sql.sources.DataSourceRegister</exclude>
<!-- Binary files -->
<exclude>**/*.avro</exclude>
<exclude>**/*.avsc</exclude>
<exclude>**/*.csv</exclude>
<exclude>**/*.desc</exclude>
<exclude>**/*.parquet</exclude>
<exclude>**/*.gz</exclude>
<exclude>**/*.orc</exclude>
<exclude>**/*.dict</exclude>
<exclude>**/*.raw</exclude>
<exclude>**/*.mapping</exclude>
<exclude>**/*.ser</exclude>
<exclude>**/*.v1</exclude>
<exclude>**/*.v2</exclude>
<exclude>**/*.MockMaker</exclude>
<!-- Auto-generated target directories -->
<exclude>target/**</exclude>
<exclude>pinot-*/target/**</exclude>
<!-- CI m2 dependencies directories -->
<exclude>m2/**</exclude>
<!-- Docker and Kubernetes (not part of the distribution) -->
<exclude>kubernetes/**</exclude>
<exclude>docker/**</exclude>
<!-- Pinot-Druid Benchmark (not part of the distribution) -->
<exclude>contrib/**</exclude>
<!-- Top level files -->
<exclude>HEADER</exclude>
<exclude>LICENSE*</exclude>
<exclude>NOTICE*</exclude>
<!-- js, css files that are exact copies of the third-party works. In this case, the original header has to
be kept. Please refer to 'Treatment of Third-party works' in https://www.apache.org/legal/src-headers.html
-->
<exclude>**/node_modules/**</exclude>
<exclude>**/dist/**</exclude>
<exclude>**/src/main/resources/*.*rc</exclude>
<!-- files from Eclipse -->
<exclude>**/maven-eclipse.xml</exclude>
<exclude>.externalToolBuilders/**</exclude>
<!-- Auto-generated protobuf test classes -->
<exclude>**/test/**/protobuf/**Generated.java</exclude>
</excludes>
</licenseSet>
</licenseSets>
<mapping>
<java>JAVADOC_STYLE</java>
<scala>JAVADOC_STYLE</scala>
<thrift>JAVADOC_STYLE</thrift>
<g4>JAVADOC_STYLE</g4>
<ts>JAVADOC_STYLE</ts>
<tsx>JAVADOC_STYLE</tsx>
<config>SCRIPT_STYLE</config>
<queries>SCRIPT_STYLE</queries>
<results>SCRIPT_STYLE</results>
<MockMaker>SCRIPT_STYLE</MockMaker>
<appAssemblerScriptTemplate>SCRIPT_STYLE</appAssemblerScriptTemplate>
<pql>SCRIPT_STYLE</pql>
<sql>SCRIPT_STYLE</sql>
<conf>DOUBLESLASH_STYLE</conf>
<cfg>DOUBLESLASH_STYLE</cfg>
<proto>DOUBLESLASH_STYLE</proto>
<rst>RST_STYLE</rst>
<readme>RST_STYLE</readme>
</mapping>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>