Please could you check you are running with the correct version of Java (1.5or above, not confirmed to work with 1.6). Could you also please post a stack trace showing the message? If there is no stack trace, try running mvn with the -X switch as well and paste the relevant section of the trace here.
Mike. On 10/20/07, Ashkan Roshanayi <[EMAIL PROTECTED]> wrote: > > Is there anybody who had experienced similar situation? Your help is so > appreciated. > > On 10/20/07, Ashkan Roshanayi < [EMAIL PROTECTED]> wrote: > > > > Hi, > > I removed remoteRepositories parameter and added -o but got error. > > Adding a -e to showed this error: > > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' > > > in any resource loader. > > > > > > > > I run: > > > > mvn -o -e archetype:create > > -DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-basic-jsf > > > <http://static.appfuse.org/releases>-DarchetypeVersion=2.0 -DgroupId= > > > com.mycompany.app -DartifactId=myproject > > > > > > Am I missing something? > > > > > > > > > > > > On 10/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > > > Remove the "remoteRepositories" parameter and everything should work. > > > > > > Matt > > > > > > On 10/19/07, Ashkan Roshanayi < [EMAIL PROTECTED]> wrote: > > > > > > > > Thanks Matt for your quick reply, > > > > I did copied them into my ~/.m2/repository so I should now do: > > > > > > > > mvn -o archetype:create > > > > -DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-basic-jsf > > > > -DremoteRepositories=http://static.appfuse.org/releases > > > > > -DarchetypeVersion=2.0 > > > > > -DgroupId=com.mycompany.app-DartifactId=myproject > > > > > > > > > > > > Right? Also if it is possible please reply my other question about > > > > your your appgen demo. Thanks a zillion times. > > > > > > > > > > > > > > > > On 10/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > > > > > > You should be able to unzip this file into your ~/.m2 directory > > > > > and > > > > > you'll have all the dependencies needed. Then if you use the "-o" > > > > > flag, Maven will run offline. > > > > > > > > > > Matt > > > > > > > > > > On 10/19/07, Ashkan Roshanayi < [EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I have a folder called "appfuse-2.0-m5-dependencies " on my > > > > > local machine > > > > > > and want to use it in creating my appfuse project instead of > > > > > downloading all > > > > > > jar files from internet. Is there anybody who has done this > > > > > before? > > > > > > > > > > > > Cheers, > > > > > > > > > > > > -- > > > > > > Ashkan > > > > > > http://www.rubako.com > > > > > > > > > > > > > > > -- > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > Ashkan > > > > http://www.rubako.com > > > > > > > > > > > > > > > > -- > > > http://raibledesigns.com > > > > > > > > > > -- > > Ashkan > > http://www.rubako.com > > > > > > -- > Ashkan > http://www.rubako.com >