You need to provide the -e output from maven when you get an error so we can
have some hope of solving the problem.
However I suspect it is the known issue that a failed download does not
re-download the pom file properly and using -U does not fix the problem
either (it should). You have to go into the maven repository and manually
delete the file.
I'd recommend just deleting your repository stored in
C:\Documents and Settings\<user>\.m2\repository
And trying again.
-----Original Message-----
From: javed mandary [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 16 November 2005 4:19 PM
To: Maven Users List
Subject: Re: M2 NTLM Proxy and remote ibiblio repo
I tried what you told me but am still getting the following:
C:\devtools\maven2work>mvn install
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for up
dates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-reso
urces-plugin' could not be retrieved from repository: central due to an
error: E
rror transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
-------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------------
---
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exi
st or no valid version could be found
[INFO]
-------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-------------------------------------------------------------------------
---
[INFO] Total time: 1 second
[INFO] Finished at: Wed Nov 16 09:40:38 GMT+04:00 2005
[INFO] Final Memory: 1M/3M
[INFO]
-------------------------------------------------------------------------
---
I dont have the maven-resources-plugin in my plugins dir , would i need to
manually download and install the plugin or does Maven 2 takes care of the
download and installation of this plugin?
regards,
Javed
On 11/16/05, javed mandary <[EMAIL PROTECTED]> wrote:
>
> thanks treloar will try and let you know
>
> On 11/16/05, Treloar, Barrie (SAPOL) <[EMAIL PROTECTED] >
> wrote:
> >
> > You can use NTLMAPS http://ntlmaps.sourceforge.net/ .
> >
> > I am also behind a NTLM proxy and I can use this product and point maven
> > to
> > the NTLM proxy and everything works fine.
> >
> > Steps:
> > - Download and install NTLMAPS
> > - Configure NTLMAPS by editing the " server.cfg" file in the NTLMAPS
> > installation directory.
> >
> > In the GENERAL section set:
> > PARENT_PROXY:
> >
> > In the NTLM_AUTH section set:
> > NT_DOMAIN:
> > USER:
> > (Note: Leave the PASSWORD entry blank, NTLMAPS will prompt you for it)
> > - Run NTLMAPS, the default LISTEN_PORT is 5865.
> > - Configure M2 $user.dir/.m2/settings.xml
> > <proxies>
> > <!-- proxy
> > | Specification for one proxy, to be used in connecting to the network.
> > |
> > -->
> > <proxy>
> > <id>Local NTLMAPS</id>
> > <active>true</active>
> > <protocol>http</protocol>
> > <username></username>
> > <password></password>
> > <host>localhost</host>
> > <port>5865</port>
> > </proxy>
> > - Run mvn.
> >
> > Enjoy.
> > Barrie
> >
> > -----Original Message-----
> > From: javed mandary [mailto: [EMAIL PROTECTED]
> > Sent: Tuesday, 15 November 2005 5:40 PM
> > To: [email protected]
> > Subject: M2 NTLM Proxy and remote ibiblio repo
> >
> > Hi guys,
> > am having a problem right now accessing the remote ibiblio repository
> > due to
> > the fact that am behind firewalls and the proxy am using is NTLM . Now
> > it
> > seems that NTLM proxies are not supported by Maven 2.
> >
> > see: http://maven.apache.org/guides/mini/guide-proxies.html
> >
> > This is why I was hoping to be able to manually download jars from
> > ibiblio
> > and have a remote repository stored behind my firewall so as local
> > repositories can acess this new remote repo instead of having to go to
> > ibiblio.
> >
> > My question is that any of you have had same problem and how you
> > resolved it
> > ?
> >
> > and
> >
> > Do you guys have a mechanism for downloading all the jars and plugins
> > from
> > ibiblio in such a case?
> >
> > regards,
> > Javed
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]