[Geoserver-devel] HELP : problem compiling geoserver : version 2.6.0

Hello,

I can not compile (mvn compile) the code of geoserver 2.6.0 (Web Coverage Service 1.1 Module 2.6.0). I use MAVEN 3.2.1 and JDK 1.7.0_71 .

Thank you in advance for your help

Best regards

Here are the errors :

[INFO] ------------------------------------------------------------------------
[INFO] Building Web Coverage Service 1.1 Module 2.6.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — git-commit-id-plugin:2.0.4:revision (default) @ gs-wcs1_1 —
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO]
[INFO] — javacc-maven-plugin:2.3:jjtree (jjtree) @ gs-wcs1_1 —
[INFO] Nothing to process - all grammars in C:\Data\users\didier\eclipse\workspa
ces\geoserver\geoserver-2.6.0\src\wcs1_1\src\main\java\org\geoserver\wcs\kvp\ran
gesubset are up to date.
[INFO]
[INFO] — javacc-maven-plugin:2.3:javacc (javacc) @ gs-wcs1_1 —
Java Compiler Compiler Version 4.0 (Parser Generator)
(type “javacc” with no arguments for help)
Reading from file C:\Data\users\didier\eclipse\workspaces\geoserver\geoserver-2.
6.0\src\wcs1_1\target\jjtree\org\geoserver\wcs\kvp\rangesubset\rangeset.jj . . .

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer … SUCCESS [ 0.312 s]
[INFO] Core Platform Module … SUCCESS [ 0.674 s]
[INFO] Open Web Service Module … SUCCESS [ 0.390 s]
[INFO] Main Module … SUCCESS [ 2.846 s]
[INFO] GeoServer Security Modules … SUCCESS [ 0.040 s]
[INFO] GeoServer JDBC Security Module … SUCCESS [ 0.210 s]
[INFO] GeoServer LDAP Security Module … SUCCESS [ 0.280 s]
[INFO] Web Coverage Service Module … SUCCESS [ 0.180 s]
[INFO] Web Coverage Service 1.0 Module … SUCCESS [ 0.217 s]
[INFO] Web Coverage Service 1.1 Module … SKIPPED
[INFO] Web Coverage Service 2.0 Module … SKIPPED
[INFO] Web Feature Service Module … SKIPPED
[INFO] Web Map Service Module … SKIPPED
[INFO] KML support for GeoServer … SKIPPED
[INFO] GeoWebCache (GWC) Module … SKIPPED
[INFO] REST Support Module … SKIPPED
[INFO] REST Configuration Service Module … SKIPPED
[INFO] GeoServer Web Modules … SKIPPED
[INFO] Core UI Module … SKIPPED
[INFO] WMS UI Module … SKIPPED
[INFO] GWC UI Module … SKIPPED
[INFO] WFS UI Module … SKIPPED
[INFO] Demoes Module … SKIPPED
[INFO] WCS UI Module … SKIPPED
[INFO] Security UI Modules … SKIPPED
[INFO] Security UI Core Module … SKIPPED
[INFO] Security UI JDBC Module … SKIPPED
[INFO] Security UI LDAP Module … SKIPPED
[INFO] REST UI Module … SKIPPED
[INFO] GeoServer Web Application … SKIPPED
[INFO] Community Space … SKIPPED
[INFO] GeoServer Extensions … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.756 s
[INFO] Finished at: 2014-11-05T14:24:20+01:00
[INFO] Final Memory: 24M/247M
[INFO] ------------------------------------------------------------------------

constituent[0]: file:/C:/apache-maven-3.2.1/lib/aether-api-0.9.0.M2.jar
constituent[1]: file:/C:/apache-maven-3.2.1/lib/aether-connector-wagon-0.9.0.M2.
jar
constituent[2]: file:/C:/apache-maven-3.2.1/lib/aether-impl-0.9.0.M2.jar
constituent[3]: file:/C:/apache-maven-3.2.1/lib/aether-spi-0.9.0.M2.jar
constituent[4]: file:/C:/apache-maven-3.2.1/lib/aether-util-0.9.0.M2.jar
constituent[5]: file:/C:/apache-maven-3.2.1/lib/aopalliance-1.0.jar
constituent[6]: file:/C:/apache-maven-3.2.1/lib/cdi-api-1.0.jar
constituent[7]: file:/C:/apache-maven-3.2.1/lib/commons-cli-1.2.jar
constituent[8]: file:/C:/apache-maven-3.2.1/lib/commons-io-2.2.jar
constituent[9]: file:/C:/apache-maven-3.2.1/lib/commons-lang-2.6.jar
constituent[10]: file:/C:/apache-maven-3.2.1/lib/guava-14.0.1.jar
constituent[11]: file:/C:/apache-maven-3.2.1/lib/javax.inject-1.jar
constituent[12]: file:/C:/apache-maven-3.2.1/lib/jsoup-1.7.2.jar
constituent[13]: file:/C:/apache-maven-3.2.1/lib/jsr250-api-1.0.jar
constituent[14]: file:/C:/apache-maven-3.2.1/lib/maven-aether-provider-3.2.1.jar

