maven-wagon-plugin

Problem uploading with maven-wagon-plugin

风格不统一 提交于 2019-12-21 17:10:11
问题 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 responds with Nothing to upload when calling mvn release:perform which is supposed to invoke the phases site site-deploy as stated in the documentation. this is the plugin config for wagon. <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId

How to fix or workaround wagon bug?

ⅰ亾dé卋堺 提交于 2019-12-12 02:26:23
问题 Bug https://issues.apache.org/jira/browse/MDEPLOY-177 has been hitting me for many month. When maven tries to download artifacts it will stall with a message saying it is downloading x+1 of x B e.g. 1007/1006 B and then it hangs. Robert Scholte tried to help on this quite a few times but so far to no avail. In my multiplatform environment I every once in a while see the bug creeping up be it in an Eclipse environment or directly on Mac OSX macports or just recently with Ubuntu 14.04 LTS. How

Generate javadoc in maven and then upload via scp?

杀马特。学长 韩版系。学妹 提交于 2019-12-11 06:28:22
问题 I have Maven javadoc plugin working nicely right now, but I do not know how to add it to the remote directory via scp. How do I transfer the javadoc files via scp, but AFTER they have been generated? Can this automatically happen when I call site:site? Thanks! 回答1: maven-javadoc-plugin doesn't attach to any phase/goal by default, you need configure it manually in pom.xml. See Generate Javadocs As Part Of Project Reports: To generate javadocs as part of the site generation, you should add the

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

孤人 提交于 2019-12-10 15:29:21
问题 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 publicly accessible): [...] [INFO] [INFO] --- maven-site-plugin:3.0-beta-3:deploy (default-deploy) @ rempl --- Reply received: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is

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

假装没事ソ 提交于 2019-12-10 15:27:04
问题 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 from 1.8.0 to 2.3x and moving to a VM I'm seeing intermittent problems with timeouts and nothing useful in the nexus debug log alas. I figure I have two options: improve nexus server performance or configure maven settings to wait longer for artifacts.

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

我的未来我决定 提交于 2019-12-10 10:12:37
问题 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 upload a single war file, however it uploads several other files, with pom, md5, sha1 extensions and buries them under one of my source directories. I've been trying to look for the appropriate configuration to modify this behaviour with no luck yet. 回答1:

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

北慕城南 提交于 2019-12-07 06:05:42
问题 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 whether this would fix my problems according to https://issues.apache.org/jira/browse/MDEPLOY-177 see also How to fix or workaround wagon bug? I get the following error message: No connector available to access repository XXX-snapshot-repository (scp:/

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

柔情痞子 提交于 2019-12-06 03:06:36
问题 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: <build> <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-file</artifactId> <version>1.0-beta-7</version> </extension> </extensions> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <version>1.0-beta-3<

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

妖精的绣舞 提交于 2019-12-06 01:41:04
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 upload a single war file, however it uploads several other files, with pom, md5, sha1 extensions and buries them under one of my source directories. I've been trying to look for the appropriate configuration to modify this behaviour with no luck yet. wagon-plugins are for deploying artifacts to repositories, repositories need all those other files to

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

十年热恋 提交于 2019-12-06 00:59:37
问题 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 |- moduleB2 |- build-config/rules.xml Since there is some unwanted updates, like betas I don't want, I've made a filter (which works). I use it like that: <profile> <id>maven-version-plugin-1</id> <activation> <property> <name>version.rules.uri</name> </property