Thanks Wayne and Wendy; that was it.
Sorry, I was wrong about using the web site's documentation; the maven command
I'm using in my copy.sh is the one from the error message from maven when it
can't find the artifact:
Downloading:
http://repo1.maven.org/maven2/edtftpj-pro/edtftpj-pro/2.1.0/edtftpj-pro-2.1.0.pom
Downloading:
http://repo1.maven.org/maven2/edtftpj-pro/license/1.0/license-1.0.pom
Downloading:
http://repo1.maven.org/maven2/edtftpj-pro/edtftpj-pro/2.1.0/edtftpj-pro-2.1.0.jar
Downloading:
http://repo1.maven.org/maven2/edtftpj-pro/license/1.0/license-1.0.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) edtftpj-pro:edtftpj-pro:jar:2.1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=edtftpj-pro -DartifactId=edtftpj-pro
-Dversion=2.1.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=edtftpj-pro -DartifactId=edtftpj-pro
-Dversion=2.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
... etc.
Wendy Smoak wrote:
On Fri, Oct 10, 2008 at 2:04 PM, Rusty Wright <[EMAIL PROTECTED]> wrote:
Why is this happening? Every time I compile it's trying to download a pom
for something I installed in my local repository.
It's trying to download the pom because you don't have the pom in your
local repo.
Change your 'mvn install:install-file ...' command to include
-DgeneratePom=true. (The default is false, for some reason...)
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html#generatePom
What's in copy.sh is what I got from the documentation on the
maven.apache.org web page:
Which page, so we can improve it?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]