constituent[15]: file:/C:/apache-maven-3.2.1/lib/maven-artifact-3.2.1.jar
constituent[16]: file:/C:/apache-maven-3.2.1/lib/maven-compat-3.2.1.jar
constituent[17]: file:/C:/apache-maven-3.2.1/lib/maven-core-3.2.1.jar
constituent[18]: file:/C:/apache-maven-3.2.1/lib/maven-embedder-3.2.1.jar
constituent[19]: file:/C:/apache-maven-3.2.1/lib/maven-model-3.2.1.jar
constituent[20]: file:/C:/apache-maven-3.2.1/lib/maven-model-builder-3.2.1.jar
constituent[21]: file:/C:/apache-maven-3.2.1/lib/maven-plugin-api-3.2.1.jar
constituent[22]: file:/C:/apache-maven-3.2.1/lib/maven-repository-metadata-3.2.1
.jar
constituent[23]: file:/C:/apache-maven-3.2.1/lib/maven-settings-3.2.1.jar
constituent[24]: file:/C:/apache-maven-3.2.1/lib/maven-settings-builder-3.2.1.ja
r
constituent[25]: file:/C:/apache-maven-3.2.1/lib/org.eclipse.sisu.inject-0.0.0.M
5.jar
constituent[26]: file:/C:/apache-maven-3.2.1/lib/org.eclipse.sisu.plexus-0.0.0.M
5.jar
constituent[27]: file:/C:/apache-maven-3.2.1/lib/plexus-cipher-1.7.jar
constituent[28]: file:/C:/apache-maven-3.2.1/lib/plexus-component-annotations-1.
5.5.jar
constituent[29]: file:/C:/apache-maven-3.2.1/lib/plexus-interpolation-1.19.jar
constituent[30]: file:/C:/apache-maven-3.2.1/lib/plexus-sec-dispatcher-1.3.jar
constituent[31]: file:/C:/apache-maven-3.2.1/lib/plexus-utils-3.0.17.jar
constituent[32]: file:/C:/apache-maven-3.2.1/lib/sisu-guice-3.1.3-no_aop.jar
constituent[33]: file:/C:/apache-maven-3.2.1/lib/slf4j-api-1.7.5.jar
constituent[34]: file:/C:/apache-maven-3.2.1/lib/slf4j-simple-1.7.5.jar
constituent[35]: file:/C:/apache-maven-3.2.1/lib/wagon-file-2.6.jar
constituent[36]: file:/C:/apache-maven-3.2.1/lib/wagon-http-2.6-shaded.jar
constituent[37]: file:/C:/apache-maven-3.2.1/lib/wagon-http-shared-2.6.jar
constituent[38]: file:/C:/apache-maven-3.2.1/lib/wagon-provider-api-2.6.jar
constituent[39]: file:/C:/apache-maven-3.2.1/conf/logging/

Exception in thread “main” java.lang.Error: Invalid escape character at line 1 c
olumn 69.
at org.javacc.parser.JavaCharStream.readChar(Unknown Source)
at org.javacc.parser.JavaCCParserTokenManager.getNextToken(Unknown Sourc
e)
at org.javacc.parser.JavaCCParser.jj_ntk(Unknown Source)
at org.javacc.parser.JavaCCParser.javacc_options(Unknown Source)
at org.javacc.parser.JavaCCParser.javacc_input(Unknown Source)
at org.javacc.parser.Main.mainProgram(Unknown Source)
at org.codehaus.mojo.javacc.JavaCCMojo.execute(JavaCCMojo.java:369)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)

Hi Didier,
my guess is that you have issues with the source checkout… All files should be in UTF-8, maybe your system has troubles with them?
How did you get the sources?

