You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/18 07:14:00 UTC

[jira] [Updated] (ZOOKEEPER-3797) Conflict between fatjar and full-build Maven profiles in branch-3.6

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ZOOKEEPER-3797:
--------------------------------------
    Labels: pull-request-available  (was: )

> Conflict between fatjar and full-build Maven profiles in branch-3.6
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3797
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3797
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.6.1
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 3.6.1
>
>
> fatjat and full-build profiles conflict, because both enable the fatjar module.
> but with full-build the fatjar is not actually built.
> This is an example of error
> {code:java}
> [eolivelli@localhost zookeeper]$ mvn clean -Pfull-build,fatjar
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Project 'org.apache.zookeeper:zookeeper-contrib-fatjar:3.6.1-SNAPSHOT' is duplicated in the reactor @ 
> [ERROR] Project 'org.apache.zookeeper:zookeeper-contrib-fatjar:3.6.1-SNAPSHOT' is duplicated in the reactor -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, pl
> {code}
> The minimal fix is to enable fatjar even with full-build profile.
> The full-build profile is meant to build all of the modules, and it is used during the release process as well



--
This message was sent by Atlassian Jira
(v8.3.4#803005)