Re: Installing running Maven 2.0.4
Thanks for help. Yes, I am behind a web proxy. The settings.xml needs username password. For security reasons am not able to give this. Is there alternate way to get this done. Also, the settings.xml file should be kept in ~/.m2/ folder ? Thanks. -- View this message in context: http://www.nabble.com/Installing+-+running+Maven+2.0.4-t1713822.html#a4670574 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing running Maven 2.0.4
There is no alternate -- you must put the name password in the file. If this is a significant problem for your organization, then I'd suggest that you write the code to handle encrypted passwords in settings.xml and contribute it back to the Maven development effort. You're not the only person who has been unhappy with this limitation. But in my opinion, the file system security on that file should prevent just about anyone from accessing it except the proper user, right? So is this really a problem, or just a general best practices argument about not storing passwords in plaintext? And yes, the settings.xml file should be located in ~/.m2/, as specified in the Mergere Maven book in section 2.1. Wayne On 6/1/06, Vikramm [EMAIL PROTECTED] wrote: Thanks for help. Yes, I am behind a web proxy. The settings.xml needs username password. For security reasons am not able to give this. Is there alternate way to get this done. Also, the settings.xml file should be kept in ~/.m2/ folder ? Thanks. -- View this message in context: http://www.nabble.com/Installing+-+running+Maven+2.0.4-t1713822.html#a4670574 Sent from the Maven - Users forum at Nabble.com. - 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]
RE: Installing running Maven 2.0.4
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file Sounds like a transient network problem. Try again. -Original Message- From: Vikramm [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 6:50 PM To: users@maven.apache.org Subject: Installing running Maven 2.0.4 Hello, I am using Maven for the first time. I downloaded maven 2.0.4 configured the required environment variables. When I try to run at the command prompt: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app , its giving the error as follows. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error 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 exist 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 May 31 19:13:42 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] Pl help me identify the problem how can I correct that. Thanks, Vikram -- View this message in context: http://www.nabble.com/Installing+-+running+Maven+2.0.4-t1713822.html#a46 53977 Sent from the Maven - Users forum at Nabble.com. - 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]
Re: Installing running Maven 2.0.4
Yup ibiblio is sometimes very busy so it happens sometimes. If it's annoy you, Maven Proxy can help you there. On 5/31/06, Mike Perham [EMAIL PROTECTED] wrote: [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file Sounds like a transient network problem. Try again. -Original Message- From: Vikramm [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 6:50 PM To: users@maven.apache.org Subject: Installing running Maven 2.0.4 Hello, I am using Maven for the first time. I downloaded maven 2.0.4 configured the required environment variables. When I try to run at the command prompt: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app , its giving the error as follows. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error 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 exist 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 May 31 19:13:42 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] Pl help me identify the problem how can I correct that. Thanks, Vikram -- View this message in context: http://www.nabble.com/Installing+-+running+Maven+2.0.4-t1713822.html#a46 53977 Sent from the Maven - Users forum at Nabble.com. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing running Maven 2.0.4
Or, perhaps more likely even, he is behind a proxy. Vikramm, are you behind a web proxy? If so, you should take a look at the following thread: From: Francois Vandewalle [EMAIL PROTECTED] To: users@maven.apache.org Date: May 30, 2006 7:51 AM Subject: Getting Started / Problem with plugin This is the 2nd email in the last couple of days with users new to Maven having troubles running archetype:create with a new Maven installation... Perhaps the Maven project can offer a distribution that includes the basic plugins (maven-xyz-plugins) in the download, so users can at least start using Maven without getting proxies configured, dealing with troubles at Central, etc in addition to the current minimal distribution? Or perhaps we can add some better error messages to direct new users that they might need to configure proxies, etc. Maybe come up with a series of error codes a-la Oracle which users can search for on the Maven site to come up with a webpage detailing the problem, possible causes and solutions, etc? Wayne On 5/31/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Yup ibiblio is sometimes very busy so it happens sometimes. If it's annoy you, Maven Proxy can help you there. On 5/31/06, Mike Perham [EMAIL PROTECTED] wrote: [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file Sounds like a transient network problem. Try again. -Original Message- From: Vikramm [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 6:50 PM To: users@maven.apache.org Subject: Installing running Maven 2.0.4 Hello, I am using Maven for the first time. I downloaded maven 2.0.4 configured the required environment variables. When I try to run at the command prompt: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app , its giving the error as follows. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error 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 exist 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 May 31 19:13:42 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] Pl help me identify the problem how can I correct that. Thanks, Vikram -- View this message in context: http://www.nabble.com/Installing+-+running+Maven+2.0.4-t1713822.html#a46 53977 Sent from the Maven - Users forum at Nabble.com. - 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] - 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]