we also understand that we canot deploy directly in webapps but i want to know than why tomcat and jboss plugin is there?
On 8/2/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
Even if it's urgent for you, it's not the case for me. And it's the problem of the OSS. In theory you'll have a better support if you join the users on the list instead of me directly. For your reply : You can't deploy directly to a web application. In HTTP you can only read data. You have to install on your remote server a ftp server, a ssh server, a webdav server, ... something that will allow you to push your artefacts on it. Arnaud On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote: > > Thanks for your help. I have been able to upload to the repository. I had > missed out the maven-artifact-plugin. Now I want to deploy remotely to the > tomcat's webapps. What plugin should I use. This is required urgently > > Arnaud HERITIER wrote .. > > Sharmishta > > > > I you want to use ftp to deploy locally your settings must be : > > > > maven.repo.list=R1 > > maven.repo.R1=ftp://localhost > > maven.repo.R1.directory=/ROOT/repository > > maven.repo.R1.username=sharmishta > > maven.repo.R1.password=hrhk > > > > http://maven.apache.org/maven-1.x/plugins/artifact/examples.html > > > > Arnaud > > > > On 8/2/06, sharmishta.kaul <[EMAIL PROTECTED]> wrote: > > > > > > I'm using maven1.0. I want to deploy to the remote repository. > > > I have used the following code in project.properties > > > > > > maven.repo.list=R1 > > > maven.repo.R1 = ftp://localhost:21/ROOT/repository > > > maven.repo.R1.directory=http://localhost:8080/ROOT/repository > > > maven.repo.R1.username=sharmishta > > > maven.repo.R1.password=hrhk > > > > > > When i give the command maven jar:deploy, i get thr following > exception > > > > > > jar:deploy: > > > [echo] maven.repo.list is set - using artifact deploy mode > > > Will deploy to 1 repository(ies): R1 > > > Deploying to repository: R1 > > > Failed to deploy to: R1 Reason: Could not connect to server. > > > > > > BUILD FAILED > > > File...... C:\Documents and Settings\Administrator\.maven\cache\maven- > > > artifact-plugin-1.4.1\plugin.jelly > > > Element... artifact:artifact-deploy > > > Line...... 94 > > > Column.... 13 > > > Unable to deploy to any repositories > > > > > > Please tell me what I'm missing. Do I have to use some plugin for > that. > > If > > > yes then how.Please help. I've not worked in maven before > > > > > > > > > > > > > > > > >
