Naah, that is not the problem. Maven suck, I keep getting positive re-inforcement of this :-) The funny thing is the artifact is three so even if I follow their stupid instructions I will still get nowhere :-(
[EMAIL PROTECTED]:~/wicket$ mvn archetype:create \ -DgroupId=org.gricket \ -DartifactId=sample \ -Dversion=1.0-SNAPSHOT \ -DarchetypeGroupId=org.apache.wicket \ -DarchetypeArtifactId=wicket-archetype-quickstart \ -DarchetypeVersion=1.0.3-SNAPSHOT [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Default Project [INFO] task-segment: [archetype:create] (aggregator-style) [INFO] ---------------------------------------------------------------------------- [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] ************************************************************** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [archetype:create] [INFO] Defaulting package to group ID: org.gricket [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype Embedded error: Archetype does not exist: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.wicket -DartifactId=wicket-archetype-quickstart \ -Dversion=1.0.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file org.apache.wicket:wicket-archetype-quickstart:jar:1.0.3-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Wed Aug 22 15:57:24 CEST 2007 [INFO] Final Memory: 6M/77M [INFO] ------------------------------------------------------------------------ On 8/22/07, Al Maw <[EMAIL PROTECTED]> wrote: > Hi, > > You stop making so many typos... > > - -DarchetypVersion=1.0.3-SNAPSHOT > + -DarchetypeVersion=1.3.0-SNAPSHOT > > Al > > Alex Shneyderman wrote: > > I downloaded the wicket source and compiled it and installed it in the > > local m2 repo. > > Now I wanted to create a fresh project and doing this: > > > > > > [EMAIL PROTECTED]:~/wicket$ mvn archetype:create \ > > -DgroupId=org.gricket \ > > -DartifactId=sample \ > > -Dversion=1.0-SNAPSHOT \ > > -DarchetypeGroupId=org.apache.wicket \ > > -DarchetypeArtifactId=wicket-archetype-quickstart \ > > -DarchetypVersion=1.0.3-SNAPSHOT > > > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'archetype'. > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Building Maven Default Project > > [INFO] task-segment: [archetype:create] (aggregator-style) > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Setting property: classpath.resource.loader.class => > > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > > [INFO] Setting property: velocimacro.messages.on => 'false'. > > [INFO] Setting property: resource.loader => 'classpath'. > > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > > [INFO] ************************************************************** > > [INFO] Starting Jakarta Velocity v1.4 > > [INFO] RuntimeInstance initializing. > > [INFO] Default Properties File: > > org/apache/velocity/runtime/defaults/velocity.properties > > [INFO] Default ResourceManager initializing. (class > > org.apache.velocity.runtime.resource.ResourceManagerImpl) > > [INFO] Resource Loader Instantiated: > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader > > [INFO] ClasspathResourceLoader : initialization starting. > > [INFO] ClasspathResourceLoader : initialization complete. > > [INFO] ResourceCache : initialized. (class > > org.apache.velocity.runtime.resource.ResourceCacheImpl) > > [INFO] Default ResourceManager initialization complete. > > [INFO] Loaded System Directive: > > org.apache.velocity.runtime.directive.Literal > > [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro > > [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse > > [INFO] Loaded System Directive: > > org.apache.velocity.runtime.directive.Include > > [INFO] Loaded System Directive: > > org.apache.velocity.runtime.directive.Foreach > > [INFO] Created: 20 parsers. > > [INFO] Velocimacro : initialization starting. > > [INFO] Velocimacro : adding VMs from VM library template : > > VM_global_library.vm > > [ERROR] ResourceManager : unable to find resource > > 'VM_global_library.vm' in any resource loader. > > [INFO] Velocimacro : error using VM library template > > VM_global_library.vm : > > org.apache.velocity.exception.ResourceNotFoundException: Unable to > > find resource 'VM_global_library.vm' > > [INFO] Velocimacro : VM library template macro registration complete. > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in > > templates > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined > > inline may NOT replace previous VM definitions > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline > > will be global in scope if allowed. > > [INFO] Velocimacro : initialization complete. > > [INFO] Velocity successfully started. > > [INFO] [archetype:create] > > [INFO] Defaulting package to group ID: org.gricket > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Error creating from archetype > > > > Embedded error: Archetype does not exist: Unable to determine the > > release version > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=org.apache.wicket > > -DartifactId=wicket-archetype-quickstart \ > > -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file > > > > > > org.apache.wicket:wicket-archetype-quickstart:jar:RELEASE > > > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 1 second > > [INFO] Finished at: Wed Aug 22 15:20:50 CEST 2007 > > [INFO] Final Memory: 6M/77M > > [INFO] > > ------------------------------------------------------------------------ > > > > > > Why errors? I know this might be a maven question but since you guys > > are using it and I am sort of "forced" to use it (I am fuming here but > > I will skip my frustration - does that shit [maven] ever work first > > time one uses it?); I thought I might ask here. > > > > > > > -- > Alastair Maw > Wicket-biased blog at http://herebebeasties.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks, Alex. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]