Github user Leemoonsoo commented on the issue:

    https://github.com/apache/zeppelin/pull/1400
  
    I'm sorry my comment is bit late. code is already been merged.
    
    But let my write it for the records
    
    Because of all our documents and scripts uses `-Pscala-2.xx` instead of 
`-Dscala-2.xx`. And with `-Pscala-2.xx` we don't have any problem.
    
    Build instruction
    https://github.com/apache/zeppelin#-pscala-version-optional
    
    travis ci script
    https://github.com/apache/zeppelin/blob/master/.travis.yml#L43
    
    release script
    https://github.com/apache/zeppelin/blob/master/dev/create_release.sh#L106
    
    
    If we want to use `-D` instead of `-P` to activate profile, that's 
different story.
    I think using `-D` is actually more flexible than `-P` in maven, but while 
all other profiles are activated by `-P`, i'm not sure only activating scala 
profile by `-D` can be helpful and beneficial.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to