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

Patrick D. Hunt resolved ZOOKEEPER-3797.
----------------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

> 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.0, 3.6.1
>            Reporter: Enrico Olivelli
>            Assignee: Enrico Olivelli
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 3.6.1, 3.6.0
>
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to