Enrico Olivelli created ZOOKEEPER-3797:
------------------------------------------

             Summary: 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
             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)

Reply via email to