Fixed it. Just used apache commons 3.3, (I was using 1.1) and it seems to work!
- Austin On Sun, Oct 5, 2014 at 4:18 PM, Dan Tran <[email protected]> wrote: > jdk version? > > the error is very obvious, maven not able to load and commons-net's > ftpclient class. Are you sure you have it ? > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) > on project standalone-pom: Execution default-cli of goal > org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file failed: An API > incompatibility was encountered while executing > org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file: > java.lang.NoSuchMethodError: > org.apache.commons.net.ftp.FTPClient.setListHiddenFiles(Z)V > > -D > > On Sun, Oct 5, 2014 at 3:57 PM, <[email protected]> wrote: > > > Sorry, Missed that. > > > > > > It still fails but this time with a slightly different error: > > http://pastebin.com/Z4FMhAXQ > > > > > > > > > > > > > > - Austin > > > > > > > > > > > > From: Dan Tran > > Sent: Sunday, October 5, 2014 3:50 PM > > To: Maven Users List > > > > > > > > > > > > i mean you need to manually copy a couple of dependecy file for ftp > wagon, > > that doc mention it > > > > > > On Sun, Oct 5, 2014 at 3:46 PM, <[email protected]> wrote: > > > > > Okay, I tried running wagon:update-maven-3 and then deploying again > but > > > that still didn't work. It failed with the same error. > > > > > > > > > > > > > > > > > > > > > - Austin > > > > > > > > > > > > > > > > > > From: Dan Tran > > > Sent: Sunday, October 5, 2014 3:38 PM > > > To: Maven Users List > > > > > > > > > > > > > > > > > > This may help http://mojo.codehaus.org/wagon-maven-plugin/usage.html > > > > > > On Sun, Oct 5, 2014 at 3:27 PM, <[email protected]> wrote: > > > > > > > Hello community, > > > > > > > > > > > > Over the last hour or so, I’ve been looking for ways to host a > private > > > > repository. I have resolved on using my webserver and uploading via > > FTP. > > > I > > > > got that part working but now I’m having an issue deploying a > 3rd-party > > > jar > > > > to it. I’m deploying it via invoking the following command: > > > > > > > > > > > > > > > > > > > > > > > > mvn deploy:deploy-file -DgroupId=some.version > > > -Dversion=1.0-Dpackaging=jar > > > > -Dfile=my-file.jar -DrepositoryId=maven-my-repo > > > > -DartifactId=my-artifact-Durl=ftp://maven.mysite.com > > > > > > > > > > > > I have the latest version of Wagon-FTP installed to %M2_HOME%\lib and > > > > whenever I try to deploy, it fails. Here is the output in debug mode: > > > > http://pastebin.com/pfeXxVbY (Its kinda long). > > > > > > > > > > > > From what I see, its missing the apache commons library but I don’t > > have > > > > any idea how to install it. > > > > > > > > > > > > > > > > > > > > - Austin > > > > > >
