GitHub user takezoe reopened a pull request:

    https://github.com/apache/incubator-predictionio/pull/381

    Fix sbt warnings

    Some operators are deprecated since sbt 0.13.13, so current sbt 
configuration causes following warnings. This pull request fix them.
    ```
    [info] Compiling 1 Scala source to 
/Users/takezoe/Downloads/apache-predictionio-0.11.0-incubating/apache-predictionio-0.11.0-incubating/project/target/scala-2.10/sbt-0.13/classes...
    
/Users/takezoe/Downloads/apache-predictionio-0.11.0-incubating/apache-predictionio-0.11.0-incubating/build.sbt:86:
 warning: `<+=` operator is deprecated. Use `lhs += { x.value }`.
      sourceGenerators in Compile <+= buildInfo,
                                  ^
    
/Users/takezoe/Downloads/apache-predictionio-0.11.0-incubating/apache-predictionio-0.11.0-incubating/tools/build.sbt:38:
 warning: `<<=` operator is deprecated. Use `key := { x.value }` or `key ~= 
(old => { newValue })`.
    See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html
    assemblyExcludedJars in assembly <<= (fullClasspath in assembly) map { cp =>
                                     ^
    
/Users/takezoe/Downloads/apache-predictionio-0.11.0-incubating/apache-predictionio-0.11.0-incubating/tools/build.sbt:58:
 warning: `<+=` operator is deprecated. Use `lhs += { x.value }`.
    cleanFiles <+= baseDirectory { base => base.getParentFile /
               ^
    [info] Set current project to apache-predictionio-parent (in build 
file:/Users/takezoe/Downloads/apache-predictionio-0.11.0-incubating/apache-predictionio-0.11.0-incubating/)
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/takezoe/incubator-predictionio 
fix-sbt-warnings

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-predictionio/pull/381.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #381
    
----
commit 1dcbe1aade300a4b4053757ef94e371bc6baa54a
Author: Naoki Takezoe <take...@gmail.com>
Date:   2017-05-06T17:07:48Z

    Fix sbt warnings

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to