maven-wagon-plugin

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

眉间皱痕 提交于 2019-12-05 10:42:05
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://XXX/srv/repo/snapshots/) of type default using the available factories WagonRepositoryConnectorFactory

Problem uploading with maven-wagon-plugin

送分小仙女□ 提交于 2019-12-04 08:46:39
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>wagon-maven-plugin</artifactId> <version>1.0-beta-3</version> <executions> <execution> <id>upload-jars</id>

Run remote command via ssh using Maven3

房东的猫 提交于 2019-11-29 07:00:16
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 am relatively new to mvn. Any help would be appreciated. Any suggestions? Dexter I was able to run ssh commands with exec-maven-plugin. It is a powerful maven plugin to do all sorts of hack and also run commands. For anyone interested in the solution <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2

Run remote command via ssh using Maven3

一个人想着一个人 提交于 2019-11-28 00:30:34
问题 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 am relatively new to mvn. Any help would be appreciated. Any suggestions? 回答1: I was able to run ssh commands with exec-maven-plugin. It is a powerful maven plugin to do all sorts of hack and also run commands. For anyone interested in the solution