On 3/24/07, Baz <[EMAIL PROTECTED]> wrote:
Let me re-phase my questions. I am having problems to use "mvn deploy"
for the simple code that include in "Better builds with Maven". Here
are my questions:
1. What are the right contents within the section of
"distributionManagement" if I would like to deploy to a Jetty server
that is described in page 212 of the book?
As far as I know, a basic Jetty install does not support deployment.
Page 213 of BBwM says "This chapter will assume the repositories are
running from http://localhost:8081/ and that artifacts are deployed to
the repositories using the file system."
That's why I suggested deploying to file:///path/to/repo, earlier.
There are examples of scp and ftp deployment in chapter 3, but you
must be running a ssh or ftp server for that to work.
One other thing-- Chapter 9 is talking about deploying releases. If
your version number ends in -SNAPSHOT, you need
<distributionManagement><snapshotRepository>.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]