thx for fix :)
I have some other problems:
at tutorial:
[INFO] Parameter: artifactId, Value: hello-world-se-su
...
[INFO] ********************* End of debug info from resources from generated
POM ?***********************
[INFO] Archetype created in dir:
/Users/bsnyder/src/hello-world-smx/hello-world-se-su
and bellow:
>Compiling the Project
>Since we just created this project, we should first compile it just to make
sure nothing is wrong with
>what the archetype generated. To compile, package and test the project,
execute the following
>command from the command-line:
>$ cd ./hello-world-se-su
>$ mvn install
but at me:
>[INFO] Parameter: artifactId, Value: hello-world-se
...
>[INFO] ********************* End of debug info from resources from
generated POM ?>***********************
>[INFO] Archetype created in dir:
/Users/test/src/hello-world-smx/hello-world-se
and I can't do
cd ./hello-world-se-su
because I have a dir hello-world-se only
what I doing wrong?
At "Wrapping the Service Unit in a Service Assembly" I can't create
service-assembly too:
mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-service-assembly
-DarchetypeVersion=3.1-incubating-SNAPSHOT
-DgroupId=org.apache.servicemix.samples.helloworld
-DartifactId=hello-world-sa
[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] Defaulting package to group ID:
org.apache.servicemix.samples.helloworld
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-service-assembly
Version: 3.1-incubating-SNAPSHOT
Reason: 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.servicemix.tooling
-DartifactI
d=servicemix-service-assembly \
-Dversion=3.1-incubating-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
org.apache.servicemix.tooling:servicemix-service-assembly:jar:3.1-incubating-S
NAPSHOT
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: 5 seconds
[INFO] Finished at: Wed Mar 21 15:36:41 YEKT 2007
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/Hello-World-SE-Tutorial..-Is-this-a-typo--tf3429441s12049.html#a9591734
Sent from the ServiceMix - User mailing list archive at Nabble.com.