apache / apache/maven-install-plugin

[MINSTALL-178] Maven Doesn't Pick Locally Installed Package / Artifact

Open
#305 5 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
43
Forks
44
Avg merge
1d 23h
Merged PRs (30d)
11

Description

**[Surendra](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER297246)** opened **[MINSTALL-178](https://issues.apache.org/jira/browse/MINSTALL-178?redirect=false)** and commented

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 -

 

```java
[DEBUG]  Could not find metadata
::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.

---

**Affects:** 3.0.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.