I want to develop a Webservice based on WSDL and host it on Servicemix.

I understand there is JSR 181 Archetype in Maven.. How could we use it for
the same.

Thanks
Mukesh Mediratta



Philip Dodds-2 wrote:
> 
> No worries - glad is working :)
> 
> P
> 
> On 8/15/06, Mukesh Mediratta <[EMAIL PROTECTED]> wrote:
>>
>> Now it is working fine.. Not sure what was the reason before for not
>> working.
>>
>> I shall try for other archetypes and see if I get any issues.
>>
>> Thanks a lot Philip
>>
>>
>>
>> Philip Dodds-2 wrote:
>> >
>> > Is there a build error missing from the bottom of the trace?
>> >
>> > P
>> >
>> > On 8/14/06, Mukesh Mediratta <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Thanks Philip,
>> >>
>> >> I tried the example and got
>> >>
>> >> C:\temp\firstApp>mvn -e archetype:create
>> >> -DarchetypeGroupId=org.servicemix.tooli
>> >> ng -DarchetypeArtifactId=servicemix-service-engine
>> >> -DarchtypeVersion=3.0-incubat
>> >> ing-SNAPSHOT -DgroupId=org.apache.servicemix.xslt
>> >> -DartifactId=servicemix-xslt
>> >> + Error stacktraces are turned on.
>> >> [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.xslt
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >>
>> >>
>> >>
>> >> Philip Dodds-2 wrote:
>> >> >
>> >> > You can see the available archetypes in the tooling directory - they
>> >> > all start servicemix-*
>> >> >
>> >> >
>> >>
>> http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/tooling/
>> >> >
>> >> > If you want to use one of the archetypes you can use the Maven
>> command
>> >> > line :
>> >> >
>> >> > mvn archetype:create \
>> >> >         -DarchetypeGroupId=org.apache.servicemix.tooling \
>> >> >         -DarchetypeArtifactId=servicemix-service-engine \
>> >> >         -DarchetypeVersion=3.0-incubating-SNAPSHOT \
>> >> >         -DgroupId=org.apache.servicemix.xslt \
>> >> >         -DartifactId=servicemix-xslt
>> >> >
>> >> > Also the service unit archetypes (ending in service-unit) provide
>> >> > starters for a service unit and will need to be put as a dependent
>> of
>> >> > a service assembly (servicemix-service-assembly).  You might want to
>> >> > read up on the JBI Maven tooling to see how this is done
>> >> > (http://www.servicemix.org/site/maven-jbi-plugin.html)
>> >> >
>> >> > P
>> >> >
>> >> > This example would use the servicemix-service-engine archetype to
>> >> > create a project called servicemix-xslt.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On 8/14/06, Mukesh Mediratta <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> I am trying to build my first application on ServiceMix.
>> >> >>
>> >> >> I would like to know what maven archetypes are available for
>> >> servicemix
>> >> >> and
>> >> >> how to use them.
>> >> >>
>> >> >> Thanks
>> >> >> Mukesh Mediratta
>> >> >> --
>> >> >> View this message in context:
>> >> >> http://www.nabble.com/Maven-Archetypes-tf2105342.html#a5802812
>> >> >> Sent from the ServiceMix - User forum at Nabble.com.
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Maven-Archetypes-tf2105342.html#a5803443
>> >> Sent from the ServiceMix - User forum at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Maven-Archetypes-tf2105342.html#a5815209
>> Sent from the ServiceMix - User forum at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-Archetypes-tf2105342.html#a5860777
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to