#1 Thu 17 March 2022 15:27
- janyv
- Participant assidu
- Lieu: Montreuil, France
- Date d'inscription: 8 Feb 2006
- Messages: 356
geoserver - maven - erreur de build
Bonjour,
je tente de construire un jar de geoserver avec maven et docker , presque tout passe sauf :
[INFO] GeoServer Web Application .......................... FAILURE [ 34.845 s]
Sauriez-vous s'il manque un repo ou autre chose pour gs-web-app ?
Voici le log de la construction :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for GeoServer 2.20.3:
[INFO]
[INFO] GeoServer .......................................... SUCCESS [05:02 min]
[INFO] Core Platform Module ............................... SUCCESS [01:45 min]
[INFO] Open Web Service Module ............................ SUCCESS [01:14 min]
[INFO] Main Module ........................................ SUCCESS [04:13 min]
[INFO] GeoServer Security Modules ......................... SUCCESS [ 17.253 s]
[INFO] GeoServer Security Tests Module .................... SUCCESS [ 49.331 s]
[INFO] GeoServer JDBC Security Module ..................... SUCCESS [ 49.795 s]
[INFO] GeoServer LDAP Security Module ..................... SUCCESS [ 45.561 s]
[INFO] Web Coverage Service Module ........................ SUCCESS [ 30.928 s]
[INFO] Web Coverage Service 1.0 Module .................... SUCCESS [ 36.692 s]
[INFO] Web Coverage Service 1.1 Module .................... SUCCESS [01:03 min]
[INFO] Web Coverage Service 2.0 Module .................... SUCCESS [ 45.154 s]
[INFO] Web Feature Service Module ......................... SUCCESS [01:22 min]
[INFO] Web Map Service Module ............................. SUCCESS [02:21 min]
[INFO] KML support for GeoServer .......................... SUCCESS [ 39.748 s]
[INFO] gs-rest ............................................ SUCCESS [ 28.900 s]
[INFO] GeoWebCache (GWC) Module ........................... SUCCESS [ 53.989 s]
[INFO] gs-restconfig ...................................... SUCCESS [ 48.038 s]
[INFO] gs-restconfig-wcs .................................. SUCCESS [ 27.242 s]
[INFO] gs-restconfig-wfs .................................. SUCCESS [ 25.159 s]
[INFO] gs-restconfig-wms .................................. SUCCESS [ 26.940 s]
[INFO] WMTS REST configuration ............................ SUCCESS [ 30.274 s]
[INFO] GeoServer Web Modules .............................. SUCCESS [ 14.614 s]
[INFO] Core UI Module ..................................... SUCCESS [01:43 min]
[INFO] WMS UI Module ...................................... SUCCESS [ 37.758 s]
[INFO] GWC UI Module ...................................... SUCCESS [ 41.918 s]
[INFO] WFS UI Module ...................................... SUCCESS [ 29.186 s]
[INFO] Demos Module ....................................... SUCCESS [ 34.484 s]
[INFO] WCS UI Module ...................................... SUCCESS [ 28.855 s]
[INFO] Security UI Modules ................................ SUCCESS [ 15.985 s]
[INFO] Security UI Core Module ............................ SUCCESS [ 49.483 s]
[INFO] Security UI JDBC Module ............................ SUCCESS [ 29.365 s]
[INFO] Security UI LDAP Module ............................ SUCCESS [ 36.060 s]
[INFO] REST UI Module ..................................... SUCCESS [ 25.088 s]
[INFO] GeoServer Web Application .......................... FAILURE [ 34.845 s]
[INFO] Community Space .................................... SKIPPED
[INFO] GeoServer Extensions ............................... SKIPPED
[INFO] Application Schema Support ......................... SKIPPED
[INFO] Application Schema Module .......................... SKIPPED
[INFO] Application Schema Integration Test ................ SKIPPED
[INFO] Sample DataAccess Integration Test ................. SKIPPED
[INFO] H2 DataStore Extension ............................. SKIPPED
[INFO] SQL Server DataStore Extension ..................... SKIPPED
[INFO] Oracle DataStore Extension ......................... SKIPPED
[INFO] MySQL DataStore Extension .......................... SKIPPED
[INFO] DB2 DataStore Extension ............................ SKIPPED
[INFO] ImageMap Output Format ............................. SKIPPED
[INFO] ImageI/O-Ext GDAL Coverage Extension ............... SKIPPED
[INFO] JP2K Coverage Extension ............................ SKIPPED
[INFO] OGR parent ......................................... SKIPPED
[INFO] OGR CORE ........................................... SKIPPED
[INFO] OGR WFS ............................................ SKIPPED
[INFO] Web Processing Service parent ...................... SKIPPED
[INFO] Web Processing Service Module ...................... SKIPPED
[INFO] OGR WPS ............................................ SKIPPED
[INFO] Excel Output Format ................................ SKIPPED
[INFO] Chart external graphics support .................... SKIPPED
[INFO] Feature Generalization Extension ................... SKIPPED
[INFO] OWS request flow controller ........................ SKIPPED
[INFO] Web process status sharing with Hazelcast .......... SKIPPED
[INFO] Web Processing Service GUI ......................... SKIPPED
[INFO] GeoServer Layer Querying filter functions .......... SKIPPED
[INFO] Teradata DataStore Extension ....................... SKIPPED
[INFO] GeoServer Monitor Extensions ....................... SKIPPED
[INFO] Core Monitor Extension ............................. SKIPPED
[INFO] GeoServer Security Extension Modules ............... SKIPPED
[INFO] GeoServer CAS Security Module ...................... SKIPPED
[INFO] GeoServer Security Extension Web Modules ........... SKIPPED
[INFO] GeoServer CAS Security Web Module .................. SKIPPED
[INFO] XLST based WFS output format ....................... SKIPPED
[INFO] GeoServer INSPIRE Extensions ....................... SKIPPED
[INFO] GeoServer CSS Styling .............................. SKIPPED
[INFO] Catalog Services for the Web parent ................ SKIPPED
[INFO] Catalog Services for the Web interfaces ............ SKIPPED
[INFO] Catalog Services for the Web - Simple CatalogStore implementation SKIPPED
[INFO] Catalog Services for the Web core module ........... SKIPPED
[INFO] CSW UI Module ...................................... SKIPPED
[INFO] DXF WFS output format and WPS PPIO ................. SKIPPED
[INFO] DXF WFS output format .............................. SKIPPED
[INFO] DXF WPS PPIO ....................................... SKIPPED
[INFO] Printing Module .................................... SKIPPED
[INFO] GeoServer WCS 2.0 Earth Observation Extensions ..... SKIPPED
[INFO] Web Coverage Service 2.0 Earth Observation extensions SKIPPED
[INFO] Web Coverage Service 2.0 Earth Observation GUI extension SKIPPED
[INFO] GeoServer libjpeg-turbo Module ..................... SKIPPED
[INFO] GeoServer Data Importer ............................ SKIPPED
[INFO] Importer Core Module ............................... SKIPPED
[INFO] Importer REST Api Module-ng ........................ SKIPPED
[INFO] Importer Web UI Module ............................. SKIPPED
[INFO] GRIB Coverage Format ............................... SKIPPED
[INFO] NetCDF Coverage format ............................. SKIPPED
[INFO] WCS NetCDF output Module ........................... SKIPPED
[INFO] Vector Tiles ....................................... SKIPPED
[INFO] YSLD GeoServer Plugin .............................. SKIPPED
[INFO] MBStyle Extension .................................. SKIPPED
[INFO] MongoDB Data Store ................................. SKIPPED
[INFO] REST SLD service ................................... SKIPPED
[INFO] GeoFence security integration ...................... SKIPPED
[INFO] GeoFence Server .................................... SKIPPED
[INFO] Authentication by unique url key ................... SKIPPED
[INFO] GeoServer Resource Browser ......................... SKIPPED
[INFO] Parameters Extractor ............................... SKIPPED
[INFO] GeoWebCache S3 ..................................... SKIPPED
[INFO] DownloadProcess .................................... SKIPPED
[INFO] MapML Support for GeoServer ........................ SKIPPED
[INFO] GeoServer Release Module ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:48 min
[INFO] Finished at: 2022-03-17T13:50:36Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (configPackage) on project gs-web-app: An Ant BuildException has occured: Unable to locate configuration: /build/web/app/../../../data/minimal
[ERROR] around Ant part ...<fail unless="configIsAvailable" message="Unable to locate configuration: /build/web/app/../../../data/minimal"></fail>... @ 5:115 in /build/web/app/target/antrun/build-main.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (configPackage) on project gs-web-app: An Ant BuildException has occured: Unable to locate configuration: /build/web/app/../../../data/minimal
around Ant part ...<fail unless="configIsAvailable" message="Unable to locate configuration: /build/web/app/../../../data/minimal"></fail>... @ 5:115 in /build/web/app/target/antrun/build-main.xml
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: Unable to locate configuration: /build/web/app/../../../data/minimal
around Ant part ...<fail unless="configIsAvailable" message="Unable to locate configuration: /build/web/app/../../../data/minimal"></fail>... @ 5:115 in /build/web/app/target/antrun/build-main.xml
at org.apache.maven.plugin.antrun.AntRunMojo.execute (AntRunMojo.java:355)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.tools.ant.BuildException: Unable to locate configuration: /build/web/app/../../../data/minimal
at org.apache.tools.ant.taskdefs.Exit.execute (Exit.java:162)
at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java:299)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute (DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform (Task.java:350)
at org.apache.tools.ant.Target.execute (Target.java:449)
at org.apache.tools.ant.Target.performTasks (Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets (Project.java:1401)
at org.apache.tools.ant.Project.executeTarget (Project.java:1374)
at org.apache.maven.plugin.antrun.AntRunMojo.execute (AntRunMojo.java:327)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp … nException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :gs-web-app
Merci par avance pour votre aide
Bien à vous
Si tu ne sais pas demande, si tu sais partage
Hors ligne
#2 Thu 24 March 2022 16:39
- janyv
- Participant assidu
- Lieu: Montreuil, France
- Date d'inscription: 8 Feb 2006
- Messages: 356
Re: geoserver - maven - erreur de build
Bonjour,
C'est résolu en ajoutant les propriétés configId et configDirectory :
RUN mvn --show-version --debug --settings ${MAVEN_SETTINGS_PATH} --define release --define skipTests clean install --activate-profiles allExtensions -DconfigId=release -DconfigDirectory=../../../data
Doc GitHub GeoServer : https://docs.geoserver.org/latest/en/de … index.html paragraphe "Building the web module".
Dernière modification par janyv (Thu 24 March 2022 16:49)
Si tu ne sais pas demande, si tu sais partage
Hors ligne