Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkMultipleScalaVersions still outputs info message #158

Closed
jangalinski opened this issue Oct 16, 2014 · 1 comment
Closed

checkMultipleScalaVersions still outputs info message #158

jangalinski opened this issue Oct 16, 2014 · 1 comment

Comments

@jangalinski
Copy link

I get

         [INFO] Checking for multiple versions of scala

although I set checkMultipleScalaVersions to false.

I am on 3.2.0

@davidB
Copy link
Owner

davidB commented Oct 16, 2014

Strange, it's a debug message (see https://github.com/davidB/scala-maven-plugin/blob/master/src/main/java/scala_maven/ScalaMojoSupport.java#L573). I can't reproduce on a simple case.

➜  test1 git:(master) mvn clean package
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building test1 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ test1 ---
[INFO] Deleting /home/dwayne/work/oss/scala-maven-plugin/target/it/test1/target
[INFO] Deleting /home/dwayne/work/oss/scala-maven-plugin/target/it/test1/myCustomDir
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test1 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/dwayne/work/oss/scala-maven-plugin/target/it/test1/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ test1 ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /home/dwayne/work/oss/scala-maven-plugin/target/it/test1/myCustomDir
[INFO] 
[INFO] --- scala-maven-plugin:3.2.1-SNAPSHOT:compile (cmain) @ test1 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ test1 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/dwayne/work/oss/scala-maven-plugin/target/it/test1/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ test1 ---
[INFO] No sources to compile
[INFO] 
[INFO] --- scala-maven-plugin:3.2.1-SNAPSHOT:testCompile (ctest) @ test1 ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ test1 ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ test1 ---
[INFO] Building jar: /home/dwayne/work/oss/scala-maven-plugin/target/it/test1/target/test1-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.436s
[INFO] Finished at: Thu Oct 16 14:57:08 CEST 2014
[INFO] Final Memory: 15M/310M
[INFO] ------------------------------------------------------------------------

version info

➜  test1 git:(master) mvn --version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)
Maven home: /home/dwayne/bin/soft/apache-maven-3.1.1
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /home/dwayne/bin/soft/jdk1.7.0_60/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "3.16.3-1-arch", arch: "amd64", family: "unix"

➜  test1 git:(master) mvn org.codehaus.mojo:versions-maven-plugin:2.1:display-plugin-updates
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building test1 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
...
[INFO] Require Maven 3.0.4 to use the following plugin updates:
[INFO]   net.alchim31.maven:scala-maven-plugin ......................... 3.2.0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.821s
[INFO] Finished at: Thu Oct 16 15:01:14 CEST 2014
[INFO] Final Memory: 9M/310M
[INFO] ------------------------------------------------------------------------

Can you provide more info (context ...) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants