Hi Hermod,

I use proxy,without firewall.

I did with -e -X option but i get following errors:
C:>mvn -e -X  -DgroupId=com.test.app -DartifactId=my-test-app 
archetype:create
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settings\admin\.m2\plugin-
registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\maven-2.0.4\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: create. It requires a project with an existing
pom.xml, but the build is
 not using one.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo:
create. It requires a p
roject with an existing pom.xml, but the build is not using one.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycl
eExecutor.java:488)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:458)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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.MojoExecutionException: Cannot execute
mojo: create. It requires
a project with an existing pom.xml, but the build is not using one.
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:339)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:534)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Nov 07 09:53:49 IST 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------


hermod.opstvedt wrote:
> 
> Hi
> 
> Are you behind a proxy/firewall? It seems that it's not downloading it.
> What does it say when you add -e and -X?
> 
> Hermod
> 
> -----Original Message-----
> From: Orangeskool [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 06, 2006 1:15 PM
> To: [email protected]
> Subject: Re: Maven 2.0.4 Project Creationm Problem
> 
> 
> 
> Hi,
> 
> I got following Error
> 
> c:>mvn -DgroupId=com.test.app -DartifactId=my-test-app  archetype:create
> 
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Maven Quick Start Archetype
> [INFO]    task-segment: [archetype:create]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-archetype
> -plugin:1.0-alpha-1:create': Cannot find Plexus container for plugin:
> org.apache.maven.plugins:maven
> -archetype-plugin
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Mon Nov 06 17:42:20 IST 2006
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> thanks,
> 
> 
> Arnaud Bailly-3 wrote:
>> 
>> Orangeskool <[EMAIL PROTECTED]> writes:
>> 
>>>
>>> mvn archetype:create -DgroupId=com.test.app -DartifactId=my-test-app 
>>>
>>>  mvn -U archetype:create -DgroupId=com.test.app -DartifactId=my-test-app 
>>>  mvn -U -e archetype:create -DgroupId=com.test.app
>>> -DartifactId=my-test-app  
>>>  mvn -X archetype:create -DgroupId=com.test.app -DartifactId=my-test-app 
>>>
>> 
>> mvn -DgroupId=com.test.app -DartifactId=my-test-app  archetype:create
>> 
>> 
>> -- 
>> OQube < software engineering \ génie logiciel >
>> Arnaud Bailly, Dr.
>> \web> http://www.oqube.com
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Maven-2.0.4-Project-Creationm-Problem-tf2581919s177.html#a7197605
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that DnB NOR cannot
> accept any payment orders or other legally binding correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the anti virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-2.0.4-Project-Creationm-Problem-tf2581919s177.html#a7212429
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to