> I have wifi internet connection for which I have changed proxy settings in
> conf/settings.xml to following:

Where did you get the idea this was necessary? It is possible some
documentation is not sufficiently clear and should be improved. You
only need to configure the proxy when you actually have a proxy
between yourself and the Internet.

> *C:\Maven Workspaces>mvn archetype:generate -DgroupId=com.mycompany.app
> -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart
> -DinteractiveMode=false -eX*

Try just "mvn archetype:generate" and pick the quickstart from the
list provided, then supply the groupId and artifactId etc. OR you need
to provide other details on the command line:
-DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-quickstart
-DarchetypeVersion=1.0
-DgroupId=com.company
-DartifactId=project
-Dversion=1.0
-Dpackage=1.5

Again, I have to ask, where did you get the idea that you could run
archetype:generate without all of the required parameters? There may
be some bad documentation that needs updating.

> org.apache.maven.lifecycle.MissingProjectException: The goal you specified
> requi
> res a project to execute but there is no POM in this directory (C:\Maven
> Workspa
> ces). Please verify you invoked Maven from the correct directory.

This is an odd error to receive from trying to run archetype:generate.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to