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

Fix casing issue that was causing compile error. #8

Merged
merged 1 commit into from
Feb 12, 2017

Conversation

zendern
Copy link
Contributor

@zendern zendern commented Feb 12, 2017

Code would not compile due to casing issue between class and filename.

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for javafx-d3-demo:javafx-d3-demo:pom:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 146, column 14
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] javafx-d3
[INFO] javafx-d3-demo
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building javafx-d3 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javafx-d3 ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ javafx-d3 ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ javafx-d3 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 190 source files to /Users/zender/dev/projects/delphicdb/workspace/javafx-d3/javafx-d3/target/classes
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building javafx-d3-demo 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ javafx-d3-demo ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.0:resources (resource-execution) @ javafx-d3-demo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] ignoreDelta true
[INFO] Copying 18 resources
[INFO] Copying file org/treez/javafxd3/d3/democases/axis/AxisComponent.css
[INFO] Copying file org/treez/javafxd3/d3/democases/barchart/BarChart.css
[INFO] Copying file org/treez/javafxd3/d3/democases/behaviors/ZoomDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/chorddiagram/ChordDiagram.css
[INFO] Copying file org/treez/javafxd3/d3/democases/focus/FocusAndContext.css
[INFO] Copying file org/treez/javafxd3/d3/democases/geom/hull/HullDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/geom/voronoi/VoronoiTessellationDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/layout/ClusterDendogram.css
[INFO] Copying file org/treez/javafxd3/d3/democases/svg/brush/ordinal/OrdinalBrushingDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/svg/brush/scatter/ScatterPlotMatrixDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/svg/brush/slider/BrushAsSliderDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/svg/brush/transitions/BrushTransitionsDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/svg/line/LineDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/svg/symbol/SymbolDemo.css
[INFO] Copying file org/treez/javafxd3/d3/democases/update/GeneralUpdatePattern1.css
[INFO] Copying file org/treez/javafxd3/d3/democases/update/GeneralUpdatePattern2.css
[INFO] Copying file org/treez/javafxd3/d3/democases/update/GeneralUpdatePattern3.css
[INFO] Copying file org/treez/javafxd3/d3/democases/xy/Xy.css
[INFO] ignoreDelta true
[INFO] Copying 1 resource
[INFO] Copying file readme.csv
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (compile-execution) @ javafx-d3-demo ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 76 source files to /Users/zender/dev/projects/delphicdb/workspace/javafx-d3/javafx-d3-demo/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/zender/dev/projects/delphicdb/workspace/javafx-d3/javafx-d3-demo/src/main/java/org/treez/javafxd3/d3/democases/svg/brush/scatter/ScatterplotMatrixDemo.java:[36,8] class ScatterPlotMatrixDemo is public, should be declared in a file named ScatterPlotMatrixDemo.java
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] javafx-d3 .......................................... SUCCESS [  5.841 s]
[INFO] javafx-d3-demo ..................................... FAILURE [  1.549 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.508 s
[INFO] Finished at: 2017-02-11T21:23:33-05:00
[INFO] Final Memory: 37M/3925M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (compile-execution) on project javafx-d3-demo: Compilation failure
[ERROR] /Users/zender/dev/projects/delphicdb/workspace/javafx-d3/javafx-d3-demo/src/main/java/org/treez/javafxd3/d3/democases/svg/brush/scatter/ScatterplotMatrixDemo.java:[36,8] class ScatterPlotMatrixDemo is public, should be declared in a file named ScatterPlotMatrixDemo.java
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :javafx-d3-demo```

Code would not compile due to casing issue between class and filename.
@stefaneidelloth stefaneidelloth merged commit c218705 into stefaneidelloth:master Feb 12, 2017
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

Successfully merging this pull request may close these issues.

2 participants