You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2018/03/21 22:09:14 UTC
[jira] [Created] (KUDU-2365) Gradle-built Java artifacts aren't as
well shaded as Maven-built ones
Adar Dembo created KUDU-2365:
--------------------------------
Summary: Gradle-built Java artifacts aren't as well shaded as Maven-built ones
Key: KUDU-2365
URL: https://issues.apache.org/jira/browse/KUDU-2365
Project: Kudu
Issue Type: Bug
Components: java
Affects Versions: 1.7.0
Reporter: Adar Dembo
If you uncomment the exclusion of "build/" from build-support/verify_jars.pl and run it after building the Java artifacts via Gradle, it raises a number of errors that don't exist in the Maven-built artifacts. For example:
{noformat}
> ./kudu-spark/build/libs/kudu-spark2_2.11-1.8.0-SNAPSHOT.jar
NON_KUDU org/slf4j/event/EventConstants.class
NON_KUDU org/slf4j/event/EventRecodingLogger.class
NON_KUDU org/slf4j/event/Level.class
NON_KUDU org/slf4j/event/LoggingEvent.class
NON_KUDU org/slf4j/event/SubstituteLoggingEvent.class
NON_KUDU org/slf4j/helpers/BasicMarker.class
NON_KUDU org/slf4j/helpers/BasicMarkerFactory.class
NON_KUDU org/slf4j/helpers/BasicMDCAdapter$1.class
NON_KUDU org/slf4j/helpers/BasicMDCAdapter.class
NON_KUDU org/slf4j/helpers/FormattingTuple.class
NON_KUDU org/slf4j/helpers/MarkerIgnoringBase.class
NON_KUDU org/slf4j/helpers/MessageFormatter.class
NON_KUDU org/slf4j/helpers/NamedLoggerBase.class
NON_KUDU org/slf4j/helpers/NOPLogger.class
NON_KUDU org/slf4j/helpers/NOPLoggerFactory.class
NON_KUDU org/slf4j/helpers/NOPMDCAdapter.class
NON_KUDU org/slf4j/helpers/SubstituteLogger.class
NON_KUDU org/slf4j/helpers/SubstituteLoggerFactory.class
NON_KUDU org/slf4j/helpers/Util$1.class
NON_KUDU org/slf4j/helpers/Util$ClassContextSecurityManager.class
NON_KUDU org/slf4j/helpers/Util.class
NON_KUDU org/slf4j/ILoggerFactory.class
NON_KUDU org/slf4j/IMarkerFactory.class
NON_KUDU org/slf4j/Logger.class
NON_KUDU org/slf4j/LoggerFactory.class
NON_KUDU org/slf4j/Marker.class
NON_KUDU org/slf4j/MarkerFactory.class
NON_KUDU org/slf4j/MDC$1.class
NON_KUDU org/slf4j/MDC$MDCCloseable.class
NON_KUDU org/slf4j/MDC.class
NON_KUDU org/slf4j/spi/LocationAwareLogger.class
NON_KUDU org/slf4j/spi/LoggerFactoryBinder.class
NON_KUDU org/slf4j/spi/MarkerFactoryBinder.class
NON_KUDU org/slf4j/spi/MDCAdapter.class
{noformat}
We shouldn't publish any Gradle-built artifacts until these errors are sorted out.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)