Maven Repo: Could not resolve dependencies ... - GitLab
文章推薦指數: 80 %
The problem is while building the parent project, it fails to find the dependency. Below are the repository settings for both: Dependency ...
GitLab
Projectinformation
Projectinformation
Activity
Labels
Members
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
LockedFiles
Issues
43,719
Issues
43,719
List
Boards
ServiceDesk
Milestones
Iterations
Requirements
Mergerequests
1,363
Mergerequests
1,363
CI/CD
CI/CD
Pipelines
Jobs
Schedules
TestCases
Deployments
Deployments
Environments
Releases
Packages&Registries
Packages&Registries
PackageRegistry
ContainerRegistry
InfrastructureRegistry
Monitor
Monitor
Metrics
Incidents
Analytics
Analytics
Valuestream
CI/CD
Codereview
Insights
Issue
Repository
Snippets
Snippets
Activity
Graph
Createanewissue
Jobs
Commits
IssueBoards
Collapsesidebar
Closesidebar
Opensidebar
GitLab.orgGitLab
Issues
#36076
Closed
Open
CreatedNov11,2019bysb30@sb30
MavenRepo:Couldnotresolvedependencies-Couldnotfindartifact
Hello,
IamworkingonapipelineformyJava/Mavenprojects.WehaveahostedGitlabwithmaven-repoenabledandhavetwoprojectswhereoneisdependentontheother.
ThedependencybuildsjustfineandIcanseetheartifactdeployedunderthepackagesfolderoftheproject.Theproblemiswhilebuildingtheparentproject,itfailstofindthedependency.
Belowaretherepositorysettingsforboth:
DependencyProject:
延伸文章資訊
- 1Working with Maven dependencies not found in public ...
Use a corporate repository manager such as Nexus or Artifactory · Use a dependency with system sc...
- 2Force maven to fetch dependencies from remote - Seralahthan
Could not resolve dependencies for project ... Maven will compare the local POM's timestamp (stor...
- 3dependency resolution - Maven fails to find local artifact
This means that there's no local repository used when resolving dependencies (though your install...
- 4Solved: Could not resolve dependencies for project - Failu...
See this note too: UberJar and the other related artifacts are available on Maven Central Reposit...
- 5How to Fix Maven Artifacts Could not be Resolved Error ...
I executed below command to install it in my localhost maven repo and everything worked. ... Coul...