Is there any way to specify the wagon-ftp extension in the user's
settings, outside the pom?
It looks like the location of the dependencies is independent of the
location of the repositories, because you can specify repositories in
a profile in settings.
But the access method of the dependencies is dependent on the wagon-
ftp extension, that you can only specify in the pom.
I tried to put the wagon-ftp jars into .m2/lib but this didn't seem to
do anything.
Thanks,
Craig
On Apr 16, 2010, at 8:08 AM, Craig L Russell wrote:
Hi Brett,
The server is anonymous read access with no requirement for a
password.
Looking at the wagon-ftp code, the password must be specified even
if it's null. I guess that's why it's still beta. ;-)
So I think I have what I need to tell users how to download stuff
from our ftp server.
Thanks for all your help!
Craig
On Apr 16, 2010, at 2:19 AM, Brett Porter wrote:
On 16/04/2010, at 4:15 PM, Craig L Russell wrote:
Hi Brett,
I added the version number to the extension and now the symptom
looks like this:
clr% mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building ClusterJ Core
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[WARNING] Unable to get resource 'com.mysql.clusterj:clusterj-
api:pom:7.1.3' from repository MySQL FTP (ftp://ftp.mysql.com/pub/mysql/maven-repo
): Authentication failed: Password not specified for repository
MySQL FTP
Downloading:
http://repo1.maven.org/maven2/com/mysql/clusterj/clusterj-api/7.1.3/clusterj-api-7.1.3.pom
[INFO] Unable to find resource 'com.mysql.clusterj:clusterj-
api:pom:7.1.3' in repository central (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource 'com.mysql.clusterj:clusterj-
api:jar:7.1.3' from repository MySQL FTP (ftp://ftp.mysql.com/pub/mysql/maven-repo
): Authentication failed: Password not specified for repository
MySQL FTP
Downloading:
http://repo1.maven.org/maven2/com/mysql/clusterj/clusterj-api/7.1.3/clusterj-api-7.1.3.jar
[INFO] Unable to find resource 'com.mysql.clusterj:clusterj-
api:jar:7.1.3' in repository central (http://repo1.maven.org/maven2)
If I type this into a browser window, the file downloads:
ftp://ftp.mysql.com/pub/mysql/maven-repo/com/mysql/clusterj/clusterj-api/7.1.3/clusterj-api-7.1.3.jar
Do I have the layout of the repository wrong, or do I need a
special file in the repository?
This worked for me:
<server>
<id>MySQL</id>
<username>anonymous</username>
<password>[email protected]</password>
</server>
I'm guessing that is the configuration of the FTP server.
- Brett
--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]