Well, if you hadn't set your firewall settings, I guess you haven't
downloaded anything yet from ibiblio. So I would delete everything in your
"C:\Documents and Settings\ppilgrim\.m2" folder (except the "settings.xml"
file), and start again. That should work.

Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]


                                                                       
             "Pilgrim, Peter"                                          
             <[EMAIL PROTECTED]                                          
             sfb.com>                                                 Pour
                                       'Maven Users List'              
             21/10/2005 16:16          <users@maven.apache.org>        
                                                                        cc
                                                                       
                 Veuillez                                            Objet
                répondre à             RE: [m2] How do you use maven2
             Maven Users List          inside a corporate firewall?    
             <[EMAIL PROTECTED]                                          
                 che.org>                                              
                                                                       
                                                                       
                                                                       
                                                                       




Ok I set up the ``C:\Documents and Settings\ppilgrim\.m2\settings.xml''
with

<!-- Maven 2 Configuration -->
<settings>
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>ocs-ca-http.csfb.net</host>
      <port>8080</port>
      <username>ppilgrim</username>
      <password>********</password>
      <nonProxyHosts/>
    </proxy>
  </proxies>
</settings>


When I run the getting started command line, I get a failure


C:\Projects>mvn -X archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-
app
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\ppilgrim\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\opt\maven-2.0
\bin\
..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
rsion
  org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
plugin:pom:LATEST
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release v
ersion
  org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
plugin:pom:RELEASE
[INFO]
-------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------------
---
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
not exi
st or no valid version could be found
[INFO]
-------------------------------------------------------------------------
---
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version
could be
 found
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1124)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1356)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:376)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:132)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or
no val
id version could be found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:225)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:158)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1095)
        ... 14 more
[INFO]
-------------------------------------------------------------------------
---
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Oct 21 15:11:03 BST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-------------------------------------------------------------------------
---


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 21 October 2005 15:09
> To: Maven Users List
> Subject: RE: [m2] How do you use maven2 inside a corporate firewall?
>
>
>
>
>
>
> The "settings.xml" file can be placed in:
> - <m2_install_dir>/conf/ : the settings will be available for
> all users
> - <user_home>/.m2/ : the settings will be available only for you
>
>
> Best Regards / Cordialement,
> Fabrice BELLINGARD
> DINQ/DSIN/INSI/EATE/IDVS/AIDV
> (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]
>
>
>
>
>              "Pilgrim, Peter"
>
>              <[EMAIL PROTECTED]
>
>              sfb.com>
>         Pour
>                                        'Maven Users List'
>
>              21/10/2005 15:44
> <users@maven.apache.org>
>
>           cc
>
>
>                  Veuillez
>        Objet
>                 répondre à             RE: [m2] How do you
> use maven2
>              Maven Users List          inside a corporate
> firewall?
>              <[EMAIL PROTECTED]
>
>                  che.org>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Ok I think we have a circular dependency here.
>
> Follow the getting started guide
> ``http://maven.apache.org/maven2/guides/getting-started/index.html''
> I am trying to execute the command line:
>
>    % mvn archetype:create -DgroupId=com.mycompany.app
> -DartifactId=my-app
>
> But it seems that the help page above requires me to
> create a setting.xml that exists as part of a project.
>
> How can I define ``setting.xml'' if I still have to create a project?
> Is there way of setting the proxy setting before creating the project
> with archetype?
>
> --
> Peter Pilgrim :: J2EE Software Development
> Operations/IT - Credit Suisse First Boston,
> Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
> Tel: +44-(0)207-883-4497
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: 21 October 2005 14:34
> > To: Maven Users List
> > Subject: RE: [m2] How do you use maven2 inside a corporate firewall?
> >
> >
> >
> >
> >
> >
> > Peter,
> >
> > please have a look at the documentation on Maven 2 website:
> > http://maven.apache.org/maven2/guides/mini/guide-proxies.html
> >
> > This page should answer your question. :o)
> >
> > Best Regards / Cordialement,
> > Fabrice BELLINGARD
> > DINQ/DSIN/INSI/EATE/IDVS/AIDV
> > (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]
> >
> >
> >
> >
> >              "Pilgrim, Peter"
> >
> >              <[EMAIL PROTECTED]
> >
> >              sfb.com>
> >         Pour
> >                                        "Maven Users List
> > (E-mail)"
> >              21/10/2005 15:11
> > <users@maven.apache.org>
> >
> >           cc
> >
> >
> >                  Veuillez
> >        Objet
> >                 répondre à             [m2] How do you use
> > maven2 inside a
> >              Maven Users List          corporate firewall?
> >
> >              <[EMAIL PROTECTED]
> >
> >                  che.org>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Does ``mvn'' still respect the proxy settings in
> > ``${user.home}/build.properties'' ?
> >
> > How do get maven2 to work with a HTTP proxy?
> >
> > TIA
> >
> >
> > --
> > Peter Pilgrim :: J2EE Software Development
> > Operations/IT - Credit Suisse First Boston,
> > Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
> > Tel: +44-(0)207-883-4497
> >
> >
> > ==============================================================
> > ================
> >
> > Please access the attached hyperlink for an important electronic
> > communications disclaimer:
> >
> > http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
> >
> > ==============================================================
> > ================
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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]
> >
> >
>
> ==============================================================
> ================
>
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
>
> ==============================================================
> ================
>
>
>
> ---------------------------------------------------------------------
> 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]
>
>

==============================================================================

Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================



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

Reply via email to