You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michiko Luther <xy...@comcast.net> on 2008/06/14 04:13:15 UTC

5min maven tutorial problem

Hi,

I am going through Maven tutorial right now.  I installed Maven in D: 
\Development\Java\lib
When I create a new project, do I have to go to this directory?

Anyway, I am in dir D:\Development\Java\lib\appache-maven-2.0.9, and  
typed in this command
“ mvn archetype:create \
  -DarchetypeGroupId=org.apache.maven.archetypes \
  -DgroupId=com.mycompany.app \
  -DartifactId=my-app”

Then I see an error message saying that
“
[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
“
What is wrong with it?  How can I fix this problem?

Thanks
Michiko 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: 5min maven tutorial problem

Posted by Marco Mistroni <mm...@gmail.com>.
Hi,
 are you behind a firewall?
if so, u need to configure proxy in settings.xml

hth
 marco

On Sat, Jun 14, 2008 at 3:17 AM, Brett Porter <br...@gmail.com>
wrote:

> You can see an answer on this page:
> http://docs.codehaus.org/display/MAVENUSER/FAQs-1
>
> 2008/6/14 Michiko Luther <xy...@comcast.net>:
> > Hi,
> >
> > I am going through Maven tutorial right now.  I installed Maven in
> > D:\Development\Java\lib
> > When I create a new project, do I have to go to this directory?
> >
> > Anyway, I am in dir D:\Development\Java\lib\appache-maven-2.0.9, and
> typed
> > in this command
> > " mvn archetype:create \
> >  -DarchetypeGroupId=org.apache.maven.archetypes \
> >  -DgroupId=com.mycompany.app \
> >  -DartifactId=my-app"
> >
> > Then I see an error message saying that
> > "
> > [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
> > "
> > What is wrong with it?  How can I fix this problem?
> >
> > Thanks
> >
> Michiko---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: 5min maven tutorial problem

Posted by Brett Porter <br...@gmail.com>.
You can see an answer on this page:
http://docs.codehaus.org/display/MAVENUSER/FAQs-1

2008/6/14 Michiko Luther <xy...@comcast.net>:
> Hi,
>
> I am going through Maven tutorial right now.  I installed Maven in
> D:\Development\Java\lib
> When I create a new project, do I have to go to this directory?
>
> Anyway, I am in dir D:\Development\Java\lib\appache-maven-2.0.9, and typed
> in this command
> " mvn archetype:create \
>  -DarchetypeGroupId=org.apache.maven.archetypes \
>  -DgroupId=com.mycompany.app \
>  -DartifactId=my-app"
>
> Then I see an error message saying that
> "
> [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
> "
> What is wrong with it?  How can I fix this problem?
>
> Thanks
> Michiko---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org