Linked Questions
12 questions linked to/from Maven release plugin fails : source artifacts getting deployed twice
135 votes
16 answers
269k views
Error when deploying an artifact in Nexus
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 ...
45 votes
2 answers
29k views
maven-assembly-plugin: How to use appendAssemblyId
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 ...
17 votes
1 answer
15k views
Maven maven-deploy-plugin always upload twice
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 ...
17 votes
1 answer
10k views
Is it possible to override executions in maven pluginManagement?
In parent POM, I have: <pluginManagement> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version&...
7 votes
4 answers
27k views
maven deploy + nexus failed on bad request
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 ...
13 votes
2 answers
11k views
Maven phase executing twice
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 ...
22 votes
1 answer
19k views
Nexus accepts upload but says it failed
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....
11 votes
2 answers
5k views
Maven plugin executes multiple times during build
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: <...
2 votes
1 answer
6k views
Maven trying to deploy the same artifact twice
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 ...
1 vote
1 answer
1k views
maven deploy upload older and current version
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 ...
2 votes
1 answer
2k views
Deployment deploys twice or not at all
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 ...
1 vote
1 answer
1k views
Bintray 409 conflict - mvn release plugin uploading jar twice?
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 ...