Hi Guillaume/All,
Tried creating a standard JBI Component using servicemix-common module.
I followed the steps written in
http://servicemix.org/site/creating-a-standard-jbi-component.html
On executing the command
mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-service-engine \
-DarchetypeVersion=1.0-incubating-SNAPSHOT \
-DgroupId=org.apache.servicemix.xslt \
-DartifactId=servicemix-xslt
I got the following error:
[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.bam
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-service-engine
Version: 1.0-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-engine \
-Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
org.apache.servicemix.tooling:servicemix-service-engine:jar:1.0-incubating-SNA
PSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Any pointers?
~Vikas