This worked first try for me :)
1. I searched repo.osgeo.org to see if it was there https://repo.osgeo.org/#browse/search=keyword%3D%22libdeflate-java-core%22 It was not. 2. I edited modules/plugins/image/pom.xml with: <dependency> <groupId>me.steinborn</groupId> <artifactId>libdeflate-java-core</artifactId> <version>0.1.0-beta</version> </dependency> 3. Tried it out: mvn compile 4. It downloaded as expected: Downloaded from osgeo-snapshot: https://repo.osgeo.org/repository/snapshot/org/geotools/gt-opengis/27-SNAPSHOT/gt-opengis-27-20220419.191623-120.jar (0 B at 0 B/s) Downloading from osgeo-release: https://repo.osgeo.org/repository/release/me/steinborn/libdeflate-java-core/0.1.0-beta/libdeflate-java-core-0.1.0-beta.jar Downloaded from osgeo-release: https://repo.osgeo.org/repository/release/me/steinborn/libdeflate-java-core/0.1.0-beta/libdeflate-java-core-0.1.0-beta.jar (47 kB at 57 kB/s) 5. I searched repo.osgeo.org to see if it was there https://repo.osgeo.org/#browse/search=keyword%3D%22libdeflate-java-core%22 It is now listed. Is that not what you wanted? Or did I miss something... -- Jody Garnett On Apr 20, 2022 at 9:33:56 AM, Daniele Romagnoli < daniele.romagn...@geo-solutions.it> wrote: > > > On Wed, Apr 20, 2022 at 6:22 PM Jody Garnett <jody.garn...@gmail.com> > wrote: > >> I would hope that it can now fetch and cache the jar (should be no need >> for manual upload now that /me/steinborn/* is in the routing rules to be >> cached?). >> > > Yep. me too but it seems it's still not there. > I have also tried to redeploy again to geosolutions, hoping the routing > rules would catch that but it's still not there on nexus. > > >> >> As for deploy, you provided credentials in your ~/.m2/settings.xml file >> yes? >> > Yep. > > >> What does "that didn't work" look like.... >> > Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) > on project imageio-ext: Failed to deploy artifacts: Could not find artifact > me.steinborn:libdeflate-java-core:jar:0.1.0-beta in osgeo (dav: > http://download.osgeo.org/upload/geotools) -> [Help 1] > > >> >> LDAP user danieleromagnoli has been granted GeoServer-Admin and >> GeoTools-Admin permissions; but once again manual upload should not be >> required. >> > I'll take a look again on tomorrow. > Thanks for your follow up so far. > > Regards, > Daniele > > >> >> -- >> Jody Garnett >> >> >> On Apr 20, 2022 at 12:51:02 AM, Daniele Romagnoli < >> daniele.romagn...@geosolutionsgroup.com> wrote: >> >>> Hi Jody. >>> My user is danieleromagnoli. >>> I have tried with the manual deploy using similar maven deploy command >>> with dav but that didn't work. >>> Please, let me know if you can allow my osgeo user to manually upload to >>> Nexus. >>> >>> Regards, >>> Daniele >>> >>> >>> >>> >>> Regards, >>> >>> Daniele Romagnoli >>> >>> == >>> GeoServer Professional Services from the experts! >>> >>> Visit http://bit.ly/gs-services-us for more information. >>> == >>> >>> Daniele Romagnoli >>> Senior Software Engineer >>> >>> GeoSolutions Group >>> phone: +39 0584 962313 >>> fax: +39 0584 1660272 >>> >>> https://www.geosolutionsgroup.com/ >>> http://twitter.com/geosolutions_it >>> ------------------------------------------------------- >>> >>> Con riferimento alla normativa sul trattamento dei dati personali (Reg. >>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si >>> precisa che ogni circostanza inerente alla presente email (il suo >>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è >>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra >>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia. >>> >>> This email is intended only for the person or entity to which it is >>> addressed and may contain information that is privileged, confidential or >>> otherwise protected from disclosure. We remind that - as provided by >>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this >>> e-mail or the information herein by anyone other than the intended >>> recipient is prohibited. If you have received this email by mistake, please >>> notify us immediately by telephone or e-mail. >>> >>> >>> On Tue, Apr 19, 2022 at 6:04 PM Jody Garnett <jody.garn...@gmail.com> >>> wrote: >>> >>>> Comments inline: >>>> >>>> Reviewing: >>>>>> >>>>>> - How did you "manually add an artifact to geosolutions repo"? I >>>>>> ask because the cache policy is set to strict "Validate that all >>>>>> paths are >>>>>> maven artifact or metadata paths". >>>>>> >>>>>> >>>>> I have used a command like this: >>>>> >>>>> mvn deploy:deploy-file -Durl=ftp://demo.geo-solutions.it >>>>> -DrepositoryId=geosolutions -Dfile=myartifact.jar -DgroupId=me.steinborn >>>>> -DartifactId=libdeflate-java-core -Dversion=0.1.0-beta -Dpackaging=jar >>>>> -DgeneratePom=true >>>>> >>>> >>>> Okay, so ftp site :) >>>> >>>> The procedure to deploy to geotools releases or geoserver releases (for >>>> example) is similar. >>>> >>>>> >>>>> Let me add "me/steinborn" to the routing rules... >>>>>> >>>>> >>>>> Will that automatically trigger a mirroring for the missing artifact >>>>> or will it work only from now on, instead? (I suppose the latest) >>>>> If not, do you have any chance to put a copy of that artifact in the >>>>> mirror since my working day is almost done? >>>>> (no problem if you can't. I will retrieve my OSGeo credentials >>>>> tomorrow and retry on my own). >>>>> >>>> >>>> Yes that is my understanding, please try! >>>> >>>> Can you give me your osgeo user id and I can make sure you have access >>>> to repo.osgeo.org. >>>> >>>> Jody >>>> >>>>> _______________________________________________ >> GeoTools-Devel mailing list >> geotools-de...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > > > -- > Regards, > Daniele Romagnoli > == > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > > Ing. Daniele Romagnoli > Senior Software Engineer > > GeoSolutions S.A.S. > Via di Montramito 3/A > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE > 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si > precisa che ogni circostanza inerente alla presente email (il suo > contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è > riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il > messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra > operazione è illecita. Le sarei comunque grato se potesse darmene notizia. > > This email is intended only for the person or entity to which it is > addressed and may contain information that is privileged, confidential or > otherwise protected from disclosure. We remind that - as provided by > European Regulation 2016/679 “GDPR” - copying, dissemination or use of this > e-mail or the information herein by anyone other than the intended > recipient is prohibited. If you have received this email by mistake, please > notify us immediately by telephone or e-mail. >
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel