This tag is to describe questions related to Maven Repositories, be it local or on the server.
Questions tagged [mvn-repo]
99 questions
1593
votes
35 answers
How to add local jar files to a Maven project?
How do I add local jar files (not yet part of the Maven repository) directly in my project's library sources?

Praneel PIDIKITI
- 18,677
- 13
- 41
- 60
473
votes
20 answers
Get source JARs from Maven repository
Does anyone have any idea if you can find source JARs on Maven repositories?

Ioan Alexandru Cucu
- 11,981
- 6
- 37
- 39
337
votes
9 answers
Hosting a Maven repository on github
I have a fork of a small open sourced library that I'm working on github. I'd like to make it available to other developers via maven, but I don't want to run my own Nexus server, and because it's a fork I can't easily deploy it to…

emmby
- 99,783
- 65
- 191
- 249
308
votes
21 answers
Find Oracle JDBC driver in Maven repository
I want to add the oracle jdbc driver to my project as dependency (runtime scope) - ojdbc14.
In MVNrepository site the dependency to put in the POM is:
com.oracle
ojdbc14
…

rperez
- 8,430
- 11
- 36
- 44
62
votes
3 answers
Create local maven repository
I want to create local maven repository. I did the following steps:
Installed maven plugin in eclipse
Created one folder localrepository in apache server which is accessible using http://< my-domain>/localrepository
In my project pom.xml I have…

pbhle
- 2,856
- 13
- 33
- 40
27
votes
4 answers
What files in a Maven project should be committed to git?
I want to know what files in a Maven project should be committed to git.
Am I suppose to perform a mvn clean before committing, or do I add certain files to the .gitignore file?

tyleax
- 1,556
- 2
- 17
- 45
6
votes
1 answer
AWS CodeArtifact: mvn deploy:deploy-file Failed to deploy artifacts: Could not transfer artifact 401 Unauthorized
I have an issue while trying to publish a java library (jar) to an AWS CodeArtifact Maven repository. I get HTTP Status code 401 (unauthorized) when I try to publish it. Which would indicate that I'm doing something wrong like a missing…

Pierre
- 2,335
- 22
- 40
6
votes
1 answer
Resolution will not be attempted until the update interval of company_repository has elapsed or updates are forced
I already have seen answers to this problems several time and I tried them too.
I am trying to use grooy-all and groovy-maven-plugin in my project and the dependencies in pom.xml is:
…

Srijani Ghosh
- 3,935
- 7
- 37
- 68
5
votes
3 answers
Maven ant task. Transitive (pom) dependencies and https issue
As you know, starting from 15 January 2020 Maven central repo requires HTTPS-only access. One of our projects is using Ant and Maven Ant Tasks (dependency management only). Yes, I know it's deprecated, but what is the other option for using pom.xml…

FoxyBOA
- 5,788
- 8
- 48
- 82
2
votes
0 answers
nexus pentaho unavailable?
In my pom I have this dependency
org.pentaho.reporting.engine
classic-core
9.2.0.0-290
available at…

Cristina Moretti
- 77
- 8
2
votes
1 answer
Will be using a wiremock-jre-8 dependency within a java 11 project an issue?
Disclamer
Sorry in advance if this is a stupid question, but my research to clarify this was not as successful as i needed it to be.
Problem description
I am working on a project using jdk 11 and in order get decent testcoverage, i added something…

BorisP
- 23
- 1
- 3
2
votes
1 answer
Missing artifact jakarta.platform:jakarta.jakartaee-api:jar:10.0.0
I've created new Jakarta Faces project and my purpose is using Jakarta EE 10.
I added this dependency to my pom.xml file:
jakarta.platform
jakarta.jakartaee-api
…

Mehdi Rahimi
- 1,453
- 5
- 20
- 31
2
votes
0 answers
Maven build fails with - Process exited with an error: 126
I'm running maven build with command -
mvn clean install -DdestFolder=
but it fails with following error -
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (Transpilation) on project UI: Command…

Alpha
- 13,320
- 27
- 96
- 163
2
votes
1 answer
How to let Maven download from Nexus but bypass it for external jars
I understand Nexus is supposed to download the external dependencies, but the company Nexus server (over which I have no control) cannot access the internet or download external jars.
As a workaround I have 2x settings.xml files which I manually…

Jasper Citi
- 1,673
- 1
- 23
- 31
2
votes
1 answer
mvn deploy:deploy-file publish multiple files to nexus
We want to publish the artifacts using mvn command to the "release" repository in nexus (not SNAPSHOT), however running multiple commands to add new files to one of the version isnt possible (will fail with HTTP 400 error). So, can any one please…

hare krshn
- 176
- 1
- 4
- 16