JB, 

I got message from Jira maven for script componenet is added , but when I
exutected smx-arch from command prompt got the error as follows

C:\apache-servicemix-3.3.1\bin>smx-arch su script
"-DgroupId=com.ekaplus.accounting" "-DartifactId=se-notifyevent"
[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] [archetype:create]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO] Defaulting package to group ID: com.ekaplus.accounting
[INFO] We are using command line specified remote repositories:
http://people.apache.org/repo/m2-ibiblio-rsync-repository
[INFO] artifact
org.apache.servicemix.tooling:servicemix-script-service-unit: checking for
updates from id0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-script-service-unit
Version: RELEASE

Reason: Unable to determine the release version

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=servicemix-script-service-unit -Dversion=RELEASE
-Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=servicemix-script-service-unit -Dversion=RELEASE
-Dpackaging=jar -Dfile=/path/to/file -Du
rl=[url] -DrepositoryId=[id]


  org.apache.servicemix.tooling:servicemix-script-service-unit:jar:RELEASE



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Jun 10 19:28:26 IST 2009
[INFO] Final Memory: 7M/14M
[INFO]
------------------------------------------------------------------------


Please advice me on this 

regards
Brijesh N K



Jean-Baptiste Onofré wrote:
> 
> Thanks Brijesh,
> 
> Keep you posted via the jira.
> 
> Regards
> JB
> 
> brijesh wrote:
>> JB, 
>> 
>> done, 
>> 
>> Rrgards,
>> Brijesh N K
>> 
>> 
>> 
>> Jean-Baptiste Onofré wrote:
>>> Hi Brijesh,
>>>
>>> As I have explained in my previous e-mail, there is no servicemix-script 
>>> archetype yet.
>>>
>>> Please open a jira task (http://issues.apache.org/activemq/browse/SM), 
>>> assign to me and I will add the archetype quickly.
>>> If you can't create the jira task, please keep me posted, I will create 
>>> by myself.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> brijesh wrote:
>>>> JB, 
>>>> thanks for the response, 
>>>> the link which you mentioned doesn't have archetype for  
>>>> servicemix-script
>>>> not for servicemix-scripting as mentioned just previous posting, 
>>>>
>>>> can you please guide me from where I can download the same?. I am doing
>>>> manual compilation, which giving me classnot found issues etc., 
>>>>
>>>>
>>>> Regards
>>>> Brijesh N K
>>>>
>>>>
>>>>
>>>> brijesh wrote:
>>>>> JB, 
>>>>> thanks for the response, 
>>>>> the link which you mentioned doesn't have archetype for  
>>>>> servicemix-scripting , 
>>>>> can you please guide me from where I can download the same?. I am
>>>>> doing
>>>>> manual compilation, which giving me classnot found issues etc., 
>>>>>
>>>>>
>>>>> Regards
>>>>> Brijesh N K
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Jean-Baptiste Onofré wrote:
>>>>>> Hi Brijesh,
>>>>>>
>>>>>> all maven archetype are here:
>>>>>> http://svn.apache.org/repos/asf/servicemix/archetypes/trunk/
>>>>>>
>>>>>> But there isn't any available for the servicemix-script component.
>>>>>>
>>>>>> Please open a Jira (and assign to me), I will add this quickly.
>>>>>>
>>>>>> Regards
>>>>>> JB
>>>>>>
>>>>>> brijesh wrote:
>>>>>>> hello , 
>>>>>>>
>>>>>>> Frome where i can download maven archetype for servicemix-script
>>>>>>> component? 
>>>>>>>
>>>>>>> regards
>>>>>>> Brijesh N K
>>>
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven-archetype-for-servicemix-script-tp23867909p23962979.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to