Hi Charlie,
For some reason that isn't clear to me, the war plugin seems to look in a
different place to the jar plugin when determining where to deploy the
artifact.
You need to add something like the following to your project.properties
file:
#deployment - settings for artifact / war.

# see
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=8046

# and http://maven.apache.org/reference/plugins/artifact/examples.html

maven.repo.list=astrogrid

maven.repo.astrogrid=file:///var/www/www/

maven.repo.astrogrid.directory=maven

maven.repo.astrogrid.username=maven

maven.repo.astrogrid.group=cvs



Good luck,

John



----- Original Message ----- 
From: "Charles N. Harvey III" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 9:02 PM
Subject: Re: war:deploy


> Ok.  I did need to read the documentation a little bit.  I have been
> through a lot of it over the past 5 days though.  Ok, so I had
> <distributionDirectory> set but I did not have <distributionSite>.
>
> So I added <distributionSite> and still got the same error when I ran
> war:deploy.  There must be something else I am missing.  I'll keep
> checking out the reference section, hopefully something will jump out
> at me.
>
>
> Charlie
>
>
>
> Jefferson K. French wrote:
>
> > You want <distributionSite> and <distributionDirectory>. Here is
> > documentation on the POM:
> > http://maven.apache.org/reference/project-descriptor.html.
> >
> > There is a lot of documentation at the Maven site:
> > http://maven.apache.org/. Look under the "Reference" tab on the left.
> >
> >   Jeff
> >
> > On Wed, 10 Dec 2003, at 15:33:08 [GMT -0500] Charles N. Harvey III
> > wrote:
> >
> >
> >>Hello.
> >>I am having a tough time with war:deploy.  When I run it I get the
following:
> >
> >
> >>No remote repository was defined.
> >>No remote repository was defined.
> >
> >
> >>Which, is actually pretty clear.  It means that I don't have a remote
> >>repository defined in my project.xml.  But I don't know where to define
the
> >>remote repository.  I have <repository> but that is where in cvs it is
> >>located.  Am I supposed to define <remoteRepository>?  I can't find a
lick
> >>of documentation on this anywhere.
> >
> >
> >>Any help at all would be greatly appreciated.
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to