Wendy,

I am new to maven and i cant get this thing started, apologies if the
solution is already posted.

I get the following error, any help will be appreciated.


C:\...\.m2>mvn install
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Maven Default Project
[INFO]    task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO]
-------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO]
-------------------------------------------------------------------------
---
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
not exi
st or no valid version could be found
[INFO]
-------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-------------------------------------------------------------------------
---
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Nov 01 09:34:36 EST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-------------------------------------------------------------------------
---

**************************************************************************
C:\.....\.m2>mvn archetype:create -DgroupId=com.mycompany.
app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[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]
-------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-------------------------------------------------------------------------
---
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Nov 01 09:28:48 EST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-------------------------------------------------------------------------
---

Regards Joe Williams.




Wendy Smoak <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
30/10/2005 10:06 AM
Please respond to
"Maven Users List" <[email protected]>


To
Maven Users List <[email protected]>
cc

Subject
Re: Problems after installing Maven 2.0






On 10/29/05, Petra Fiedler <[EMAIL PROTECTED]> wrote:
>
> ---
> [INFO] Cannot execute mojo: resources. It requires a project, but the
> build is not using one.
>
> what could be the problem?



That's usually what you get if you execute 'mvn' in a directory that does
not contain a pom.xml file. Are you sure you changed into the example
directory?

--
Wendy





This email and any attachments has been sent by Allianz Australia Insurance 
Limited (ABN 15 000 122 850) and is intended solely for the addressee.  It is 
confidential, may contain personal information and may be subject to legal 
professional privilege.  Unauthorised use is strictly prohibited and may be 
unlawful. If you have received this by mistake, confidentiality and any legal 
privilege are not waived or lost and we ask that you contact the sender and 
delete and destroy this and any other copies.   In relation to any legal use 
you may make of the contents of this email, you must ensure that you comply 
with the Privacy Act (Cth) 1988 and you should note that the contents may be 
subject to copyright and therefore may not be reproduced, communicated or 
adapted without the express consent of the owner of the copyright.  Allianz 
will not be liable in connection with any data corruption, interruption, delay, 
computer virus or unauthorised access or amendment to the contents of this 
email.  If this email is a commercial electronic message and you would prefer 
not to receive further commercial electronic messages from Allianz, please 
forward a copy of this email to [EMAIL PROTECTED] with the word unsubscribe in 
the subject header.

Reply via email to