<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>just a quick update. I find out the reason of failure:</div><div><br></div><div>Class GeoserverDataDirectory [1] is no longer present in the package org.vfny.geoserver.global [2] and should be replaced by GeoServerResourceLoader [3]</div><div><br></div><div><div>I’ll try to rebuild as soon as I can with this modifications</div><div><br></div><div>Francesco</div></div><div><br></div><div>[1] <a href="https://github.com/GeoNode/geoserver-geonode-ext/blob/master/src/main/java/org/geonode/security/GeoNodeSecurityProvider.java#L85">https://github.com/GeoNode/geoserver-geonode-ext/blob/master/src/main/java/org/geonode/security/GeoNodeSecurityProvider.java#L85</a></div><div><br></div><div>[2] <a href="https://github.com/geoserver/geoserver/tree/2.7.x/src/main/src/main/java/org/vfny/geoserver/global">https://github.com/geoserver/geoserver/tree/2.7.x/src/main/src/main/java/org/vfny/geoserver/global</a></div><div><br></div><div>[3] <a href="https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/config/GeoServerDataDirectory.java#L64">https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/config/GeoServerDataDirectory.java#L64</a></div><div><br></div><div><br><div><div>Il giorno 25/giu/2015, alle ore 02:42, Francesco Bartoli <<a href="mailto:xbartolone@gmail.com">xbartolone@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Paolo,<br><br>I have tried to upgrade geoserver-geonode-ext with alignment to the latest stable 2.7.1. After minor issues in dependencies the build fails at this point:<br><br>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project geonode-geoserver-ext: Compilation failure: Compilation failure:<br>[ERROR] /Users/geobart/Development/geoserver-geonode-ext/src/main/java/org/geonode/security/GeoNodeSecurityProvider.java:[18,33] cannot find symbol<br>[ERROR] symbol: class GeoserverDataDirectory<br>[ERROR] location: package org.vfny.geoserver.global<br>[ERROR] /Users/geobart/Development/geoserver-geonode-ext/src/main/java/org/geonode/security/GeoNodeSecurityProvider.java:[85,44] cannot find symbol<br>[ERROR] symbol: variable GeoserverDataDirectory<br>[ERROR] location: class org.geonode.security.GeoNodeSecurityProvider<br>[ERROR] -> [Help 1]<br>org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project geonode-geoserver-ext: Compilation failure<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at java.lang.reflect.Method.invoke(Method.java:606)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)<br>Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)<br><span class="Apple-tab-span" style="white-space:pre"> </span>at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)<br><span class="Apple-tab-span" style="white-space:pre"> </span>... 20 more<br>[ERROR]<br>[ERROR] Re-run Maven using the -X switch to enable full debug logging.<br>[ERROR]<br>[ERROR] For more information about the errors and possible solutions, please read the following articles:<br>[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException">http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException</a><br><br>Tomorrow I don’t have time to investigating more but if somebody can take a look then I can retry the build. Anyway attached there is the POM used to build<br><br>Cheers,<br>Francesco<br><span><pom.xml></span><br>Il giorno 24/giu/2015, alle ore 15:47, Paolo Corti <<a href="mailto:pcorti@gmail.com">pcorti@gmail.com</a>> ha scritto:<br><br><blockquote type="cite">Hi Simone<br><br><blockquote type="cite">There are also a couple of other things that can be addressed before the<br>release if they are fixed in time otherwise will go to 2.4.1:<br>- notifications rework<br>- better cache management and invalidation for thumbnails and tiles<br>- Geoserver upgrade to 2.7<br><br></blockquote><br>We should upgrade asap GeoServer as this recently discovered important<br>security vulnerability has been fixed only for 2.6.4 and 2.7.2 (we<br>should consider to repackage GeoServer for stable 2.0 imho):<br><a href="https://osgeo-org.atlassian.net/browse/GEOS-7032">https://osgeo-org.atlassian.net/browse/GEOS-7032</a><br><br>For the rest, migrations script [1] worked well for us (WFP), we are<br>extensively testing it and will go in production with 2.4 by the end<br>of the month.<br><br>Another think I would love to see in 2.4 is the gxp classify tool,<br>almost done by Matt I believe [2]<br><br>cheers<br>p<br><br>[1] https://github.com/capooti/geonode/tree/migration_from20_to_24<br>[2] https://github.com/boundlessgeo/gxp/pull/231/files#r31339623<br><br>-- <br>Paolo Corti<br>Geospatial software developer<br>web: http://www.paolocorti.net<br>twitter: @capooti<br>skype: capooti<br>_______________________________________________<br>geonode-devel mailing list<br>geonode-devel@lists.osgeo.org<br>http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel<br></blockquote><br></blockquote></div><br></div></body></html>