Skip to content

Scala warnings #140

Closed
Closed
@mosabua

Description

@mosabua

I get

INFO] --- scala-maven-plugin:3.3.1:testCompile (default) @ polyglot-scala ---
[INFO] Using incremental compilation
[WARNING] Pruning sources from previous analysis, due to incompatible CompileSetup.
[INFO] Compiling 5 Scala sources to /media/sf_dev/github/takari/polyglot-maven/polyglot-scala/target/test-classes...
[WARNING] /media/sf_dev/github/takari/polyglot-maven/polyglot-scala/src/test/scala/org/sonatype/maven/polyglot/scala/ScalaModelReaderWriterSpec.scala:27: trait AfterExample in package specification is deprecated: use the AfterEach trait instead
[WARNING] class ScalaModelReaderWriterSpec extends Specification with AfterExample {
[WARNING] ^
[WARNING] /media/sf_dev/github/takari/polyglot-maven/polyglot-scala/src/test/scala/org/sonatype/maven/polyglot/scala/ScalaModelReaderWriterSpec.scala:32: trait ModelSource in package building is deprecated: see corresponding Javadoc for more information.
[WARNING] val modelSource = new ModelSource {
[WARNING] ^
[WARNING] two warnings found
[INFO]

in the build log

Wanna have a look and maybe fix @lefou ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions