You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by RobW <ro...@web.de> on 2007/07/13 13:22:03 UTC

Re: ResourceManager : unable to find resource 'VM_global_library.vm' in any

Did not work for me either, but I got to the repository and downloaded it and
then I did the following and it worked:

Browsed to (at this time only 3.3.1 was available):

http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/servicemix-service-assembly/3.1.1-incubating/

and downloaded

servicemix-service-assembly-3.1.1-incubating.jar

to the folder X.

Then I used maven at the mentioned folder (in the tutorial: hello-world-smx)
and typed in:

mvn install:install-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=servicemix-service-assembly -Dversion=3.1.1-incubating
-Dpackaging=jar
-Dfile=PATH_TO_X\servicemix-service-assembly-3.1.1-incubating.jar

And now it worked.

Cheers, Rob.



xujingguo wrote:
> 
> Thanks a lot anyway.
> I fixed it with "mvn archetype:create  \
>     -DarchetypeGroupId=org.apache.servicemix.tooling\
>     -DarchetypeArtifactId=servicemix-service-assembly\
>     -DarchetypeVersion=3.1-incubating \
>     -DgroupId=org.apache.servicemix.samples.helloworld\
>     -DartifactId=hello-world-sa\
>    
> -DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository"
> not with "mvn archetype:create \
>     -DarchetypeGroupId=org.apache.servicemix.tooling \
>     -DarchetypeArtifactId=servicemix-service-assembly \
>     -DarchetypeVersion=3.2-incubating-SNAPSHOT \
>     -DgroupId=org.apache.servicemix.samples.helloworld \
>     -DartifactId=hello-world-sa"
> and now it works.
> Thank u  .
> 
> 
> gnodet wrote:
>> 
>> If you see "Build successfull" at the end, you can safely ignore this
>> error.
>> I think this error comes from the maven archetype plugin somehow.
>> 
>> On 5/28/07, xujingguo <xu...@yahoo.com.cn> wrote:
>>>
>>>
>>> When I followed the steps of
>>> http://incubator.apache.org/servicemix/hello-world-bc.html
>>> http://incubator.apache.org/servicemix/hello-world-bc.html   'Wrapping
>>> the
>>> Service Unit in a Service Assembly' ,after I execute the command of "
>>> mvn archetype:create \
>>>     -DarchetypeGroupId=org.apache.servicemix.tooling \
>>>     -DarchetypeArtifactId=servicemix-service-assembly \
>>>     -DarchetypeVersion=3.2-incubating-SNAPSHOT \
>>>     -DgroupId=org.apache.servicemix.samples.helloworld \
>>>     -DartifactId=hello-world-sa"
>>> I faced a puzzle of "...[ERROR] ResourceManager : unable to find
>>> resource
>>> 'VM_global_library.vm' in any resource loader....".
>>> What can I do next? Thanks any reply and best regards.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/ResourceManager-%3A-unable-to-find-resource-%27VM_global_library.vm%27-in-any-tf3826693s12049.html#a10832655
>>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Principal Engineer, IONA
>> Blog: http://gnodet.blogspot.com/
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ResourceManager-%3A-unable-to-find-resource-%27VM_global_library.vm%27-in-any-tf3826693s12049.html#a11577504
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.