[ 
https://issues.apache.org/jira/browse/FLINK-11005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699115#comment-16699115
 ] 

ASF GitHub Bot commented on FLINK-11005:
----------------------------------------

tillrohrmann commented on issue #7176: [FLINK-11005] Define flink-sql-client 
uber-jar dependencies via artifactSet
URL: https://github.com/apache/flink/pull/7176#issuecomment-441672128
 
 
   The unified diff of the old and new jar content:
   ```
   --- /Users/till/Downloads/client2    2018-11-26 15:00:12.000000000 +0100
   +++ /Users/till/Downloads/client1    2018-11-26 16:09:11.000000000 +0100
   @@ -1,3 +1,5 @@
   +META-INF/
   +META-INF/MANIFEST.MF
    org/
    org/apache/
    org/apache/flink/
   @@ -87,6 +89,13 @@
    org/apache/flink/table/client/gateway/local/ExecutionContext$1.class
    org/apache/flink/table/client/gateway/TypedResult.class
    org/apache/flink/table/client/gateway/TypedResult$ResultType.class
   +META-INF/DEPENDENCIES
   +META-INF/maven/
   +META-INF/maven/org.apache.flink/
   +META-INF/maven/org.apache.flink/flink-sql-client_2.11/
   +META-INF/maven/org.apache.flink/flink-sql-client_2.11/pom.xml
   +META-INF/maven/org.apache.flink/flink-sql-client_2.11/pom.properties
   +META-INF/NOTICE
    org/apache/calcite/
    org/apache/calcite/avatica/
    org/apache/calcite/avatica/util/
   @@ -2972,6 +2981,10 @@
    org/apache/flink/table/functions/sql/ScalarSqlFunctions.class
    org/apache/flink/table/functions/sql/ScalarSqlFunctions$$anon$1.class
    org/apache/flink/table/functions/sql/ProctimeSqlFunction$.class
   +META-INF/LICENSE
   +META-INF/maven/org.apache.flink/flink-table_2.11/
   +META-INF/maven/org.apache.flink/flink-table_2.11/pom.xml
   +META-INF/maven/org.apache.flink/flink-table_2.11/pom.properties
    org/apache/flink/table/utils/
    org/apache/flink/table/utils/EncodingUtils.class
    org/apache/flink/table/utils/TypeStringUtils$TokenConverter.class
   @@ -2995,6 +3008,13 @@
    org/apache/flink/table/api/TableSchema$Builder.class
    org/apache/flink/table/api/TableException.class
    org/apache/flink/table/api/TableSchema.class
   +META-INF/maven/org.apache.flink/flink-table-common/
   +META-INF/maven/org.apache.flink/flink-table-common/pom.xml
   +META-INF/maven/org.apache.flink/flink-table-common/pom.properties
   +META-INF/maven/org.codehaus.janino/
   +META-INF/maven/org.codehaus.janino/janino/
   +META-INF/maven/org.codehaus.janino/janino/pom.xml
   +META-INF/maven/org.codehaus.janino/janino/pom.properties
    org/codehaus/
    org/codehaus/janino/
    org/codehaus/janino/Access.class
   @@ -3440,6 +3460,9 @@
    org/codehaus/janino/Visitor$TypeVisitor.class
    org/codehaus/janino/Visitor.class
    org.codehaus.commons.compiler.properties
   +META-INF/maven/org.codehaus.janino/commons-compiler/
   +META-INF/maven/org.codehaus.janino/commons-compiler/pom.xml
   +META-INF/maven/org.codehaus.janino/commons-compiler/pom.properties
    org/codehaus/commons/
    org/codehaus/commons/compiler/
    org/codehaus/commons/compiler/AbstractCompilerFactory.class
   @@ -4671,6 +4694,10 @@
    org/apache/calcite/sql/SqlOverOperator.class
    org/apache/calcite/sql/SqlOrderBy.class
    org/apache/calcite/sql/SqlWriter$Frame.class
   +META-INF/maven/org.apache.calcite/
   +META-INF/maven/org.apache.calcite/calcite-core/
   +META-INF/maven/org.apache.calcite/calcite-core/pom.xml
   +META-INF/git.properties
    org/apache/calcite/package-info.class
    org/apache/calcite/Demo.class
    org/apache/calcite/profile/package-info.class
   @@ -6000,6 +6027,7 @@
    org/apache/calcite/sql/SqlJdbcFunctionCall$JdbcToInternalLookupTable$3.class
    org/apache/calcite/sql/SqlDataTypeSpec.class
    org/apache/calcite/sql/SqlWindow$1.class
   +META-INF/maven/org.apache.calcite/calcite-core/pom.properties
    org/apache/calcite/avatica/proto/
    
org/apache/calcite/avatica/proto/Requests$PrepareAndExecuteBatchRequest$Builder.class
    
org/apache/calcite/avatica/proto/Common$MetaDataOperationArgument$Builder.class
   @@ -6274,6 +6302,10 @@
    org/apache/calcite/avatica/remote/Service$DatabasePropertyResponse.class
    org/apache/calcite/avatica/remote/LocalService.class
    org/apache/calcite/avatica/SqlState$Category.class
   +META-INF/maven/org.apache.calcite.avatica/
   +META-INF/maven/org.apache.calcite.avatica/avatica-core/
   +META-INF/maven/org.apache.calcite.avatica/avatica-core/pom.xml
   +META-INF/maven/org.apache.calcite.avatica/avatica-core/pom.properties
    org/apache/calcite/avatica/MetaImpl$MetaClientInfoProperty.class
    org/apache/calcite/avatica/ConnectionConfigImpl$4.class
    org/apache/calcite/avatica/AvaticaDatabaseMetaData$25.class
   @@ -6883,6 +6915,9 @@
    org/apache/calcite/linq4j/QueryableRecorder$96.class
    org/apache/calcite/linq4j/QueryableRecorder$87.class
    org/apache/calcite/linq4j/QueryableRecorder$89.class
   +META-INF/maven/org.apache.calcite/calcite-linq4j/
   +META-INF/maven/org.apache.calcite/calcite-linq4j/pom.xml
   +META-INF/maven/org.apache.calcite/calcite-linq4j/pom.properties
    org/apache/calcite/linq4j/QueryableRecorder$2.class
    org/apache/calcite/linq4j/RawEnumerable.class
    org/apache/calcite/linq4j/QueryableRecorder$28.class
   @@ -7371,6 +7406,14 @@
    org/apache/flink/calcite/shaded/com/esri/core/geometry/WktParser$State.class
    
org/apache/flink/calcite/shaded/com/esri/core/geometry/WktParser$WktToken.class
    org/apache/flink/calcite/shaded/com/esri/core/geometry/WktParser.class
   +META-INF/maven/com.esri.geometry/
   +META-INF/maven/com.esri.geometry/esri-geometry-api/
   +META-INF/maven/com.esri.geometry/esri-geometry-api/pom.xml
   +META-INF/maven/com.esri.geometry/esri-geometry-api/pom.properties
   +META-INF/maven/com.google.guava/
   +META-INF/maven/com.google.guava/guava/
   +META-INF/maven/com.google.guava/guava/pom.properties
   +META-INF/maven/com.google.guava/guava/pom.xml
    org/apache/flink/calcite/shaded/com/google/
    org/apache/flink/calcite/shaded/com/google/common/
    org/apache/flink/calcite/shaded/com/google/common/annotations/
   @@ -9158,6 +9201,11 @@
    
org/apache/flink/calcite/shaded/org/pentaho/aggdes/algorithm/Algorithm$CostBenefit.class
    org/apache/flink/calcite/shaded/org/pentaho/aggdes/algorithm/Result.class
    
org/apache/flink/calcite/shaded/org/pentaho/aggdes/algorithm/Algorithm$ParameterEnum.class
   +META-INF/maven/net.hydromatic/
   +META-INF/maven/net.hydromatic/aggdesigner-algorithm/
   +META-INF/maven/net.hydromatic/aggdesigner-algorithm/pom.xml
   +META-INF/maven/net.hydromatic/aggdesigner-algorithm/pom.properties
   +META-INF/LICENSE.txt
    org/apache/flink/table/shaded/
    org/apache/flink/table/shaded/org/
    org/apache/flink/table/shaded/org/joda/
   @@ -9832,7 +9880,13 @@
    org/apache/flink/table/shaded/org/joda/time/YearMonthDay$Property.class
    org/apache/flink/table/shaded/org/joda/time/YearMonthDay.class
    org/apache/flink/table/shaded/org/joda/time/Years.class
   -META-INF/
   +META-INF/maven/joda-time/
   +META-INF/maven/joda-time/joda-time/
   +META-INF/maven/joda-time/joda-time/pom.xml
   +META-INF/maven/joda-time/joda-time/pom.properties
   +META-INF/maven/org.apache.flink/force-shading/
   +META-INF/maven/org.apache.flink/force-shading/pom.xml
   +META-INF/maven/org.apache.flink/force-shading/pom.properties
    META-INF/services/
    META-INF/services/org.apache.flink.table.factories.TableFactory
    org/apache/flink/cep/
   @@ -9937,6 +9991,9 @@
    org/apache/flink/cep/operator/CEPOperatorUtils$2.class
    org/apache/flink/cep/operator/CEPOperatorUtils$4.class
    org/apache/flink/cep/operator/FlatSelectTimeoutCepOperator.class
   +META-INF/maven/org.apache.flink/flink-cep_2.11/
   +META-INF/maven/org.apache.flink/flink-cep_2.11/pom.xml
   +META-INF/maven/org.apache.flink/flink-cep_2.11/pom.properties
    org/jline/
    org/jline/terminal/
    org/jline/terminal/MouseEvent$Modifier.class
   @@ -10042,6 +10099,10 @@
    org/jline/utils/WriterOutputStream.class
    org/jline/utils/NonBlockingPumpInputStream$1.class
    org/jline/utils/Curses.class
   +META-INF/maven/org.jline/
   +META-INF/maven/org.jline/jline-terminal/
   +META-INF/maven/org.jline/jline-terminal/pom.xml
   +META-INF/maven/org.jline/jline-terminal/pom.properties
    org/jline/reader/
    org/jline/reader/Expander.class
    org/jline/reader/impl/
   @@ -10081,6 +10142,8 @@
    org/jline/reader/Binding.class
    org/jline/reader/LineReader.class
    org/jline/reader/History.class
   +META-INF/maven/org.jline/jline-reader/
   +META-INF/maven/org.jline/jline-reader/pom.properties
    org/jline/reader/impl/SimpleMaskingCallback.class
    org/jline/reader/impl/completer/NullCompleter.class
    org/jline/reader/impl/BufferImpl.class
   @@ -10103,3 +10166,4 @@
    org/jline/reader/EOFError.class
    org/jline/reader/Parser.class
    org/jline/reader/History$Entry.class
   +META-INF/maven/org.jline/jline-reader/pom.xml
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Define flink-sql-client uber-jar dependencies via artifactSet
> -------------------------------------------------------------
>
>                 Key: FLINK-11005
>                 URL: https://issues.apache.org/jira/browse/FLINK-11005
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.7.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> The module {{flink-sql-client}} defines the content of its uber jar via 
> filtering files from the set of all dependencies. I think this is not ideal 
> because it misses for example the {{NOTICE}} files from down stream 
> dependencies. 
> A solution could be to define an 
> {{<artifactSet><includes><include></include></includes></artifactSet>}} and 
> exclude files via the filter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to