I've noticed this once and again, but chalked it up to some issue with
the shade plugin. I'm not quite sure where to start digging in to figure
out why it happens... will have to start broad :)
On 10/8/18 11:39 PM, Ted Yu wrote:
True.
Though I wouldn't expect the 'mvn install' to fail :-)
On Mon, Oct 8, 2018 at 8:14 PM Sergey Soldatov <[email protected]>
wrote:
I have the same result with mvn install. Actually, mvn clean install works
fine.
Thanks,
Sergey
On Mon, Oct 8, 2018 at 7:53 PM Ted Yu <[email protected]> wrote:
When running 'mvn install', I got:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default) on
project ratis-thirdparty: Error creating shaded jar: duplicate entry:
META-INF/services/org.apache.ratis.thirdparty.io.grpc.ServerProvider ->
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default) on
project ratis-thirdparty: Error creating shaded jar: duplicate entry:
META-INF/services/org.apache.ratis.thirdparty.io.grpc.ServerProvider
Here is my environment:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=812M; support was removed in 8.0
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T11:33:14-07:00)
Maven home: /Users/tyu/apache-maven-3.5.4
Java version: 1.8.0_151, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
Did I use the correct command ?
Thanks
On Mon, Oct 8, 2018 at 4:29 PM Josh Elser <[email protected]> wrote:
Hi,
Please vote on the following release candidate to become Apache Ratis
Thirdparty 0.1.0.
The Apache Ratis Thirdparty project is a collection of all thirdparty
dependencies that Apache Ratis uses, repackaged for optimal use by
Ratis. As such, there is very little net-new source code in this
project.
The source release is present at
https://dist.apache.org/repos/dist/dev/incubator/ratis/thirdparty/0.1.0-rc0/
SHA512 checksum is on the source tarball: A8A11CD5 447CD3AB 2341C878
E3DB4AEF 565224E5 FEC599DF 36143EAB 0999437B 767860FE
54E3DC2C D4A265D1 E844979E 4D311CDD 97BC7797 CF66219A 3331D9F1
This source release was created from the Git commit SHA1:
9e525162fcec8650b2d08dfdcbcdaee76231cc08. For your convenience, there
is
also a GPG-signed tag with the name "ratis-thirdparty-0.1.0" that also
points at this commit.
This source release was signed with my key: 4677D66C. This is present
in
the KEYS file (dist/dev and dist/release).
The corresponding "binaries" for this release are staged at
https://repository.apache.org/content/repositories/orgapacheratis-1007/
and will be promoted pending successful PPMC and IPMC votes. You can
update your local ~/.m2/settings.xml to add this as a repository to
test
the build of ratis.git if you choose (appears to work fine for me).
This vote will be open for at least 72hours (until 2018/10/12 00:00:00
GMT).
- Josh
ps: big thanks to Nicholas and Marton who helped out with this release
(sorry if I'm forgetting anyone else!)