Okay I think I see the trouble: [INFO] org.geotools:gt-release:pom:27-SNAPSHOT [INFO] +- org.geotools:docs:jar:27-SNAPSHOT:compile [INFO] | +- commons-io:commons-io:jar:2.10.0:compile [INFO] | +- org.apache.xmlgraphics:batik-svggen:jar:1.14:compile
It is a direct dependency on gt-docs, so it does not appear later with gt-csv as expected... Glad I kept good notes: > <!-- docs dependency only used to schedule release after docs module > order --> > <dependency> > <groupId>org.geotools</groupId> > <artifactId>docs</artifactId> > <version>${project.version}</version> > </dependency> Going to add an excludes on this initial dependency and I expect everything to fix itself. -- Jody Garnett On Sun, 12 Sept 2021 at 15:55, Jody Garnett <jody.garn...@gmail.com> wrote: > FilenameUtils is used very simply by CSVDataStore: > > import org.apache.commons.io.FilenameUtils; >> ... >> String extension = FilenameUtils.getExtension(filename); > > > I do not see it in the release bin download: > > cd release > mvn assembly:single > unzip -l target/geotools-27-SNAPSHOT-bin.zip | grep commons-io > > It is required by gt-csv: > > % cd modules/plugin/csv >> % mvn dependency:tree | grep commons-io > > [INFO] +- commons-io:commons-io:jar:2.10.0:compile > > > It is in the dependency tree for release > > cd release >> mvn dependency:tree | grep commons-io >> [INFO] | +- commons-io:commons-io:jar:2.10.0:compile > > > -- > Jody Garnett > > > On Sat, 11 Sept 2021 at 15:06, Jody Garnett <jody.garn...@gmail.com> > wrote: > >> One regression found working with the bin download: >> >> *% *cd geotools-26-RC >> >> *%* mkdir bin >> *%* javac -cp "lib/*" -d bin >> src/org/geotools/tutorial/quickstart/Quickstart.java >> *%* java -cp "lib/*:bin" org.geotools.tutorial.quickstart.Quickstart >> Sep 11, 2021 3:02:16 PM org.geotools.data.FileDataStoreFinder getDataStore >> WARNING: Could not aquire Comma delimited text >> file:java.lang.NoClassDefFoundError: org/apache/commons/io/FilenameUtils >> java.lang.NoClassDefFoundError: org/apache/commons/io/FilenameUtils >> at >> org.geotools.data.csv.CSVDataStoreFactory.canProcessExtension(CSVDataStoreFactory.java:178) >> at >> org.geotools.data.csv.CSVDataStoreFactory.canProcess(CSVDataStoreFactory.java:348) >> at >> org.geotools.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:77) >> at >> org.geotools.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:55) >> at org.geotools.tutorial.quickstart.Quickstart.main(Quickstart.java:51) >> Caused by: java.lang.ClassNotFoundException: >> org.apache.commons.io.FilenameUtils >> at java.net.URLClassLoader.findClass(URLClassLoader.java:382) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:418) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:351) >> >> >> -- >> Jody Garnett >> >> >> On Sat, 11 Sept 2021 at 08:00, Jody Garnett <jody.garn...@gmail.com> >> wrote: >> >>> Available here: >>> >>> https://build.geoserver.org/view/release/job/geotools-release/lastSuccessfulBuild/artifact/build/release/distribution/26-RC/ >>> >>> Testing welcome; it is worth checking documentation links as this is the >>> first branch of a new stable series. >>> >>> Aside: Downstream build jobs for main are disable while new branches and >>> version numbers are created. >>> >>> Jody >>> -- >>> -- >>> Jody Garnett >>> >>
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel