This commit is contained in:
Kent Yao 2020-09-29 10:11:34 +08:00
parent d0ed60d036
commit 396e06a3bb
6 changed files with 49 additions and 19 deletions

View File

@ -14,6 +14,9 @@ flags:
kyuubi-spark-sql-engine:
paths:
- ./externals/kyuubi-spark-sql-engine/target/codecov
aggregate:
paths:
- ./dev/kyuubi-codecov/target/site/jacoco-aggregate
# To see status checks based on flags
coverage:
@ -42,3 +45,7 @@ coverage:
target: auto
flags:
- kyuubi-spark-sql-engine
aggregate:
target: auto
flags:
- aggregate

View File

@ -87,11 +87,6 @@
</executions>
</plugin>
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -129,11 +129,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -76,13 +76,6 @@
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
<plugins>
<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -27,7 +27,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>kyuubi-main</artifactId>
<name>Kyuubi Project Main Service</name>
<name>Kyuubi Project Server Main</name>
<packaging>jar</packaging>
<dependencies>
@ -52,4 +52,8 @@
</dependency>
</dependencies>
</project>
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
</build>
</project>

View File

@ -0,0 +1,36 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
#
# Set everything to be logged to the file target/unit-tests.log
log4j.rootLogger=DEBUG, CA, FA
#Console Appender
log4j.appender.CA=org.apache.log4j.ConsoleAppender
log4j.appender.CA.layout=org.apache.log4j.PatternLayout
log4j.appender.CA.layout.ConversionPattern=%d{HH:mm:ss.SSS} %p %c: %m%n
log4j.appender.CA.Threshold = WARN
#File Appender
log4j.appender.FA=org.apache.log4j.FileAppender
log4j.appender.FA.append=false
log4j.appender.FA.file=target/unit-tests.log
log4j.appender.FA.layout=org.apache.log4j.PatternLayout
log4j.appender.FA.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %t %p %c{2}: %m%n
# Set the logger level of File Appender to WARN
log4j.appender.FA.Threshold = DEBUG