Hi Ben,

thanks fort he help. I managed to build geotools on Windows with only a few 
tests failing. I haven't tried on Linux yet, but I don't think there will be 
any problems.

I also generated the dependency tree and checked for any package that includes 
jsr-275. There are only three packages:
[INFO] org.geotools.ogc:net.opengis.wps:jar:18-SNAPSHOT
[INFO] org.geotools:gt-imagemosaic:jar:18-SNAPSHOT
[INFO] org.geotools:gt-opengis:jar:18-SNAPSHOT

All three are in geotools, so in principle it should be possible to replace 
jsr-275.

Cheers,
Jens 

-----Ursprüngliche Nachricht-----
Von: Ben Caradoc-Davies [mailto:b...@transient.nz] 
Gesendet: Freitag, 11. August 2017 00:03
An: Jens Auer
Cc: 'GeoTools Developers'
Betreff: Re: [Geotools-devel] Replace JScience JSR275 with JSR363

Jens,

the master build passes for me with Maven 3.5.0 and OpenJDK 8u141 on 
debian/sid. That is, I cannot reproduce a build failure on Linux.

I think the problem is that you need to "install" not "compile" to ensure that 
all the metadata is generated.

Please try building with:

mvn -Dall clean install

Also use -DskipTests to skip tests on Windows because there are some known test 
failures on that platform (rendering differences?).

You can add -T1C -fae for a faster build.

Kind regards,
Ben.

