I have run into a problem -- at least I think its a problem, in using
maven2, the eclipse plugin, and maven-proxy. I have maven-proxy
configured and proxying external repositories (ibiblio and codehaus) for
dependencies, and I am bypassing local checking of these external
repositories by configuring my proxy as a mirror in settings.xml. It
works great with a command-line maven client.
Enter the eclipse plugin. The plugin does not support settings.xml, so
all settings presently have to exist in the pom.xml. This has created
the following problems:
1) Presently I have my scp username and password configured in
settings.xml for the servers which I deploy to. I obviously cannot put
my username and password in a pom.xml file, which is going to be shared
among users. If you don't have a username and password configured,
however, you have to enter your username and password about 10 times in
order to make it through each stage of deployment. Major prohibitive pain.
2) I did a search on the pom schema (found at
http://maven.apache.org/maven-v4_0_0.xsd) -- there doesn't appear to be
a way to specify mirror settings in a pom. Since I am using maven-proxy,
and I need to have users reference a mirror, rather than central for
dependencies. If this cannot be done, then users are going to be going
to central for dependencies, completely bypassing the proxy. Is there a
way to disable checking of the central (ibiblio) repository by users by
settings contained only within the pom.xml?
Answers on either of these would be greatly appreciated!
Thanks,
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]