Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3797

Conflict between fatjar and full-build Maven profiles in branch-3.6

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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

      [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
      

      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

      Attachments

        Issue Links

          Activity

            People

              eolivelli Enrico Olivelli
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 40m
                  4h 40m