If you are using the deploy:deploy-file
goal and encounter
this error:
"Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp"
Then you need to place the appropriate wagon provider in your
%M2_HOME%/lib
. In this case the provider needed is ftp,
so we have to place the wagon-ftp jar in the lib directory of your
Maven 2 installation.
If the error description is something like this:
"Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp org/apache/commons/net/ftp/FTP"
Then you need to place the commons-net jar in
%M2_HOME%/lib
.
[top] |
Yes, you can skip deployment of individual modules by configuring the deploy plugin as follows:
<plugin> <artifactId>maven-deploy-plugin</artifactId> <version>X.Y</version> <configuration> <skip>true</skip> </configuration> </plugin>
[top] |