Linked Questions

135 votes
16 answers
269k views

Im' getting an error when deploying an artifact in my own repository in a Nexus server: "Failed to deploy artifacts: Could not transfer artifact" "Failed to transfer file http:///my_artifact. Return ...
acimutal's user avatar
  • 2,255
45 votes
2 answers
29k views

I have a multi-module Maven project and in one module I want to create two artifacts during the build: The main artifact which is a jar library that some of the other modules will depend on. An ...
lanoxx's user avatar
  • 13.2k
17 votes
1 answer
15k views

I've a problem when publishing component to a Nexus repository, Maven upload the file twice: first time with maven-deploy-plugin groupId/artifactId/version parameters (that's what I want) second time ...
pierrefevrier's user avatar
17 votes
1 answer
10k views

In parent POM, I have: <pluginManagement> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version&...
Mike's user avatar
  • 3,595
7 votes
4 answers
27k views

I am experiencing some problems with my build process. the build is finishing fine and Jenkins starts to upload files to nexus. everything works well, but then it fails for some reason, the weirdest ...
Gleeb's user avatar
  • 11.4k
13 votes
2 answers
11k views

I require to generate some sources, so i attached a plugin goal to the generate-sources lifecycle phase. When I run mvn package it works fine, but when I run mvn install I noticed that my source ...
Bob Beamon's user avatar
22 votes
1 answer
19k views

When I execute mvn release:perform on a parent POM, the server is responding with this error about one of the child projects (filenames redacted): [ERROR] Failed to execute goal org.apache.maven....
Rob Johansen's user avatar
  • 5,174
11 votes
2 answers
5k views

I have a Maven project with multiple overlapping profiles. I want to display the active profiles at the beginning of every build. So I put the following into the pom.xml <build> section: <...
javawebapps's user avatar
2 votes
1 answer
6k views

I'm using Maven to build my project, but when I run the command mvn clean package deploy, it tries to deploy the artifact twice. I have the build-helper-maven-plugin plugin configured to attach an ear ...
Erates's user avatar
  • 666
1 vote
1 answer
1k views

I have checked question but of no avail, moreover my project is not multi-module maven project. pom.xml file Issue My project version is 5.5 and which I am trying to deploy to maven repo. But mvn ...
Tarun's user avatar
  • 3,506
2 votes
1 answer
2k views

I managed to build a Maven project in a way that makes the release deploy artifacts either double or not at all. Since the project uses an abstract parent pom of our company it's a bit hard to post ...
Stefan S.'s user avatar
  • 4,133
1 vote
1 answer
1k views

I'm struggling to push releases to Bintray in full. From what I can tell, the issue seems to be caused by the maven release plugin trying to push the sources jar twice -- hence the HTTP 409 conflict ...
kwah's user avatar
  • 1,149