Questions tagged [mvn-repo]

This tag is to describe questions related to Maven Repositories, be it local or on the server.

99 questions
0
votes
1 answer

Getting 401 Unauthorized during Gradle build for Atlassian Renderer library

I think by Gradle build problem is related to this Spring article about Spring Artifactory instance repo.spring.io permissions. Pls help me correct my build.gradle which has started failing recently after upgrading to Gradle 5.0. Snippet from…
Abdullah
  • 139
  • 3
  • 17
0
votes
0 answers

JreCompat is available in 2 locations which one is correct and how to fix this please?

The method's class, org.apache.tomcat.util.compat.JreCompat, is available from the following locations: jar:file: .m2/repository/org/apache/tomcat/tomcat-util/9.0.13/tomcat-util-9.0.13.jar!/org/apache/tomcat/util/compat/JreCompat.class jar:file:…
Hossam Hassan
  • 11
  • 1
  • 4
0
votes
0 answers

Maven build succeeds without required depencency

I have a dependency com.somecompany.somelib in my maven module which is required. I have classes in my source code which consume this dependency. If I remove this dependency from my classpath in intellij, I see that my build for module fails in…
0
votes
1 answer

OpenJDK11 and compiler with java 1.8

VisualStudioCode needs openJDK11 but I need to compile with version 1.8. I downloaded openJDK11 and changed the JAVA_HOME variable, but it still shows Java 1.8 installed when I run java -version command: C:\>java -version java version…
0
votes
1 answer

Maven doesn't use the repository from the global settings.xml

I have set up an active profile with custom repositories in my "\Program Files\maven\conf" directory but Maven always tries to use the standard URL (repo.maven.apache.org/maven2) and fails to download the repositories because of that. I already…
Felix Schildmann
  • 574
  • 1
  • 7
  • 22
0
votes
1 answer

Invalid packaging for parent pom org.code.exec-maven.plugin:1.4 must be pom but is "maven-plugin"

I getting below error while I compile maven project with mvn, even exec-maven.plugin-1.4.pom file is available on the artifactory: Downloading : https://domain.abc/public/org/code/exec-maven.plugin/1.4/exec-maven.plugin-1.4.pom [ERROR]Invalid…
Nullpointer
  • 1,895
  • 20
  • 26
0
votes
0 answers

Run test phase in maven while skipping validate & compile

Working with a large multi-module maven project. Want to run phases as follows mvn clean install -DskipTests Then run unit tests. But this fails, even though code is already compiled mvn surefire:test
0
votes
1 answer

How to read this google components dependencies in this pom?

I am looking at jar hell right now between selenium and a google cloud jar. selenium is a bit out of date but in trying to see the versions in the pom file found here, I see no…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
0
votes
1 answer

Maven package An Ant BuildException has occured: Invalid license info

I am attempting to create a fat jar for a plugin in order to use it locally (since I am behind corporate network and don't always have access to the open internet). Unfortunately the packaging process fails due to: Failed to execute goal…
Ethan K
  • 131
  • 1
  • 9
0
votes
1 answer

Run mvn package every time I make changes?

Working on a DropWizard project for the first time which uses the docker-config.yml file to run the server using the jar file. The command I run on the terminal to run the server is something like this: java -jar target/foo-0.0.1.jar server…
Raj
  • 3,637
  • 8
  • 29
  • 52
0
votes
1 answer

Publishing a jar to MVN central

I'm trying to publish my JAR to maven Central I followed every step given here. The last step mentioned there is gradle uploadArchives Which worked, and said successfully uploaded. but when I go to release site, I don't see my jar there to…
sapy
  • 8,952
  • 7
  • 49
  • 60
0
votes
2 answers

tomcat8-maven-plugin ? (emphasis on the 8!)

Is there a version 8 (tomcat8) of the below? SampleServletFinalName org.apache.tomcat.maven tomcat7-maven-plugin
granadaCoder
  • 26,328
  • 10
  • 113
  • 146
0
votes
1 answer

Maven can't resolve dependency with Central repo

I'm trying to build project with following dependency central Maven Repository Switchboard default http://central.maven.org/maven2/
Arkady
  • 1,178
  • 14
  • 35
0
votes
0 answers

How to remove artifactItems from maven before the build

My maven pom looks like this
Kaushik G
  • 23
  • 6
0
votes
0 answers

mvnw Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL

I'm using mvnw to run the jhispter application by ./mvnw, when i tried to run it, it is showing issue as Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: …
td4u
  • 402
  • 5
  • 17