-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minimal tarball trino-server-core
- Reuse new module as core for default tarball - Avoid duplication of artifact set definitions
- Loading branch information
Showing
9 changed files
with
221 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
core/trino-server/README.txt → core/trino-server-core/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Trino is a distributed SQL query engine. | ||
|
||
Please see the website for installation instructions: | ||
See the website for installation instructions: | ||
|
||
https://trino.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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> | ||
|
||
<parent> | ||
<groupId>io.trino</groupId> | ||
<artifactId>trino-root</artifactId> | ||
<version>472-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>trino-server-core</artifactId> | ||
<packaging>provisio</packaging> | ||
<description>Trino - Server core package</description> | ||
|
||
<properties> | ||
<air.check.skip-enforcer>false</air.check.skip-enforcer> | ||
<air.check.skip-duplicate-finder>true</air.check.skip-duplicate-finder> | ||
<air.check.skip-findbugs>true</air.check.skip-findbugs> | ||
<air.check.skip-dependency>true</air.check.skip-dependency> | ||
|
||
<!-- Launcher properties --> | ||
<main-class>io.trino.server.TrinoServer</main-class> | ||
<process-name>${project.artifactId}</process-name> | ||
|
||
<!-- Special consideration for Takari Lifecycle --> | ||
<!-- This works as trino-server have no sources (is just provisio packaged) --> | ||
<takari.skip>false</takari.skip> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.airlift</groupId> | ||
<artifactId>junit-extensions</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<!-- Needed for provisio to resolve transitive dependencies for server assembly --> | ||
<repositories> | ||
<repository> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
<id>confluent</id> | ||
<url>https://packages.confluent.io/maven/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<configuration> | ||
<rules combine.self="override"> | ||
<requireFilesSize> | ||
<!-- Maven Central has a 1GB limit --> | ||
<maxsize>1073741824</maxsize> | ||
<files> | ||
<file>${project.build.directory}/${project.artifactId}-${project.version}.tar.gz</file> | ||
</files> | ||
</requireFilesSize> | ||
</rules> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<phase>verify</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.takari.maven.plugins</groupId> | ||
<artifactId>takari-lifecycle-plugin</artifactId> | ||
<version>${dep.takari.version}</version> | ||
<configuration> | ||
<proc>none</proc> | ||
<skip>${takari.skip}</skip> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<runtime> | ||
<!-- Target --> | ||
<archive name="${project.artifactId}-${project.version}.tar.gz" hardLinkIncludes="**/*.jar" /> | ||
|
||
<!-- Launcher --> | ||
<artifactSet to="bin"> | ||
<artifact id="io.airlift:launcher:tar.gz:bin:${dep.launcher.version}"> | ||
<unpack /> | ||
</artifact> | ||
<artifact id="io.airlift:launcher:tar.gz:properties:${dep.launcher.version}"> | ||
<unpack filter="true" /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<!-- Server --> | ||
<artifactSet to="lib"> | ||
<artifact id="${project.groupId}:trino-server-main:${project.version}" /> | ||
</artifactSet> | ||
|
||
<!-- Configuration Plugins --> | ||
<artifactSet to="secrets-plugin/keystore-secrets-plugin"> | ||
<artifact id="io.airlift:secrets-keystore-plugin:zip:${dep.airlift.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<!-- Plugins --> | ||
<artifactSet to="plugin/exchange-filesystem"> | ||
<artifact id="${project.groupId}:trino-exchange-filesystem:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/exchange-hdfs"> | ||
<artifact id="${project.groupId}:trino-exchange-hdfs:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/functions-python"> | ||
<artifact id="${project.groupId}:trino-functions-python:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/geospatial"> | ||
<artifact id="${project.groupId}:trino-geospatial:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/memory"> | ||
<artifact id="${project.groupId}:trino-memory:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/ml"> | ||
<artifact id="${project.groupId}:trino-ml:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/password-authenticators"> | ||
<artifact id="${project.groupId}:trino-password-authenticators:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/resource-group-managers"> | ||
<artifact id="${project.groupId}:trino-resource-group-managers:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/session-property-managers"> | ||
<artifact id="${project.groupId}:trino-session-property-managers:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
<artifactSet to="plugin/spooling-filesystem"> | ||
<artifact id="${project.groupId}:trino-spooling-filesystem:zip:${project.version}"> | ||
<unpack /> | ||
</artifact> | ||
</artifactSet> | ||
|
||
</runtime> |
22 changes: 22 additions & 0 deletions
22
core/trino-server-core/src/test/java/io/trino/server/TestDummy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.trino.server; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
public class TestDummy | ||
{ | ||
@Test | ||
public void buildRequiresTestToExist() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters