[
https://issues.apache.org/jira/browse/BAHIR-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985507#comment-15985507
]
ASF GitHub Bot commented on BAHIR-112:
--------------------------------------
GitHub user ckadner opened a pull request:
https://github.com/apache/bahir-flink/pull/16
[BAHIR-112] Build Scala, enable Scalatest and Scalastyle
Issue link: [BAHIR-112: Maven reports "No sources to compile" in
flink-connector-netty](https://issues.apache.org/jira/browse/BAHIR-112)
The Maven build for *Bahir-Flink* is only set up for **Java** sources
currently. However the module `flink-connector-netty` is written in **Scala**,
so none of that code is being compiled, tested or verified.
This PR adds the **Scala, Scalatest, Scalastyle** maven plugins to the root
`pom.xml` and modifies some of the Scala sources to comply with the enforced
coding style.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ckadner/bahir-flink
BAHIR-112_build_Scala_sources
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bahir-flink/pull/16.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 #16
----
commit 38c0c1ac386c56216d8c59343a7e4cf951601414
Author: Christian Kadner <[email protected]>
Date: 2017-04-26T20:30:56Z
[BAHIR-112] Build Scala sources and enable Scalatest
----
> Maven reports "No sources to compile" in flink-connector-netty
> --------------------------------------------------------------
>
> Key: BAHIR-112
> URL: https://issues.apache.org/jira/browse/BAHIR-112
> Project: Bahir
> Issue Type: Bug
> Components: Build, Flink Streaming Connectors
> Affects Versions: Flink-0.1
> Reporter: Christian Kadner
> Priority: Critical
>
> Run:
> {code}
> mvn clean test -pl flink-connector-netty | grep -A1 "maven-compile"
> {code}
> Output:
> {code}
> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @
> flink-connector-netty_2.11 ---
> [INFO] No sources to compile
> --
> [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @
> flink-connector-netty_2.11 ---
> [INFO] No sources to compile
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)