Cheers
Andrea

···

On Wed, Nov 5, 2014 at 2:32 PM, LACAMBRE Didier <didier.lacambre@anonymised.com> wrote:

Hello,

I can not compile (mvn compile) the code of geoserver 2.6.0 (Web Coverage Service 1.1 Module 2.6.0). I use MAVEN 3.2.1 and JDK 1.7.0_71 .

Thank you in advance for your help

Best regards

Here are the errors :

[INFO] ------------------------------------------------------------------------
[INFO] Building Web Coverage Service 1.1 Module 2.6.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — git-commit-id-plugin:2.0.4:revision (default) @ gs-wcs1_1 —
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO]
[INFO] — javacc-maven-plugin:2.3:jjtree (jjtree) @ gs-wcs1_1 —
[INFO] Nothing to process - all grammars in C:\Data\users\didier\eclipse\workspa
ces\geoserver\geoserver-2.6.0\src\wcs1_1\src\main\java\org\geoserver\wcs\kvp\ran
gesubset are up to date.
[INFO]
[INFO] — javacc-maven-plugin:2.3:javacc (javacc) @ gs-wcs1_1 —
Java Compiler Compiler Version 4.0 (Parser Generator)
(type “javacc” with no arguments for help)
Reading from file C:\Data\users\didier\eclipse\workspaces\geoserver\geoserver-2.
6.0\src\wcs1_1\target\jjtree\org\geoserver\wcs\kvp\rangesubset\rangeset.jj . . .

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer … SUCCESS [ 0.312 s]
[INFO] Core Platform Module … SUCCESS [ 0.674 s]
[INFO] Open Web Service Module … SUCCESS [ 0.390 s]
[INFO] Main Module … SUCCESS [ 2.846 s]
[INFO] GeoServer Security Modules … SUCCESS [ 0.040 s]
[INFO] GeoServer JDBC Security Module … SUCCESS [ 0.210 s]
[INFO] GeoServer LDAP Security Module … SUCCESS [ 0.280 s]
[INFO] Web Coverage Service Module … SUCCESS [ 0.180 s]
[INFO] Web Coverage Service 1.0 Module … SUCCESS [ 0.217 s]
[INFO] Web Coverage Service 1.1 Module … SKIPPED
[INFO] Web Coverage Service 2.0 Module … SKIPPED
[INFO] Web Feature Service Module … SKIPPED
[INFO] Web Map Service Module … SKIPPED
[INFO] KML support for GeoServer … SKIPPED
[INFO] GeoWebCache (GWC) Module … SKIPPED
[INFO] REST Support Module … SKIPPED
[INFO] REST Configuration Service Module … SKIPPED
[INFO] GeoServer Web Modules … SKIPPED
[INFO] Core UI Module … SKIPPED
[INFO] WMS UI Module … SKIPPED
[INFO] GWC UI Module … SKIPPED
[INFO] WFS UI Module … SKIPPED
[INFO] Demoes Module … SKIPPED
[INFO] WCS UI Module … SKIPPED
[INFO] Security UI Modules … SKIPPED
[INFO] Security UI Core Module … SKIPPED
[INFO] Security UI JDBC Module … SKIPPED
[INFO] Security UI LDAP Module … SKIPPED
[INFO] REST UI Module … SKIPPED
[INFO] GeoServer Web Application … SKIPPED
[INFO] Community Space … SKIPPED
[INFO] GeoServer Extensions … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.756 s
[INFO] Finished at: 2014-11-05T14:24:20+01:00
[INFO] Final Memory: 24M/247M
[INFO] ------------------------------------------------------------------------

