Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. misael.esperanzate_5668
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    misael.esperanzate_5668

    @misael.esperanzate_5668

    0
    Reputation
    8
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    misael.esperanzate_5668 Follow

    Best posts made by misael.esperanzate_5668

    This user hasn't posted anything yet.

    Latest posts made by misael.esperanzate_5668

    • RE: Multi Connector Feed

      Hi @stevedennis ,

      I started with a maven feed with two unfiltered connectors to remote repos:
      First connector: https://repo1.maven.org/maven2/
      Second connector: https://build.shibboleth.net/maven/releases/

      5c9c6cda-1b54-48be-9cb1-0fe650d2ea90-image.png

      Running the command
      curl -I https://my.server.com/maven2/myfeed/org/opensaml/opensaml-security-api/4.1.1/opensaml-security-api-4.1.1.pom
      should return 200 and then right after that run
      curl -I https://my.server.com/maven2/myfeed/org/opensaml/opensaml-security-api/4.1.1/opensaml-security-api-4.1.1.jar
      which returns a 404.
      7014baf3-f0da-40a6-a2bf-bb5883f629ff-Screenshot_6.png

      Now remove the maven connector and clearing cache leaving us with just shibboleth:

      1ff997e2-0de4-4782-b116-862bc594f5b4-image.png

      Now run both the commands above again which should return 200 for both.

      9d85744d-7f32-4ea0-8d71-5ee833e86b3f-Screenshot_1.png

      posted in Support
      M
      misael.esperanzate_5668
    • Multi Connector Feed

      Hi,

      I was having some trouble with pom files being retrieved but not my jar files when building my gradle project. I think I pinpointed the issue with the connectors.

      For some context, I have a maven feed with multiple connectors. One of the connectors being the maven connector. Other connectors are from remote maven repos and self-connectors.

      Back to the issue, I have tested building my gradle project with just one connector which is the maven central connector (https://repo1.maven.org/maven2). That worked fine up until it needed other dependencies from other remote repos (i.e. https://build.shibboleth.net/maven/releases/). I added another connector and then that's when the issue of the jar missing but the pom file retrieved problem comes back.

      One of the dependency it's trying to retrieve is org.opensaml:opensaml-security-api:4.1.1. Both maven central and shibboleth have those coordinates. I have read in the docs about connector filters but there is a lack of info on the filter format or examples for maven connectors. I was thinking of blocking the package from the maven central connector so that only the shibboleth connector is used to retrieve the artifacts. I have the following filters set in the maven central connector:

      f4a9bed1-c857-4577-9711-b45eb52cd53d-image.png

      How would I go about this issue? Did I format or use wildcard properly for maven feeds? Am I going about this all wrong?

      Thank you!

      Web UI Version: 2024.38 (Build 1)
      Database Schema Version: 24.0.38.1

      posted in Support
      M
      misael.esperanzate_5668
    • RE: Pulling dependencies from ProGet in gradle

      Hi @stevedennis

      After a couple weeks of some testing, I've come to the conclusion that whenever I have the Connector Package Caching enabled on the feed level I run into the issue mentioned above.

      Disabling the caching built my project successfully but I still want to have caching enabled. Is there a reason why this could be happening?

      posted in Support
      M
      misael.esperanzate_5668
    • Gradle dependency resolution with Proget

      Whenever I try to build my project with gradle I get an error saying that it could not parse the POM file. The artifact in specific is com.google.apis:google-api-services-healthcare, which is from a maven central connector for my feed.

      Proget manages to see all the versions but when I click on a pom file it takes me to a empty maven2 page like:

      2ea65291-cf07-4a09-b3c7-5b86c9071943-image.png

      If I pull the artifact using the web ui it manages to pull the pom but clicking on it redirects me to an empty directory like the image above.

      I have checked if the pom file exists in the local .maven Proget storage directory and it shows up there with the correct contents.

      posted in Support
      M
      misael.esperanzate_5668
    • RE: Pulling dependencies from ProGet in gradle

      @Dan_Woolf I have the 2024.38 version of Proget

      posted in Support
      M
      misael.esperanzate_5668
    • RE: Pulling dependencies from ProGet in gradle

      @atripp So I have been testing other dependencies and it's giving the same result. For example, I'm trying to pull this dependency Screenshot 2025-06-06 at 11.54.41 AM.png

      I noticed that it only downloads the .pom file. The other artifacts show up but when I click on the .jar it still says File not found on disk. The weird thing is when I delete the .pom artifact only then I can click on the .jar since it can be found now.

      I have tried clearing cache and also re-indexing but it always does this. This only happens when I use connectors. Whether it be a remote repo connector or a connector a proget feed. I also made sure the global settings allow invalid version/non standard files to be deployed to the feed. I also set the block settings to allow download for noncompliant packages.

      Is there anything else I can try to resolve this?

      posted in Support
      M
      misael.esperanzate_5668
    • Pulling dependencies from ProGet in gradle

      I'm trying to use my maven feed on ProGet on gradle for dependency resolution. My feed has connectors for remote repos such has maven central, gradle plugins, etc.

      My problem now is that whenever I'm building my project I get the error for a couple dependencies but this is one example

      Could not find hamcrest-core-1.3.jar (org.hamcrest:hamcrest-core:1.3).
           Searched in the following locations:
               http://my.server.local:8624/maven2/my-feed/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
      

      When I check the feed it has the artifacts but when I click on the jar files it gives me a page.

      Screenshot 2025-05-15 at 3.08.55 PM.png

      This doesn't make sense since I'm using the maven central repo. Would I need to download each artifact manually from the maven central repo?

      Screenshot 2025-05-15 at 3.04.21 PM.png

      I feel like I'm missing something or fetching the feed wrong.

      posted in Support
      M
      misael.esperanzate_5668
    • Import Artifacts from Artifactory 404 Error

      When I am creating a new maven2 feed and add artifacts from Artifactory I get an error shown below:

      Unhandled exception: System.Net.WebException: The remote server returned an error: (404) .
      

      I did some digging and I pinpointed the main issue which was that the repository I was importing from did not have ./index/nexus-maven-repository-index.gz.

      My question now, is it possible to bypass that error? It's not only that repository but I also want to create connectors to remote repositories but some of the endpoint urls also don't have that repository index.

      posted in Support
      M
      misael.esperanzate_5668