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
11
votes
1 answer

How to provide Host Key for Maven SSH usage in server.xml

In the Maven settings.xml, I want to define an SSH server and provide: The Host to connect to The user to connect to The location of a private key (to authenticate myself) Manually provide a Host Key (public key to verify the server) I do not…
YoYo
  • 9,157
  • 8
  • 57
  • 74
10
votes
2 answers

Maven versions plugin: reference a rule.xml from a maven dependency?

I am using the mvn versions:display-dependency-updates versions:display-plugin-updates goals to check for dependencies or plugins updates. My maven project is a multi module one, which looks like this: moduleA |- moduleB1 | |- moduleC |-…
NoDataFound
  • 11,381
  • 33
  • 59
8
votes
1 answer

Run remote command via ssh using Maven3

I am using wagon-maven-plugin to scp my WAR file to the server. It works fine. My next step is to perform some commands on the server (mkdir, etc). Is there a plugin that helps me do that? Is there a way to work it out using wagon-maven-plugin? I…
Dexter
  • 1,621
  • 3
  • 18
  • 38
7
votes
1 answer

Maven Wagon plugin: Can wagon:upload upload to multiple locations?

I'm looking into the Maven Wagon Plugin to attempt uploading some artifacts to remote UNC Server shares (\\servername\share\directory\to\put\to), and I have gotten it configured to work like so in the POM:
Nick Klauer
  • 5,893
  • 5
  • 42
  • 68
7
votes
4 answers

wagon ssh / scp: No connector available to access repository ... of type default using the available factories WagonRepositoryConnectorFactory

Is this a bug of wagon-ssh 2.10? What might work? E.g. what combination of Maven, Wagon-SSH and pom settings will get the behaviour back that was there with Maven 3.0.5 and wagon-ssh 2.4? After upgrading to wagon-ssh 2.10 in my pom.xml to check…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
7
votes
1 answer

How can I adjust timeout for mvn mirror on dependency:resolve -- Error transferring file: Read timed out

Does anyone know how to control the timeout settings for a mirror in the maven settings file or in the dependency plugin? I see that I can modify timeout settings for a server but not a repository or a mirror. Problem Since upgrading nexus oss…
Peter Kahn
  • 12,364
  • 20
  • 77
  • 135
5
votes
2 answers

Problem uploading with maven-wagon-plugin

Im having a strange problem when im trying to let the wagon plugin upload files during the site-deploy lifecycle when i'm invoking the release:perform goal. It seems wagon uploads the files correctly when im invoking mvn site-deploy but it just…
fasseg
  • 17,504
  • 8
  • 62
  • 73
5
votes
0 answers

Maven settings.xml server configuration not injected into Wagon instance

Using the maven-wagon-plugin and Maven 3.2.5, I'm trying to override the default implementation of KnownHostsProvider within ScpWagon. Here is my configuration: pom.xml: ...
4
votes
2 answers

In Maven how do I copy files using the wagon plugin?

Summary: How do I copy some generated files into a webserver (eg IIS or Apache) directory using Maven? Details: I have a working application that builds in Maven. I've managed to get it building using the webstart-maven-plugin which produces all the…
Nick Fortescue
  • 43,045
  • 26
  • 106
  • 134
4
votes
1 answer

How to provide my "rules.xml" file in -DrulesUri argument of maven versions:update-properties without needing to specify it in pom.xml file?

I am using Maven Versions plugin's update-properties goal to update properties in pom.xml of multiples projects. (https://www.mojohaus.org/versions-maven-plugin/update-properties-mojo.html). I want the latest version of the dependency for…
Yogiraj
  • 308
  • 5
  • 14
4
votes
1 answer

Maven custom wagon Could not validate integrity of download Troubleshooting

I have implemented a custom maven wagon interacting with cloud based storage. The files are uploaded successfully to the cloud storage and the checksums are correct. md5 of maven-metadata.xml matches with the contents of maven-metadata.xml.md5 The…
gkatzioura
  • 2,655
  • 2
  • 26
  • 39
4
votes
1 answer

How to suppress/control logging of Wagon-FTP Maven extension?

I'm deploying Maven site by FTP, using Wagon-FTP. Works fine, but output is full of FTP connection/authentication details, which effectively expose logins and passwords to everybody (especially if the project is open source and its CI protocols are…
yegor256
  • 102,010
  • 123
  • 446
  • 597
4
votes
2 answers

How to configure Maven Wagon

Maven Wagon HTTP documentation says: Other features can be configured through system properties: maven.wagon.http.ssl.insecure = true/false (default false), enable/disable use of relaxed ssl check for user generated…
kevin cline
  • 2,608
  • 2
  • 25
  • 38
4
votes
2 answers

"Unable to initialise extensions" error while building maven project with "wagon-ssh"

Getting below error when building Maven (version 2.2.1) Project with wagon-ssh extention pom.xml: org.apache.maven.wagon wagon-ssh 2.4
user2358247
  • 41
  • 1
  • 3
3
votes
3 answers

How to use Wagon maven plugin with FTPS

I'm using the below configuration to upload files to a remote server through FTPS protocol : org.apache.maven.wagon wagon-ftp 3.0.0
aminedev
  • 323
  • 3
  • 9
  • 22
1
2 3 4