Open ghost opened 7 years ago
This seems to have been closed erroneously. The build failure still occurs with the latest commits:
$ cd ../euclid/
$ git pull pmr
Updating 616c84c..9f21285
Fast-forward
pom.xml | 2 +-
src/main/java/org/xmlcml/euclid/util/MultisetUtil.java | 14 ++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
$ mvn clean install
[...]
[INFO] BUILD SUCCESS
[...]
$ cd ../svg
$ git pull pmr
Updating beccb7c..f5b466b
Fast-forward
pom.xml | 2 +-
src/main/java/org/xmlcml/graphics/svg/ShapeExtractor.java | 3 ++-
src/main/java/org/xmlcml/graphics/svg/linestuff/Path2ShapeConverter.java | 14 ++++++++++++--
src/main/java/org/xmlcml/graphics/svg/plot/AxisScaleBox.java | 5 +++--
src/main/java/org/xmlcml/graphics/svg/plot/PlotBox.java | 36 +++++++++++++++++++++++++++++++-----
src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
src/test/java/org/xmlcml/graphics/svg/plot/PlotBoxTest.java | 4 ++--
7 files changed, 103 insertions(+), 13 deletions(-)
$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.contentmine:svg:jar:1.2.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.contentmine:svg:${svg.version}, /home/sampablokuper/Documents/projects/contentmine/repositories/svg/pom.xml, line 15, 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] ------------------------------------------------------------------------
[INFO] Building svg 1.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ svg ---
[INFO] Deleting /home/sampablokuper/Documents/projects/contentmine/repositories/svg/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ svg ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ svg ---
[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 109 source files to /home/sampablokuper/Documents/projects/contentmine/repositories/svg/target/classes
[INFO] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/ShapeExtractor.java: Some input files use or override a deprecated API.
[INFO] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/ShapeExtractor.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/PlotBox.java:[567,56] cannot find symbol
symbol: method createStringEntryList(java.lang.Iterable<com.google.common.collect.Multiset.Entry<java.lang.String>>)
location: class org.xmlcml.euclid.util.MultisetUtil
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[198,54] cannot find symbol
symbol: method hasNaN()
location: variable tickValues of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[200,68] cannot find symbol
symbol: method createDoubleDifferenceMultiset(int)
location: variable tickValues of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[201,79] cannot find symbol
symbol: method createIntegerDifferenceMultiset()
location: variable tickValueCoords of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[202,73] cannot find symbol
symbol: method createIntegerDifferenceMultiset()
location: variable tickCoords of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[226,57] cannot find symbol
symbol: method createDoubleDifferenceMultiset(int)
location: variable tick2ValueDiffs of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AxialBox.java:[103,27] cannot find symbol
symbol: method extendUpperEndBy(org.xmlcml.euclid.RealRange.Direction,double)
location: variable captureBox of type org.xmlcml.euclid.Real2Range
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AxialBox.java:[104,27] cannot find symbol
symbol: method extendLowerEndBy(org.xmlcml.euclid.RealRange.Direction,double)
location: variable captureBox of type org.xmlcml.euclid.Real2Range
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AxialBox.java:[105,27] cannot find symbol
symbol: method extendBothEndsBy(org.xmlcml.euclid.RealRange.Direction,double,double)
location: variable captureBox of type org.xmlcml.euclid.Real2Range
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java:[210,63] cannot find symbol
symbol: method getCommonestValue(com.google.common.collect.Multiset<java.lang.Double>)
location: class org.xmlcml.euclid.util.MultisetUtil
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java:[228,63] cannot find symbol
symbol: method getLowestValue(com.google.common.collect.Multiset<java.lang.Double>)
location: class org.xmlcml.euclid.util.MultisetUtil
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java:[246,40] cannot find symbol
symbol: method getHighestValue(com.google.common.collect.Multiset<java.lang.Double>)
location: class org.xmlcml.euclid.util.MultisetUtil
[INFO] 12 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.031 s
[INFO] Finished at: 2017-06-15T14:57:35+01:00
[INFO] Final Memory: 16M/205M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project svg: Compilation failure: Compilation failure:
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/PlotBox.java:[567,56] cannot find symbol
[ERROR] symbol: method createStringEntryList(java.lang.Iterable<com.google.common.collect.Multiset.Entry<java.lang.String>>)
[ERROR] location: class org.xmlcml.euclid.util.MultisetUtil
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[198,54] cannot find symbol
[ERROR] symbol: method hasNaN()
[ERROR] location: variable tickValues of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[200,68] cannot find symbol
[ERROR] symbol: method createDoubleDifferenceMultiset(int)
[ERROR] location: variable tickValues of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[201,79] cannot find symbol
[ERROR] symbol: method createIntegerDifferenceMultiset()
[ERROR] location: variable tickValueCoords of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[202,73] cannot find symbol
[ERROR] symbol: method createIntegerDifferenceMultiset()
[ERROR] location: variable tickCoords of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AnnotatedAxis.java:[226,57] cannot find symbol
[ERROR] symbol: method createDoubleDifferenceMultiset(int)
[ERROR] location: variable tick2ValueDiffs of type org.xmlcml.euclid.RealArray
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AxialBox.java:[103,27] cannot find symbol
[ERROR] symbol: method extendUpperEndBy(org.xmlcml.euclid.RealRange.Direction,double)
[ERROR] location: variable captureBox of type org.xmlcml.euclid.Real2Range
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AxialBox.java:[104,27] cannot find symbol
[ERROR] symbol: method extendLowerEndBy(org.xmlcml.euclid.RealRange.Direction,double)
[ERROR] location: variable captureBox of type org.xmlcml.euclid.Real2Range
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/plot/AxialBox.java:[105,27] cannot find symbol
[ERROR] symbol: method extendBothEndsBy(org.xmlcml.euclid.RealRange.Direction,double,double)
[ERROR] location: variable captureBox of type org.xmlcml.euclid.Real2Range
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java:[210,63] cannot find symbol
[ERROR] symbol: method getCommonestValue(com.google.common.collect.Multiset<java.lang.Double>)
[ERROR] location: class org.xmlcml.euclid.util.MultisetUtil
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java:[228,63] cannot find symbol
[ERROR] symbol: method getLowestValue(com.google.common.collect.Multiset<java.lang.Double>)
[ERROR] location: class org.xmlcml.euclid.util.MultisetUtil
[ERROR] /home/sampablokuper/Documents/projects/contentmine/repositories/svg/src/main/java/org/xmlcml/graphics/svg/text/SVGPhrase.java:[246,40] cannot find symbol
[ERROR] symbol: method getHighestValue(com.google.common.collect.Multiset<java.lang.Double>)
[ERROR] location: class org.xmlcml.euclid.util.MultisetUtil
[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
FAO @petermr . Steps to reproduce: