05.12.2011, 17:50
(05.12.2011, 06:50)routeconverter Wrote: Ok, bitte compilier mal mit
mvn clean package -Plauncher
damit ist er bei mir durchgelaufen. (was bewirkt -Plauncher ?)
Dummerweise bricht der Build nun nach einem "git pull" mit einem anderen Fehler ab. Da scheinen irgendwelche Tests jetzt schief zu gehen...
Quote:Failed tests:
testCreateDeURL(slash.navigation.nmn.NmnUrlFormatTest): expected:<navigon[DEU]://route/?target=coo...> but was:<navigon[]://route/?target=coo...>
testCreateUsaURL(slash.navigation.nmn.NmnUrlFormatTest): expected:<navigon[USA-CA]://route/?target=coo...> but was:<navigon[]://route/?target=coo...>
Tests run: 278, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] RouteConverter .................................... SUCCESS [0.140s]
[INFO] Code shared by all modules ........................ SUCCESS [4.687s]
[INFO] Encapsulate Java Architecture for XML Binding (JAXB) access under Java 1.6 SUCCESS [1.091s]
[INFO] Support for the GPX formats ....................... SUCCESS [2.043s]
[INFO] REST webservice client ............................ SUCCESS [1.412s]
[INFO] Access to the Google Maps API Geocoding service ... SUCCESS [2.444s]
[INFO] Support for the Google Earth KML formats .......... SUCCESS [10.936s]
[INFO] Read and write all supported navigation formats ... FAILURE [16.113s]
[INFO] Access to the RouteCatalog service ................ SKIPPED
[INFO] Code shared by all UI modules ..................... SKIPPED
[INFO] Access to the earthtools.org service .............. SKIPPED
[INFO] Code shared by all MapView modules ................ SKIPPED
[INFO] ElevationView based on the JFreeChart library ..... SKIPPED
[INFO] Access to the Feedback service .................... SKIPPED
[INFO] Access to the geonames.org service ................ SKIPPED
[INFO] Access to the HGT files ........................... SKIPPED
[INFO] Complete positions with data from external services SKIPPED
[INFO] MapView based on the Eclipse SWT library .......... SKIPPED
[INFO] The UI you see if you start the program ........... SKIPPED
[INFO] The command line you can use to start the program . SKIPPED
[INFO] The build license module .......................... SKIPPED
[INFO] The build parent module ........................... SKIPPED
[INFO] The platform independent part of the RouteConverter UI tool SKIPPED
[INFO] The RouteConverter command line tool .............. SKIPPED
[INFO] The RouteConverter UI tool for Linux .............. SKIPPED
[INFO] The RouteConverter UI tool for Linux (64-bit) ..... SKIPPED
[INFO] The RouteConverter UI tool for Mac OS X ........... SKIPPED
[INFO] The RouteConverter UI tool for Mac OS X (64-bit) .. SKIPPED
[INFO] The RouteConverter UI tool for Windows ............ SKIPPED
[INFO] The RouteConverter UI tool for Windows (64-bit) ... SKIPPED
[INFO] The RouteConverter UI tool for Webstart ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52.347s
[INFO] Finished at: Mon Dec 05 17:31:48 CET 2011
[INFO] Final Memory: 20M/92M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project navigation-formats: There are test failures.
[ERROR]
[ERROR] Please refer to C:\work\routeconverter\RouteConverter\navigation-formats\target\surefire-reports for the individual test results.
[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/displ...eException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :navigation-formats
Was die Encoding-Effekte angeht, so zeigt IntelliJ IDEA jetzt ein anderes File, als nicht UTF-8 an:
RouteConverter\geonames\src\test\java\slash\navigation\geonames\GeoNamesServiceIT.java
Bei dem abgebrochenen Kommandozeilenbuild tauchte zuvor immer wieder folgende Zeile auf:
Using 'Cp1252' encoding to copy filtered resources.
Ist diese Ausgabe normal, oder schon ein Hinweis auf Unstimmigkeiten in meinem System ?
Gruß
Thomas
