THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Resolve hadoop dependency when building zeppelin-server without any profile
Status
Active Profiles for Project 'org.apache.zeppelin:zeppelin-server:jar:0.11.0-SNAPSHOT': The following profiles are active: - using-source-tree (source: org.apache.zeppelin:zeppelin-server:0.11.0-SNAPSHOT) - rat (source: org.apache.zeppelin:zeppelin:0.11.0-SNAPSHOT)
How to reproduce
- Build zeppelin with
./mvnw clean package -DskipTests - Check compile error like
Cannot find a symbol ...
How to solve
- Activate hadoop2 or hadoop3 by default
- Add provided dependency by default
- In this case, if we set hadoop2 or hadoop3 profiles, those dependencies should be included in a jar