Questions tagged [wagon]

Maven Wagon is a transport abstraction that is used in Maven's artifact and repository handling code.

Maven Wagon defines a simple API for transferring resources (artifacts) to and from repositories. As of this writing, the following providers are supported:

  • File
  • HTTP
  • HTTP lightweight
  • FTP
  • SSH/SCP
  • WebDAV
  • SCM (in progress)
51 questions
12
votes
2 answers

Uploading a File via SCP with Maven fails

I try to upload an ear created by maven to an application server using scp. When I tried to run mvn wagon:upload-single But I get the following error: [ERROR] Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:upload-single…
Jens Schauder
  • 77,657
  • 34
  • 181
  • 348
10
votes
3 answers

Using closed-source dependencies with Maven

I have a closed-source project that I would like to build using Maven. It has a dependency on two java libraries which are not available in any public repository that I've been able to find (libGoogleAnalytics.jar and FlurryAgent.jar in this case,…
emmby
  • 99,783
  • 65
  • 191
  • 249
8
votes
1 answer

Deploying 3rd party packages to my internal repo using maven using custom wagon

How can i use my own wagon to deploy 3rd party packages to my remote repository? For example i can deploy a 3rd party package without altering pom.xml using the following command. mvn deploy…
user93796
  • 18,749
  • 31
  • 94
  • 150
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
6
votes
1 answer

Why does Maven disable caching for HTTP requests?

The default Maven settings for HTTP requests, such as the ones Maven uses to fetch artifacts from repositories, include the following headers: Cache-control: no-cache Cache-store: no-store Pragma: no-cache Expires: 0 Accept-Encoding: gzip This…
Emil Sit
  • 22,894
  • 7
  • 53
  • 75
5
votes
4 answers

Maven Wagon SCP is not able to establish a connection

I am trying to copy resources to another location. I am using maven wagon-ssh plugin to do this. It works fine locally, I am having issues when using Hudson/Jenkins. My settings.xml file looks like this: iq
Shamis Shukoor
  • 2,515
  • 5
  • 29
  • 33
5
votes
2 answers

Can Maven ref a parent POM from a private s3 bucket?

When using a private AWS S3 bucket as a Maven repo, there's plenty of working s3 wagon providers that work just fine for deploying and pulling dependencies using the s3://[bucket]/folder protocol. However, when you try to do this with a parent POM…
Alex
  • 2,435
  • 17
  • 18
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 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
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
1 answer

Deploying Javadocs via the Maven Wagon WebDAV provider to an NTLM-authenticated server

I'm attempting to use Maven to deploy my Javadocs (which are created successfully) to a Sharepoint server, which requires NTLM authentication. I'm using the Maven Wagon plugin with the WebDAV provider to do this. I am using m2eclipse to set up a…
Matt F
  • 81
  • 4
1
2 3 4