Sounds like you are behind a firewall.

Try setting up the proxies section in your settings.xml

        <proxies>
                <proxy>
                        <active>true</active>
                        <protocol>http</protocol>
                        <username>ENTER YOUR USER NAME</username>
                        <password>ENTER YOUR PASSWORD</password>
                                                <host>ENTER YOUR PROXY
IP/NAME</host> 
                        <port>ENTER YOUR PROXY PORT</port>
                </proxy>
        </proxies>

A
-----Original Message-----
From: maverick83 [mailto:[EMAIL PROTECTED] 
Sent: 11 July 2006 11:23
To: users@maven.apache.org
Subject: pro in a maven command


Hi
   I am new user of maven.I had copied the following command line from
the maven site 

"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app"

but i am getting the following error
[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-archetype-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: 18 seconds
[INFO] Finished at: Mon Jul 10 15:30:21 IST 2006 [INFO] Final Memory:
1M/2M [INFO]
------------------------------------------------------------------------
"

kindly help regarding its pretty urgent i have searched on websites but
got pretty vague answers 

I have tried to edit my settings.xml file but after i edit it the above
command doesnt even recognize settings.xml file nd gives the follwing
error "
Error reading settings.xml: only whitespace content allowed before start
tag and not - (position: START_DOCUMENT seen -... @1:1)
  Line:   1"

kindly reply asap thanks in advance 

Kindly give s step by step procedure for regarding this pro nd
repository  i had checked on some other sites too but no repository is
being created on my system 

regards
rahul
--
View this message in context:
http://www.nabble.com/pro-in-a-maven-command-tf1923598.html#a5266892
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to