[
https://issues.apache.org/jira/browse/RATIS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379396#comment-16379396
]
Elek, Marton commented on RATIS-211:
------------------------------------
In the binary release, we have the following jar files:
./jars/ratis-replicated-map-0.1.1-alpha-SNAPSHOT.jar
./jars/ratis-hadoop-0.1.1-alpha-SNAPSHOT.jar
./jars/ratis-netty-0.1.1-alpha-SNAPSHOT.jar
./jars/ratis-grpc-0.1.1-alpha-SNAPSHOT.jar
./jars/ratis-server-0.1.1-alpha-SNAPSHOT.jar
./jars/ratis-client-0.1.1-alpha-SNAPSHOT.jar
./jars/ratis-common-0.1.1-alpha-SNAPSHOT.jar
./examples/lib/ratis-examples-0.1.1-alpha-SNAPSHOT.jar
The only problematic here is ratis-examples which contains other shaded resource
1. I modifed the classpath of the examples to use hadoop-proto only with test
scope: we can test the examples with hadoop proto but the binary release will
contain only grpc which has fewer external dependencies
2. The ratis-example has he following dependencies:
[INFO] io.dropwizard.metrics:metrics-core:jar:3.2.5:compile
--> Notice is added to the NOTICE file
[INFO] log4j:log4j:jar:1.2.17:compile
[INFO] org.apache.ratis:ratis-client:jar:0.1.1-alpha-SNAPSHOT:compile
[INFO] org.apache.ratis:ratis-common:jar:0.1.1-alpha-SNAPSHOT:compile
[INFO] org.apache.ratis:ratis-grpc:jar:0.1.1-alpha-SNAPSHOT:compile
[INFO] org.apache.ratis:ratis-netty:jar:0.1.1-alpha-SNAPSHOT:compile
[INFO] org.apache.ratis:ratis-proto-shaded:jar:0.1.1-alpha-SNAPSHOT:compile
[INFO] org.apache.ratis:ratis-server:jar:0.1.1-alpha-SNAPSHOT:compile
--> Apache projects: they are ok
[INFO] org.jctools:jctools-core:jar:1.2.1:compile
--> Apache licence, no copyright notice
[INFO] org.slf4j:slf4j-api:jar:1.7.10:compile
[INFO] org.slf4j:slf4j-log4j12:jar:1.7.10:compile
--> Added to the LICENSE.txt
3. The proto-shaded files also contains 3rd party dependencies:
[INFO] io.grpc:grpc-context:jar:1.0.1:compile
[INFO] io.grpc:grpc-core:jar:1.0.1:compile
[INFO] io.grpc:grpc-netty:jar:1.0.1:compile
[INFO] io.grpc:grpc-protobuf:jar:1.0.1:compile
[INFO] io.grpc:grpc-protobuf-lite:jar:1.0.1:compile
[INFO] io.grpc:grpc-stub:jar:1.0.1:compile
--> added to the NOTICE
[INFO] com.google.guava:guava:jar:19.0:compile
--> No notice
[INFO] com.google.protobuf.nano:protobuf-javanano:jar:3.1.0:compile
[INFO] com.google.protobuf:protobuf-java:jar:3.1.0:compile
[INFO] com.google.protobuf:protobuf-java-util:jar:3.0.0:compile
--> Already part of LICENSE.txt
[INFO] com.yammer.metrics:metrics-core:jar:2.2.0:compile
--> Added to the notice
[INFO] io.netty:netty-all:jar:4.1.3.Final:compile
[INFO] io.netty:netty-buffer:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-dns:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-haproxy:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-http2:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-http:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-memcache:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-mqtt:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-redis:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-socks:jar:4.1.3.Final:compile
[INFO] io.netty:netty-codec-stomp:jar:4.1.3.Final:compile
[INFO] io.netty:netty-common:jar:4.1.3.Final:compile
[INFO] io.netty:netty-example:jar:4.1.3.Final:compile
[INFO] io.netty:netty-handler:jar:4.1.3.Final:compile
[INFO] io.netty:netty-handler-proxy:jar:4.1.3.Final:compile
[INFO] io.netty:netty-resolver-dns:jar:4.1.3.Final:compile
[INFO] io.netty:netty-resolver:jar:4.1.3.Final:compile
[INFO] io.netty:netty-tcnative:jar:linux-x86_64:1.1.33.Fork19:compile
[INFO] io.netty:netty-transport:jar:4.1.3.Final:compile
[INFO] io.netty:netty-transport-rxtx:jar:4.1.3.Final:compile
[INFO] io.netty:netty-transport-sctp:jar:4.1.3.Final:compile
[INFO] io.netty:netty-transport-udt:jar:4.1.3.Final:compile
--> added to the license
> Include copyright notices required by a binary release
> ------------------------------------------------------
>
> Key: RATIS-211
> URL: https://issues.apache.org/jira/browse/RATIS-211
> Project: Ratis
> Issue Type: Bug
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Fix For: 0.2.0-alpha
>
> Attachments: RATIS-211.001.patch
>
>
> Since RATIS-174 we have a binary assembly which contains the precompiled jar
> files and he examples.
> To release it we need to add all the required copyright notices to the NOTICE
> file.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)