Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Issues using Proget as a Maven Mirror

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 2 Posters 24 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I am having issues using Proget as a maven mirror for a string-boot project.

      This is the problem path.

      Create a maven feed and add a connector to http://central.maven.org/maven2/

      Go to add package from the feed and select the central.maven.org feed and enter the group id of

      org.jboss.shrinkwrap.descriptors

      and a artifact id of

      shrinkwrap-descriptors-bom

      Click pull artifact and all of the pulls fail for all of the versions.

      Attemping a maven build results in

      [ERROR] Failed to execute goal on project counterservice: Could not resolve dependencies for project <project>:jar:0.0.1-SNAPSHOT: Failed to colle
      ct dependencies at org.springframework.boot:spring-boot-starter-web:jar:2.0.4.RELEASE -> org.hibernate.validator:hibernate-validator:jar:6.0.11.Final: Failed to read artifact desc
      riptor for org.hibernate.validator:hibernate-validator:jar:6.0.11.Final: Could not find artifact org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-bom:pom:2.0.0-alpha-8 in c
      entral-proxy (https://<my proget server>/maven2/maven-mirror/) -> [Help 1]

      If I delete my settigs file and go directly to http://central.maven.org/maven2/ instead of trying to mirror the build succeeds.

      For whatever reason Proget cannot cache org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-bom:pom:2.0.0-alpha-8 and this is causing issues.

      Since all packages used by my company need to be approved and monitored for CVE findings we have to use proget as a mirror.

      Any clues here would be useful.

      Thanks.

      Product: ProGet
      Version: 5.1.10

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        Hello Jeremy,

        It seems that the Maven feed code in ProGet is incorrectly identifying all prerelease Maven package versions as snapshot versions.

        I've filed this as PG-1380.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation