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?

Thanks,

Craig

On Apr 15, 2010, at 6:12 PM, Brett Porter wrote:


On 16/04/2010, at 9:27 AM, Craig L Russell wrote:


From the above, I downloaded the wagon-ftp which I guess is still in beta release:

repository metadata for: 'artifact org.apache.maven.wagon:wagon- ftp' could not be retrieved from repository: MySQL FTP due to an error: Unsupported Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp
[INFO] Repository 'MySQL FTP' will be blacklisted

I think there is a known JIRA issue for this, at least in 2.2.1. It's always going to look for the release metadata from that repository, fail because the wagon isn't set up yet, then blacklist it. Chicken and egg.

So two questions:

1. Is ftp support for repositories planned to be a standard feature (no special wagons needed) at some point? I really don't want to have to explain to every user out there how to configure an ftp wagon.

No, demand has been very low for it as far as I can tell.


2. What did I do wrong?

If you add the wagon version to the POM, the build will work fine.

- 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!


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to