ShaleGettingStarted/Output

HomePage | ShaleGettingStarted | RecentChanges | Preferences

Return to: ShaleGettingStarted

Here is the output from using archetype:create with the new -DremoteRepositories attribute:

wsmoak@apollo /cygdrive/c/temp
$ mvn archetype:create -DremoteRepositories=http://cvs.apache.org/maven-snapsho
t-repository -DarchetypeGroupId=struts -DarchetypeArtifactId=struts-archetype-s
hale-blank -DarchetypeVersion=1.0.1-SNAPSHOT -DgroupId=com.example -DpackageNam
e=com.example.myproject -DartifactId=myproject
[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.pr
operties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[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 'V
M_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  glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] We are using command line specified remote repositories: http://cvs.apach
e.org/maven-snapshot-repository
[INFO] snapshot struts:struts-archetype-shale-blank:1.0.1-SNAPSHOT: checking for
 updates from id0
Downloading: http://cvs.apache.org/maven-snapshot-repository/struts/struts-arche
type-shale-blank/1.0.1-SNAPSHOT/struts-archetype-shale-blank-1.0.1-SNAPSHOT.jar
19K downloaded
[INFO] -------------------------------------------------------------------------
---
[INFO] Using following parameters for creating Archetype: struts-archetype-shale
-blank:1.0.1-SNAPSHOT
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: com.example
[INFO] Parameter: packageName, Value: com.example.myproject
[INFO] Parameter: basedir, Value: c:\temp
[INFO] Parameter: package, Value: com.example.myproject
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: artifactId, Value: myproject
[INFO] ********************* End of debug info from resources from generated POM
 ***********************
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference :
template = archetype-resources/src/main/resources/Bundle.properties [line 15,col
umn 3] : $Id is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference :
template = archetype-resources/src/main/webapp/index.jsp [line 17,column 2] : $I
d is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference :
template = archetype-resources/src/main/webapp/WEB-INF/dialog-config.xml [line 3
4,column 41] : $logon.check is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference :
template = archetype-resources/src/main/webapp-filtered/WEB-INF/web.xml [line 29
,column 18] : ${state.saving.method} is not a valid reference.
[INFO] Archetype created in dir: c:\temp\myproject
[INFO] -------------------------------------------------------------------------
---
[INFO] BUILD SUCCESSFUL
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: 6 seconds
[INFO] Finished at: Sat Mar 11 13:48:40 GMT-07:00 2006
[INFO] Final Memory: 4M/8M
[INFO] -------------------------------------------------------------------------
---

wsmoak@apollo /cygdrive/c/temp
$

HomePage | ShaleGettingStarted | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited March 12, 2006 6:22 am by WendySmoak (diff)
Search: