Questions tagged [maven-wagon-plugin]

The Maven Wagon plugin is a plugin for Apache Maven 2 for deploying files, supporting SCP, FTP, file copy and a variety of other mechanisms. This is a tag for Maven related questions that are specific to using this plugin for deploying files.

The Maven Wagon plugin is a plugin for the Apache Maven 2 for deploying files via uploading and downloading. It supports SCP, FTP, file copy and a variety of other mechanisms. This is a tag for Maven related questions that are specific to using this plugin for deploying files.

58 questions
3
votes
1 answer

Maven wagon error when trying to copy artifact

I am trying to use the Maven Wagon plugin to copy artifacts to a server. I have set it up as follows: org.apache.maven.wagon wagon-ssh
Magick
  • 4,603
  • 22
  • 66
  • 103
3
votes
2 answers

Using a Windows mapped drive as an artifact/component repository

I would like to avoid using a full-fledged component repository such as Nexus/Artifactory as remote repository and use a mapped Windows drive instead with such: \\drive\path\to\repository\ I am not sure how to proceed. Do I need the Wagon plugin…
balteo
  • 23,602
  • 63
  • 219
  • 412
3
votes
2 answers

maven deployment with ftp uploading: I want to upload just the war file but is uploading more files

I am following instructions exactly as specified here: http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ftp.html (The only difference is that I'm using version 2.4 of wagon-ftp). and then execute mvn deploy I just want to…
DPM
  • 1,960
  • 3
  • 26
  • 49
2
votes
0 answers

Setting custom headers for HTTP PUT requests not set for wagon:upload

I need to set a http header "Content-Type: application/json" when uploading my test data with wagon:upload. I am setting the server as described in: Advanced Configuration of the HttpClient HTTP Wagon Here is my wagon configuration in the…
maddob
  • 989
  • 1
  • 12
  • 29
2
votes
1 answer

Maven ssh deployment overrides artifacts in nexus - Can this be prevented?

we are using the Maven Wagon SSH and Wagon SSH External plugins to deploy to our nexus repository. This way artifacts in the nexus can be overridden. Is there a way to prevent this on the maven side? Or do we have to change either the wagon or the…
BlackEye
  • 775
  • 11
  • 25
2
votes
2 answers

How to use the SingleKnownHostProvider in the `settings.xml`?

I want to configure my Maven settings.xml to contain the RSA fingerprint of our internal repository (with id "internal"). I found an answer on how to ignore the fingerprint and found a class called SingleKnownHost in that same package which says…
Sled
  • 18,541
  • 27
  • 119
  • 168
1
vote
0 answers

How to fix "The wagon you are using has not implemented getFileList()" error

I have a working tycho project using tycho v2.3.0 and I need to use upgrade it with latest version of tycho v3.0.3. Once I compile the project using tycho v3.0.3 and maven compiler v3.9.0, I got the following error: [ERROR] Failed to execute goal…
1
vote
1 answer

Unable to consume artifact deployed in a private Bit-bucket repository

I am using wagon-git version 0.2.5 to deploy and consume the artifact from my private bitbucket. Following the same steps as given in the documentation http://synergian.github.io/wagon-git/bitbucket.html. Error: Could not resolve dependencies for…
Harsha
  • 343
  • 1
  • 3
  • 6
1
vote
1 answer

Can't transfer medium large files using wagon maven FTPS

I'm using wagon plugin to send build to a remote server through FTPS/990, all files are sent successfully except meduim large files (example : 75 MB), the connection seems to be closed and I'm getting the below error : …
aminedev
  • 323
  • 3
  • 9
  • 22
1
vote
0 answers

Can Dependency Management define version for Maven extension

Have defined wagon-webdav-jackrabbit as an extension in Parent POM, the Parent POM makes use of Dependency Management POM. Parent POM has extension defined for wagon-webdav-jackrabbit
User
  • 81
  • 2
  • 9
1
vote
1 answer

Store Maven Archetype In Google Cloud Storage

I am using a Maven wagon to store my artifacts in Google Cloud Storage. I followed this blog post https://egkatzioura.com/2018/04/09/host-your-maven-artifacts-using-google-cloud-storage/. I wanted to avoid using nexus for the overhead of running a…
dan
  • 75
  • 9
1
vote
1 answer

How to find the version of a Maven plugin in the project?

I'm trying to find the version of maven-wagon plugin that's being used in my project. Is there a way to find the version of a used plugin via command line?
phanin
  • 5,327
  • 5
  • 32
  • 50
1
vote
1 answer

Maven Wagon plugin Post

I have some xml files and I want to upload them to my domain. Only way i can do it is through endpoint. I have configured maven wagon plugin like below org.codehaus.mojo
dawidklos
  • 902
  • 1
  • 9
  • 32
1
vote
1 answer

Maven FTP Deployment: Unable to create directory

For the past couple of hours, I have been unable to solve this issue. Note that I have tried looking for solutions with no avail. Anyway, my issue is that I am unable to create a directory with the Maven Wagon plugin. Here is an snip of the error…
Bart
  • 59
  • 1
  • 1
  • 8
1
vote
3 answers

Maven deploy to remote host ssh(scp) not repository

I'm trying to copy a jar built by maven to a directory in a remote host, not a repository. I tried user1050755 answer here Using Maven for deployment which uses the maven-antrun-plugin and also I've tried the wagon-ssh plugin. Below is the…
gary69
  • 3,620
  • 6
  • 36
  • 50