Uploaded image for project: 'Maven Install Plugin'
  1. Maven Install Plugin
  2. MINSTALL-178

Maven Doesn't Pick Locally Installed Package / Artifact

    XMLWordPrintableJSON

Details

    • Important

    Description

      Java Version - 11

      `mvn clean install` is not picking up a locally installed snapshot artifact that is present in the .m2 folder.

      It complains with the following warning and then start looking for this artifact in maven central -

       

      [DEBUG]  Could not find metadata
      <GROUP_ID>:<ARTIFACT_ID>:0.0.1-SNAPSHOT/maven-metadata.xml in local 

       

      I checked .m2 directory and it has maven-metadata-local.xml, why does maven look for maven-metadata.xml file? It's a locally installed artifact and maven should be able to pick this up directly. Looks like I'm missing something.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surendra_lilly Surendra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: