Skip to content

Commit

Permalink
just copy server resource sql
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm1 committed Nov 1, 2023
1 parent 64b90b1 commit 831f06a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 123 deletions.
4 changes: 2 additions & 2 deletions build/dist
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ mkdir -p "$DISTDIR/pid"
mkdir -p "$DISTDIR/logs"
mkdir -p "$DISTDIR/work"
mkdir -p "$DISTDIR/jars"
mkdir -p "$DISTDIR/metastore-sql"
mkdir -p "$DISTDIR/db-schema"
mkdir -p "$DISTDIR/beeline-jars"
mkdir -p "$DISTDIR/web-ui"
mkdir -p "$DISTDIR/externals/engines/flink"
Expand All @@ -272,7 +272,7 @@ echo "Build flags: $@" >> "$DISTDIR/RELEASE"
cp -r "$KYUUBI_HOME"/kyuubi-assembly/target/scala-$SCALA_VERSION/jars/*.jar "$DISTDIR/jars/"

# Copy kyuubi metadata sql
cp -r "$KYUUBI_HOME"/kyuubi-assembly/target/kyuubi-assembly/metastore-sql/* "$DISTDIR/metastore-sql/"
cp -r "$KYUUBI_HOME"/kyuubi-server/src/main/resources/sql/* "$DISTDIR/db-schema/"

# Copy kyuubi beeline jars
cp "$KYUUBI_HOME"/kyuubi-hive-beeline/target/*.jar "$DISTDIR/beeline-jars/"
Expand Down
36 changes: 0 additions & 36 deletions kyuubi-assembly/assembly/assembly.xml

This file was deleted.

24 changes: 0 additions & 24 deletions kyuubi-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,28 +120,4 @@
<artifactId>log4j-1.2-api</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>assemble</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>assembly/assembly.xml</descriptor>
</descriptors>
<finalName>kyuubi-assembly</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
21 changes: 0 additions & 21 deletions kyuubi-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -581,27 +581,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>assemble</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>src/assembly/assembly.xml</descriptor>
</descriptors>
<finalName>kyuubi-server</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
Expand Down
40 changes: 0 additions & 40 deletions kyuubi-server/src/assembly/assembly.xml

This file was deleted.

0 comments on commit 831f06a

Please sign in to comment.