<div dir="ltr"><div>Hello,</div><div><br></div><div>To use a relatively stable/up-to-date version of Geotoolkit, I'd recommend you to use technical tags maintained by Geomatys (that we use finternally for our products, like Examind community/server).</div><div><br></div><div>The trouble is that they're not accessible from Github nor <a href="http://maven.geotoolkit.org">maven.geotoolkit.org</a>, but we still maintain a public maven repository to download them here : <br></div><div><br></div><div><a href="https://nexus.geomatys.com/repository/maven-public/">https://nexus.geomatys.com/repository/maven-public/</a></div><div><br></div><div>I'd personally recommend you to try the latest Geotk tag:</div><div><br></div><div>5.0.0-MC0116</div><div><br></div><div>it depends on internal tags (also accessible from maven repository above) of SIS and GeoAPI :</div><div><br></div><div>SIS : 2.0-M0076</div><div>GeoAPI : 4.0-M15</div><div><br></div><div>After you've updated your project, I"d recommand to perform a `mvn dependency:tree` command to  check for potential version conflict.</div><div><br></div><div>A few warning though:</div><div><br></div><div>* Geotoolkit source code on Github page is not in sync with our internal releases.<br></div><div>* As we now use Geotoolkit as a sort of internal toolbox, we do not maintain a clean semantic versioning, and you could encounter breaking changes at any update.</div><div><br></div><div>Hope it helps, <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 3 mars 2021 à 01:09, juergen sorg <<a href="mailto:j.sorg@fz-juelich.de">j.sorg@fz-juelich.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hi martin,<br>
<br>
where is the maven repo for this dependency?:<br>
 >          <dependency><br>
 >              <groupId>org.geotoolkit</groupId><br>
 >              <artifactId>geotk-client-csw</artifactId><br>
 >              <version>5.0-SNAPSHOT</version><br>
 >          </dependency><br>
<br>
i tried it with<br>
<br>
<dependency><br>
                        <groupId>org.geotoolkit</groupId><br>
                        <artifactId>geotk-client-csw</artifactId><br>
                        <version>5.0.0-MC0082</version><br>
                </dependency><br>
<br>
and was able to compile and deploy my app successfully. but at runtime i <br>
got exception [0] when instantiating CatalogServicesClient. i changed <br>
CatalogServicesServer to CatalogServicesClient, because <br>
CatalogServicesServer does not exist any more.<br>
<br>
because of compilation errors i added dependencies [1] and removed [2] <br>
because it does not exists. additionally, i replaced the 2 geotk <br>
dependencies with apache sis [3]<br>
<br>
regards,<br>
juergen<br>
<br>
<br>
[0]<br>
Caused by: java.lang.NoClassDefFoundError: Could not initialize class <br>
org.geotoolkit.csw.CSWProvider<br>
                 at <br>
org.geotoolkit.csw.CatalogServicesClient.<init>(CatalogServicesClient.java:71)<br>
                 at <br>
org.fzj.ibg.catalog.server.utils.cache.KeywordCache.loadKeywords(KeywordCache.java:111)<br>
<br>
<br>
[1]<br>
<dependency><br>
                        <groupId>org.geotoolkit</groupId><br>
                        <artifactId>geotk-xml-wms</artifactId><br>
                        <version>5.0.0-MC0082</version><br>
                </dependency><br>
                <dependency><br>
                        <groupId>org.geotoolkit</groupId><br>
                        <artifactId>geotk-xml-gml</artifactId><br>
                        <version>5.0.0-MC0082</version><br>
                </dependency><br>
<br>
[2]<br>
<dependency><br>
                        <groupId>org.geotoolkit</groupId><br>
                        <artifactId>geotk-xml-base</artifactId><br>
                        <version>${geotk.version}</version><br>
                </dependency><br>
<br>
<br>
[3]<br>
<dependency><br>
                        <groupId>org.apache.sis.core</groupId><br>
                        <artifactId>sis-utility</artifactId><br>
                        <version>1.0</version><br>
                </dependency><br>
                <dependency><br>
                        <groupId>org.apache.sis.core</groupId><br>
                        <artifactId>sis-metadata</artifactId><br>
                        <version>1.0</version><br>
                </dependency><br>
<br>
<br>
<br>
<br>
<br>
On 02/03/2021 22:26, Martin Desruisseaux wrote:<br>
> Hello Juergen<br>
> <br>
> Le 01/03/2021 à 12:48, juergen sorg a écrit :<br>
> <br>
>> thanks for your reply<br>
>><br>
>> yes, we also use the Geotk CSW module.<br>
>><br>
>> it would be nice if you could provide us with more details on this <br>
>> migration procedure<br>
>><br>
> If you were using only the metadata part, I would have suggested to use <br>
> the formal Apache SIS 1.0 release. But for the CSW part, we are in an <br>
> uncomfortable situation where we have snapshots deployed every night, <br>
> but no formal release. This is because we are focusing all our <br>
> deployment effort on Apache SIS, and Geotk (which still contain CSW) <br>
> became a temporary place for modules not yet migrated to SIS. If you <br>
> don't mind, I suggest to try snapshot for starting. If it works, we can <br>
> try to create a milestone, but it would not be a formal release.<br>
> <br>
>          <dependency><br>
>              <groupId>org.geotoolkit</groupId><br>
>              <artifactId>geotk-client-csw</artifactId><br>
>              <version>5.0-SNAPSHOT</version><br>
>          </dependency><br>
> <br>
> For the metadata part, it should be sufficient to replace the following <br>
> package names:<br>
> <br>
>     org.geotoolkit.metadata<br>
> <br>
> by:<br>
> <br>
>     org.apache.sis.metadata<br>
> <br>
> Same for org.geotoolkit.referencing, which is replaced by <br>
> org.apache.sis.referencing. Most classes in those packages are about the <br>
> same.<br>
> <br>
> For the CSW, I have been told that this module got a lot of changes (it <br>
> is maintained by another developer). I suggest that you report the <br>
> compiler errors, so we can tell the replacements.<br>
> <br>
> Sorry for the inconvenience,<br>
> <br>
>      Martin<br>
> <br>
> <br>
<br>
<br>
_______________________________________________<br>
Geotoolkit mailing list<br>
<a href="mailto:Geotoolkit@lists.osgeo.org" target="_blank">Geotoolkit@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geotoolkit" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geotoolkit</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Alexis Manin,<br>Développeur JAVA/JEE.<br>Geomatys.<br><br><img src="https://drive.google.com/a/geomatys.com/uc?id=0BzSiAcVRHmQcdXhxZjgwQlM4ODJIUXRrRk5Fa1ZQT3prTm5Z&export=download"><br><img alt=""></div></div></div></div></div></div></div></div></div></div></div></div></div>