On 11/08/17 06:10, Jens Auer wrote:
> Hi Jody,
> 
>   
> 
> I have no idea how much work it is going to be. I wanted to run a first check 
> and generate the dependency tree with maven to check if any dependency needs 
> JSR275 because that would be a show-stopper. However, I have a problem 
> building geotools. I cloned the repo and did mvn compile, but it fails with 
> an error in a dependency:
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> 
> [INFO] Building OGC CQL to Filter parser 18-SNAPSHOT
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> 
> [INFO] Reactor Summary:
> 
> [INFO]
> 
> [INFO] GeoTools ........................................... SUCCESS [  
> 0.362 s]
> 
> [INFO] Build tools for Geotools 2 ......................... SUCCESS [  
> 0.019 s]
> 
> [INFO] Maven plugins for Geotools 2 ....................... SUCCESS [  
> 0.013 s]
> 
> [INFO] JAR files collector ................................ SUCCESS [  
> 0.637 s]
> 
> [INFO] Cross-modules javadoc .............................. SUCCESS [  
> 0.052 s]
> 
> [INFO] JJTree and JavaCC compilers plugin ................. SUCCESS [  
> 0.050 s]
> 
> [INFO] Geotools modules ................................... SUCCESS [  
> 0.015 s]
> 
> [INFO] Geotools libraries ................................. SUCCESS [  
> 0.012 s]
> 
> [INFO] Sample data module ................................. SUCCESS [  
> 0.146 s]
> 
> [INFO] Open GIS Interfaces ................................ SUCCESS [  
> 3.859 s]
> 
> [INFO] Metadata ........................................... SUCCESS [  
> 4.111 s]
> 
> [INFO] Referencing services ............................... SUCCESS [  
> 0.547 s]
> 
> [INFO] API interfaces ..................................... SUCCESS [  
> 0.374 s]
> 
> [INFO] Geotools plugins ................................... SUCCESS [  
> 0.016 s]
> 
> [INFO] EPSG Authority Service using HSQL database ......... SUCCESS [  
> 1.771 s]
> 
> [INFO] Main module ........................................ SUCCESS [  
> 9.235 s]
> 
> [INFO] Geotools extensions ................................ SUCCESS [  
> 0.011 s]
> 
> [INFO] Feature Based Graphs and Networks .................. SUCCESS [  
> 0.629 s]
> 
> [INFO] XML Parsing ........................................ SUCCESS [  
> 0.000 s]
> 
> [INFO] XML Parsing ........................................ SUCCESS [  
> 0.754 s]
> 
> [INFO] XML Code Generation Support ........................ SUCCESS [  
> 0.631 s]
> 
> [INFO] EPSG Authority Service using WKT file .............. SUCCESS [  
> 0.303 s]
> 
> [INFO] OGC CQL to Filter parser ........................... FAILURE [  
> 0.001 s]
> 
> [INFO] DataStore Support .................................. SKIPPED
> 
> [INFO] Property File DataStore ............................ SKIPPED
> 
> [INFO] Shapefile module ................................... SKIPPED
> 
> [INFO] Grid Coverage module ............................... SKIPPED
> 
> [INFO] GeoTIFF grid coverage exchange module .............. SKIPPED
> 
> [INFO] ArcGrid datasource module .......................... SKIPPED
> 
> [INFO] GML2 XML Support ................................... SKIPPED
> 
> [INFO] GML3 XML Support ................................... SKIPPED
> 
> [INFO] Filter XML Support ................................. SKIPPED
> 
> [INFO] SLD XML Support .................................... SKIPPED
> 
> [INFO] WorldImage datasource module ....................... SKIPPED
> 
> [INFO] Render ............................................. SKIPPED
> 
> [INFO] OGC Web Service Models ............................. SKIPPED
> 
> [INFO] Xlink Model ........................................ SKIPPED
> 
> [INFO] Open Web Services Model ............................ SKIPPED
> 
> [INFO] Filter Encoding Specification Model ................ SKIPPED
> 
> [INFO] Web Feature Service Model .......................... SKIPPED
> 
> [INFO] OWS XML Support .................................... SKIPPED
> 
> [INFO] Filter Encoding Specification XML Support .......... SKIPPED
> 
> [INFO] WFS XML Support .................................... SKIPPED
> 
> [INFO] XML Parsing Support ................................ SKIPPED
> 
> [INFO] JDBC DataStore Support ............................. SKIPPED
> 
> [INFO] Web Processing Service Model ....................... SKIPPED
> 
> [INFO] Web Coverage Service Model ......................... SKIPPED
> 
> [INFO] Catalog Services for the Web Model ................. SKIPPED
> 
> [INFO] ArcSDE plugin ...................................... SKIPPED
> 
> [INFO] ArcSDE dummy api ................................... SKIPPED
> 
> [INFO] ArcSDE support classes ............................. SKIPPED
> 
> [INFO] ArcSDE DataStore plugin ............................ SKIPPED
> 
> [INFO] Dynamic symbolizer module based on JFreeChart and Eastwood 
> SKIPPED
> 
> [INFO] Extensions to EPSG authority factory ............... SKIPPED
> 
> [INFO] EPSG Authority Service using PostgreSQL database ... SKIPPED
> 
> [INFO] Feature-Pregeneralized ............................. SKIPPED
> 
> [INFO] grass raster datasource module ..................... SKIPPED
> 
> [INFO] GTopo30 datasource module .......................... SKIPPED
> 
> [INFO] JDBC DataStore Plugins ............................. SKIPPED
> 
> [INFO] H2 DataStore ....................................... SKIPPED
> 
> [INFO] Oracle DataStore ................................... SKIPPED
> 
> [INFO] PostGIS DataStore .................................. SKIPPED
> 
> [INFO] Feature transforming feature source wrapper ........ SKIPPED
> 
> [INFO] imagemosaic datasource module ...................... SKIPPED
> 
> [INFO] ImageI/O-Ext based grid coverage readers ........... SKIPPED
> 
> [INFO] imagepyramid datasource module ..................... SKIPPED
> 
> [INFO] imagemosaic-jdbc module ............................ SKIPPED
> 
> [INFO] DB2 DataStore ...................................... SKIPPED
> 
> [INFO] MySQL DataStore .................................... SKIPPED
> 
> [INFO] SQL Server DataStore ............................... SKIPPED
> 
> [INFO] SpatiaLite DataStore ............................... SKIPPED
> 
> [INFO] Teradata DataStore ................................. SKIPPED
> 
> [INFO] JP2K based grid coverage readers ................... SKIPPED
> 
> [INFO] OGR DataStore Module ............................... SKIPPED
> 
> [INFO] Core OGR DataStore Module .......................... SKIPPED
> 
> [INFO] Bridj OGR DataStore Module ......................... SKIPPED
> 
> [INFO] JNI OGR DataStore Module ........................... SKIPPED
> 
> [INFO] Vertical coordinate transformations ................ SKIPPED
> 
> [INFO] Dynamic symbolizers for SVG symbols ................ SKIPPED
> 
> [INFO] Coverage Multidimensional Module ................... SKIPPED
> 
> [INFO] API interfaces ..................................... SKIPPED
> 
> [INFO] NetCDF gridcoverage module ......................... SKIPPED
> 
> [INFO] GRIB gridcoverage module ........................... SKIPPED
> 
> [INFO] GeoPackage Module .................................. SKIPPED
> 
> [INFO] Application Schema Support ......................... SKIPPED
> 
> [INFO] Application Schema Resolver ........................ SKIPPED
> 
> [INFO] Complex Features Support ........................... SKIPPED
> 
> [INFO] Application Schema DataAccess ...................... SKIPPED
> 
> [INFO] Sample DataAccess .................................. SKIPPED
> 
> [INFO] Brewer module ...................................... SKIPPED
> 
> [INFO] Vector grids ....................................... SKIPPED
> 
> [INFO] Validation Processor and Framework ................. SKIPPED
> 
> [INFO] Web Map Server client .............................. SKIPPED
> 
> [INFO] KML XML Support .................................... SKIPPED
> 
> [INFO] WCS XML Support .................................... SKIPPED
> 
> [INFO] WPS XML Support .................................... SKIPPED
> 
> [INFO] WMS XML Support .................................... SKIPPED
> 
> [INFO] CSW XML Support .................................... SKIPPED
> 
> [INFO] Geotools unsupported ............................... SKIPPED
> 
> [INFO] Process ............................................ SKIPPED
> 
> [INFO] Process Feature .................................... SKIPPED
> 
> [INFO] Process Raster ..................................... SKIPPED
> 
> [INFO] YSLD Parser/Encoder ................................ SKIPPED
> 
> [INFO] Swing widgets ...................................... SKIPPED
> 
> [INFO] SWT widgets ........................................ SKIPPED
> 
> [INFO] Process Geometry ................................... SKIPPED
> 
> [INFO] GeoJSON Support .................................... SKIPPED
> 
> [INFO] MBTiles Module ..................................... SKIPPED
> 
> [INFO] WFS client module (NG) ............................. SKIPPED
> 
> [INFO] polylabel .......................................... SKIPPED
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> 
> [INFO] BUILD FAILURE
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> 
> [INFO] Total time: 24.849 s
> 
> [INFO] Finished at: 2017-08-10T19:56:34+02:00
> 
> [INFO] Final Memory: 184M/712M
> 
> [INFO] 
> ----------------------------------------------------------------------
> --
> 
> [ERROR] Failed to parse plugin descriptor for 
> org.geotools.maven:jjtree-javacc:18-SNAPSHOT 
> (C:\dev\geotools\build\maven\jjtree-javacc\target\classes): No plugin 
> descriptor found at META-INF/maven/plugin.xml -> [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/display/MAVEN/PluginDescriptorParsi
> ngException
> 
>   
> 
>   
> 
> Do you have a hint how to fix this? Obviously the project can be built 
> because the Jenkins has no problems. I only installed maven 3.5 and the 
> latest jdk8 on my system. The build fails on both windows and linux.
> 
>   
> 
> Cheers,
> 
> Jens
> 
>   
> 
>   
> 
>   
> 
>   
> 
> Von: Jody Garnett [mailto:jody.garn...@gmail.com]
> Gesendet: Mittwoch, 9. August 2017 22:19
> An: Jens Auer
> Cc: GeoTools Developers
> Betreff: Re: [Geotools-devel] Replace JScience JSR275 with JSR363
> 
>   
> 
> That would be an amazing pull request Jens; we have a code freeze coming up 
> in only a couple of weeks - how difficult do you think the migration would be?
> 
>   
> 
> I am happy to help prep a change proposal to see this go ahead; the jar we 
> use for JSR275 is rather unofficial (published by the JScience group prior to 
> being adopted as the reference implementation of JSR275).
> 
> 
> 
> 
> --
> 
> Jody Garnett
> 
>   
> 
> On 9 August 2017 at 12:53, Jens Auer < <mailto:jens.a...@betaversion.net> 
> jens.a...@betaversion.net> wrote:
> 
> Hi,
> 
>   
> 
> I am working on a project that uses geotools. Recently, I had the idea to use 
> uom-se, a JSR363 implementation for dimensional analysis (units of 
> measurements) in our code base. I ran into some problems caused by a 
> transitive dependency from geotools to JScience JSR275, which is a dropped 
> JSR for dimensional analysis.
> 
>   
> 
> I found some discussion in the geotools wiki about migrating to a new library 
> once JSR is accepted, but also mentioning some issues especially w.r.t the 
> license of unit-api. Given that JSR363 has been accepted and the license 
> seems to be a BSD-compatible license now, I am wondering if there is still 
> interest in migrating. If so, I would offer my help.
> 
>   
> 
> Best wishes,
> 
> Jens
> 
>   
> 
> 
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org!  <http://sdm.link/slashdot> 
> http://sdm.link/slashdot 
> _______________________________________________
> GeoTools-Devel mailing list
>   <mailto:GeoTools-Devel@lists.sourceforge.net> 
> GeoTools-Devel@lists.sourceforge.net
>   <https://lists.sourceforge.net/lists/listinfo/geotools-devel> 
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
>   
> 
>   
> 
> 
>   
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&u
> tm_campaign=sig-email&utm_content=emailclient> 
> https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.
> png
> 
> Virenfrei.  
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&u
> tm_campaign=sig-email&utm_content=emailclient> www.avg.com
> 
>   
> 
> 
> 
> 
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/> New Zealand

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to