[Geoserver-devel] How to solve the problem that pom dependencies cannot be downloaded and introduced

Hello, geoserver team, I am a coder in China. I downloaded the code of your organization from gitlab and ran the code according to the geoserver document, but now I have met a problem. I found that some jars in pom cannot be referenced and downloaded, and I did not change any data in pom. What should I do? Thank you for your time to answer this question. Thank you. Or if I have any other questions, please let me know

1681702567573.png

What jars are missing? We try and upload any third party dependencies to Browse - Nexus Repository Manager (osgeo.org) (this includes both geoserver artifacts and caches of third party artifacts).

It looks like you are trying for geotools 29-SNAPSHOT which is available in the snapshot repository: Browse - Nexus Repository Manager (osgeo.org)

But you are correct I do not see the pom files being listed; I wonder if the nightly build server is only publishing artifacts?

You are the first person to report this so it may be a recent change or glitch. Perhaps a job ran to reclaim space or something.

I cannot reach build.geoserver.org right now; so chances are something is actually going wrong :frowning:


Jody Garnett

On Sun, Apr 16, 2023 at 8:59 PM wang cheng <1455224865w@anonymised.com> wrote:

Hello, geoserver team, I am a coder in China. I downloaded the code of your organization from gitlab and ran the code according to the geoserver document, but now I have met a problem. I found that some jars in pom cannot be referenced and downloaded, and I did not change any data in pom. What should I do? Thank you for your time to answer this question. Thank you. Or if I have any other questions, please let me know

1681702567573.png


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Thank you for your reply.

On Mon, Apr 17, 2023 at 12:09 PM Jody Garnett <jody.garnett@anonymised.com> wrote:

What jars are missing? We try and upload any third party dependencies to Browse - Nexus Repository Manager (osgeo.org) (this includes both geoserver artifacts and caches of third party artifacts).

It looks like you are trying for geotools 29-SNAPSHOT which is available in the snapshot repository: Browse - Nexus Repository Manager (osgeo.org)

But you are correct I do not see the pom files being listed; I wonder if the nightly build server is only publishing artifacts?

You are the first person to report this so it may be a recent change or glitch. Perhaps a job ran to reclaim space or something.

I cannot reach build.geoserver.org right now; so chances are something is actually going wrong :frowning:


Jody Garnett

On Sun, Apr 16, 2023 at 8:59 PM wang cheng <1455224865w@anonymised.com> wrote:

Hello, geoserver team, I am a coder in China. I downloaded the code of your organization from gitlab and ran the code according to the geoserver document, but now I have met a problem. I found that some jars in pom cannot be referenced and downloaded, and I did not change any data in pom. What should I do? Thank you for your time to answer this question. Thank you. Or if I have any other questions, please let me know

1681702567573.png


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I can see eg. several gt-main artifacts in the repo:
eg. https://repo.osgeo.org/service/rest/repository/browse/snapshot/org/geotools/gt-main/29-SNAPSHOT/

(attachments)

1681702567573.png

···

Disclaimer;
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don’t understand.

I can no only see jar files; not parent pom files (which would be needed if just building a module in isolation.

I cannot determine if nexus actually stored that?

(attachments)

1681702567573.png

···


Jody Garnett

I can confirm this now a problem in repository mirrors also - something has changed :slight_smile:

Compare: https://repo.osgeo.org/#browse/browse:Geoserver-releases:org%2Fgeoserver%2Fcommunity

Which lists pom versions.

With: https://repo.osgeo.org/#browse/browse:Geoserver-releases:org%2Fgeoserver

Which is empty.

Not sure what to make of it yet

(attachments)

1681702567573.png

···


Jody Garnett

I have created an issue here: https://osgeo-org.atlassian.net/browse/GEOS-10944

And with osgeo SAC: https://trac.osgeo.org/osgeo/ticket/2922#ticket

(attachments)

1681702567573.png

···


Jody Garnett

Wang:

It appears that the artifacts are available (just following the maven repository folder structure which is not obvious).

I am not sure why your IDE is unable to locate the pom.xml file? Here is is online…

https://repo.osgeo.org/service/rest/repository/browse/geotools-releases/org/geotools/geotools/29.0/

Try building on the command line (or using the maven window in your IDE) with -U to refresh snapshots.

(attachments)

1681702567573.png

···


Jody Garnett