[ https://issues.apache.org/jira/browse/RATIS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812356#comment-16812356 ]
Tsz Wo Nicholas Sze commented on RATIS-517: ------------------------------------------- r517_20190408.patch: overwrites the example jar with the shaded jar. Also fixes the doc. > Examples cannot be run after assembly > ------------------------------------- > > Key: RATIS-517 > URL: https://issues.apache.org/jira/browse/RATIS-517 > Project: Ratis > Issue Type: Bug > Components: build > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Priority: Blocker > Attachments: r517_20190408.patch > > > Thanks [~ljain] for discovering the following problems: > - While executing in the binary I got the following error. > {code} > no main manifest attribute, in > apache-ratis-incubating-0.3.0/examples/bin/../lib/ratis-examples-0.3.0.jar > {code} > - For the source after doing "maven clean package” I got the following error. > {code} > ratis-examples/src/main/bin/../../../target/ratis-examples-0.3.0-shaded.jar > ratis-examples/src/main/bin/../../../target/ratis-examples-0.3.0.jar > Jar file is missing. Please do a full build (mvn clean package) first. > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)