Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
3.6.0, 3.6.1
-
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
- relates to
-
ZOOKEEPER-3791 Miscellaneous Maven improvements
- Closed
- links to