This tag is to describe questions related to Maven Repositories, be it local or on the server.
Questions tagged [mvn-repo]
99 questions
1
vote
0 answers
Maven repository set up not working in azure devops
I am setting up maven repository in azure devops. With the new feed, I was able to publish artifacts. On the other side I was able to download packages and my client program compiles but it does not run with the following…

user10360768
- 225
- 3
- 14
1
vote
2 answers
Unable to get the maven installation path
I have installed maven 3.6.0 in my mac using homebrew. When I try
mvn --version
in my terminal, I get the
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T05:41:47+11:00)
Maven home:…

Mano Kugan
- 207
- 6
- 23
1
vote
0 answers
Moving Maven artifact to new group
I changed maven group ids for my project some time ago, from this to this. In mvnrepository, the old group id persists on page one of the search results - which is annoying because none of those versions work anymore, and the real project with…

Synesso
- 37,610
- 35
- 136
- 207
1
vote
1 answer
Build sibling projects when running mvn install
We have a project that recently switched from ant and crappy CLI tools to maven,
our current structure is:
- parent
- main-project:
- sub-module-A:
- sub-module-B:
Each one of these projects is in it's own repository and they are linked…

thepoosh
- 12,497
- 15
- 73
- 132
1
vote
0 answers
maven dependencies conflicts
I got the following error:
[ERROR] /Users/me/mycom/poc/spark-streaming/src/main/scala/com/mycom/poc/App.scala:15: error: object mycom is not a member of package org.apache.spark.io
[ERROR] import io.mycom.myproj.schema.event.Event
There is a…

BAE
- 8,550
- 22
- 88
- 171
1
vote
1 answer
How do i tell Maven to download all versions of a pom.xml instead of a single version?
I have a master pom.xml with various snapshots and lot of versions. When building the pom.xml , we see only a single version getting downloaded in the m2/localrepo, where as we want to download all versions of a snapshot. On running mvn clean…

Manigandan Thanigai Arasu
- 627
- 3
- 10
- 24
1
vote
1 answer
Maven: project setup
I am starting a new project as well as starting with Maven.
I am not sure my project-structure with Maven is decent and so I would like to ask. I describe the project with a little example.
The projects name should be MyPrj.
It consists of 3 parts…

chris01
- 10,921
- 9
- 54
- 93
1
vote
0 answers
maven - generate sources is not working
please advise if possible on this
I am running mvn package source:jar and get a module.jar and module-sources.jar as expected in the target directory
However, I have 2 issues:
1) I when I do : mvn install source:jar I get a -source.jar in my…

Dmitriy Ryabin
- 363
- 3
- 16
1
vote
3 answers
Maven Repository
I have downloaded all artifacts in maven repository. Now I copied the repository folder content to other computer running maven. I have to access this new repository for maven commands but it is trying to connect to net for downloading artifacts…

user1564943
- 11
- 2
0
votes
2 answers
My java project can't recognize a class from my other custom maven dependency from local repository
I have issues with Maven 3 / Intellij .
As you see in this picture , I can't use my custom dependency classes in a new different project. it seems that intellij (same issue with eclipse) does not recognize the class IRunnableTask.java from the…

sifokl
- 3
- 7
0
votes
0 answers
ParentContainsErrorRecordException while running mvn install -Psetup, seed, test-data comand
PS D:\Upgrad\01_Code from upgrad\04_BACKEND_INTEGRATION\proman-backend\proman-db> mvn install -Psetup,seed,test-data
At line:1 char:21
+ mvn install -Psetup,seed,test-data
+ ~
Missing argument in parameter list.
+…
0
votes
0 answers
Upgradability of a library version (via override) using mvnrepository.com "updates" section information
There are several instances where I would like to override the version of a transitivity dependency version for a library that has security vulnerabilities. But it's tough to determine which version I can upgrade to without breaking anything.
For…

Sridhar Sarnobat
- 25,183
- 12
- 93
- 106
0
votes
1 answer
Cucumber : Maven : Dcucumber.options : How to have multiple tags with one of them being IGNORE TAG like "NOT @tag"
I am trying to run Cucumber Scenarios with Maven using below command:
mvn clean install -Pgeneric-runner -Dmaven.test.failure.ignore '-Dcucumber.options=--tags @tag1 and not @tag2'
The above Maven command is failing. However, when I am removing the…

Anwoy
- 1
0
votes
0 answers
MVN Dependency Mediation Fail - Resolving to multiple versions of the same dependency
As per the dependency mediation rules mentioned here, jackson-datatype-jsr310 at all places should resolve to one version.
But I see multiple versions below in this format. (version managed from {{version}}; omitted for duplicate)
Can someone…

Abilash G
- 1
- 1
0
votes
0 answers
Non-resolvable parent POM for project_name
I'm trying to run command "mvn clean install -U" to build/package project artifact (jar). I've cloned the repository and navigated into proj directory, but am getting error when running this command: The project project_name(C:\Users\me\pom.xml) has…

ncisco3200
- 19
- 3