constituent[0]: file:/C:/apache-maven-3.2.1/lib/aether-api-0.9.0.M2.jar
constituent[1]: file:/C:/apache-maven-3.2.1/lib/aether-connector-wagon-0.9.0.M2.
jar
constituent[2]: file:/C:/apache-maven-3.2.1/lib/aether-impl-0.9.0.M2.jar
constituent[3]: file:/C:/apache-maven-3.2.1/lib/aether-spi-0.9.0.M2.jar
constituent[4]: file:/C:/apache-maven-3.2.1/lib/aether-util-0.9.0.M2.jar
constituent[5]: file:/C:/apache-maven-3.2.1/lib/aopalliance-1.0.jar
constituent[6]: file:/C:/apache-maven-3.2.1/lib/cdi-api-1.0.jar
constituent[7]: file:/C:/apache-maven-3.2.1/lib/commons-cli-1.2.jar
constituent[8]: file:/C:/apache-maven-3.2.1/lib/commons-io-2.2.jar
constituent[9]: file:/C:/apache-maven-3.2.1/lib/commons-lang-2.6.jar
constituent[10]: file:/C:/apache-maven-3.2.1/lib/guava-14.0.1.jar
constituent[11]: file:/C:/apache-maven-3.2.1/lib/javax.inject-1.jar
constituent[12]: file:/C:/apache-maven-3.2.1/lib/jsoup-1.7.2.jar
constituent[13]: file:/C:/apache-maven-3.2.1/lib/jsr250-api-1.0.jar
constituent[14]: file:/C:/apache-maven-3.2.1/lib/maven-aether-provider-3.2.1.jar

constituent[15]: file:/C:/apache-maven-3.2.1/lib/maven-artifact-3.2.1.jar
constituent[16]: file:/C:/apache-maven-3.2.1/lib/maven-compat-3.2.1.jar
constituent[17]: file:/C:/apache-maven-3.2.1/lib/maven-core-3.2.1.jar
constituent[18]: file:/C:/apache-maven-3.2.1/lib/maven-embedder-3.2.1.jar
constituent[19]: file:/C:/apache-maven-3.2.1/lib/maven-model-3.2.1.jar
constituent[20]: file:/C:/apache-maven-3.2.1/lib/maven-model-builder-3.2.1.jar
constituent[21]: file:/C:/apache-maven-3.2.1/lib/maven-plugin-api-3.2.1.jar
constituent[22]: file:/C:/apache-maven-3.2.1/lib/maven-repository-metadata-3.2.1
.jar
constituent[23]: file:/C:/apache-maven-3.2.1/lib/maven-settings-3.2.1.jar
constituent[24]: file:/C:/apache-maven-3.2.1/lib/maven-settings-builder-3.2.1.ja
r
constituent[25]: file:/C:/apache-maven-3.2.1/lib/org.eclipse.sisu.inject-0.0.0.M
5.jar
constituent[26]: file:/C:/apache-maven-3.2.1/lib/org.eclipse.sisu.plexus-0.0.0.M
5.jar
constituent[27]: file:/C:/apache-maven-3.2.1/lib/plexus-cipher-1.7.jar
constituent[28]: file:/C:/apache-maven-3.2.1/lib/plexus-component-annotations-1.
5.5.jar
constituent[29]: file:/C:/apache-maven-3.2.1/lib/plexus-interpolation-1.19.jar
constituent[30]: file:/C:/apache-maven-3.2.1/lib/plexus-sec-dispatcher-1.3.jar
constituent[31]: file:/C:/apache-maven-3.2.1/lib/plexus-utils-3.0.17.jar
constituent[32]: file:/C:/apache-maven-3.2.1/lib/sisu-guice-3.1.3-no_aop.jar
constituent[33]: file:/C:/apache-maven-3.2.1/lib/slf4j-api-1.7.5.jar
constituent[34]: file:/C:/apache-maven-3.2.1/lib/slf4j-simple-1.7.5.jar
constituent[35]: file:/C:/apache-maven-3.2.1/lib/wagon-file-2.6.jar
constituent[36]: file:/C:/apache-maven-3.2.1/lib/wagon-http-2.6-shaded.jar
constituent[37]: file:/C:/apache-maven-3.2.1/lib/wagon-http-shared-2.6.jar
constituent[38]: file:/C:/apache-maven-3.2.1/lib/wagon-provider-api-2.6.jar
constituent[39]: file:/C:/apache-maven-3.2.1/conf/logging/

Exception in thread “main” java.lang.Error: Invalid escape character at line 1 c
olumn 69.
at org.javacc.parser.JavaCharStream.readChar(Unknown Source)
at org.javacc.parser.JavaCCParserTokenManager.getNextToken(Unknown Sourc
e)
at org.javacc.parser.JavaCCParser.jj_ntk(Unknown Source)
at org.javacc.parser.JavaCCParser.javacc_options(Unknown Source)
at org.javacc.parser.JavaCCParser.javacc_input(Unknown Source)
at org.javacc.parser.Main.mainProgram(Unknown Source)
at org.codehaus.mojo.javacc.JavaCCMojo.execute(JavaCCMojo.java:369)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)



Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.