Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 55492 invoked from network); 16 Jun 2006 15:42:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2006 15:42:03 -0000 Received: (qmail 13466 invoked by uid 500); 16 Jun 2006 15:41:54 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 13412 invoked by uid 500); 16 Jun 2006 15:41:54 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 13401 invoked by uid 99); 16 Jun 2006 15:41:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 08:41:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.130.39.140] (HELO ims1.sapient.com) (12.130.39.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 08:41:52 -0700 Received: from namail1.sapient.com ([10.222.1.30]) by ims1.sapient.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 16 Jun 2006 11:41:30 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6915B.56C27E9A" Subject: Error with maven-archetype-j2ee-simple Date: Fri, 16 Jun 2006 11:41:30 -0400 Message-ID: <19A185AD55D85A469C731E8C81F64C75359AE9@NAMAIL1.sapient.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error with maven-archetype-j2ee-simple Thread-Index: AcaRW1XON9pZB2+PRle/umUZPrVagA== From: "Naresh Bhatia" To: X-OriginalArrivalTime: 16 Jun 2006 15:41:30.0962 (UTC) FILETIME=[56B87B20:01C6915B] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6915B.56C27E9A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am running the following command to generate a simple J2EE app: =20 mvn archetype:create -DgroupId=3DTestEarApp = -DartifactId=3DTestEarApp -DarchetypeArtifactId=3Dmaven-archetype-j2ee-simple =20 But I am getting the following error. Can someone give me a helping hand on this one? =20 [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 =3D> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: resource.loader =3D> 'classpath'. [INFO] **************************************************************=20 [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 =3D true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride =3D false : VMs defined = inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal =3D false : VMs defined inline = will be global in scope if allowed. [INFO] Velocimacro : messages on : VM system will output logging messages [INFO] Velocimacro : autoload off : VM system will not automatically reload global library macros [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [archetype:create] [INFO] Defaulting package to group ID: TestEarApp [INFO] ------------------------------------------------------------------------ ---- [INFO] Using following parameters for creating Archetype: maven-archetype-j2ee-simple:RELEASE [INFO] ------------------------------------------------------------------------ ---- [INFO] Parameter: groupId, Value: TestEarApp [INFO] Parameter: outputDirectory, Value: D:\ProjectsTest\Maven2\TestEarApp [INFO] Parameter: packageName, Value: TestEarApp [INFO] Parameter: package, Value: TestEarApp [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: artifactId, Value: TestEarApp [INFO] ResourceManager : found archetype-resources/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ********************* End of debug info from resources from generated POM *********************** [INFO] ResourceManager : found archetype-resources/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/ear/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/ejbs/src/main/resources/META-INF/ejb-jar.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/ejbs/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/primary-source/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/projects/logging/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/projects/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/servlets/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/servlets/servlet/pom.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/servlets/servlet/src/main/webapp/index.jsp with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ResourceManager : found archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml with loader org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [ERROR] ResourceManager : unable to find resource 'archetype-resources/site/pom.xml' in any resource loader. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype =20 Embedded error: Error processing templates. Unable to find resource 'archetype-resources/site/pom.xml' [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Fri Jun 16 11:39:34 EDT 2006 [INFO] Final Memory: 4M/7M [INFO] ------------------------------------------------------------------------ =20 Naresh ------_=_NextPart_001_01C6915B.56C27E9A--