[ 
https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47345#action_47345
 ] 

Freeman Fang commented on SMX4-141:
-----------------------------------

Hi Ashwin,

There are some  issues.
1. we have all archetypes here: 
http://svn.apache.org/repos/asf/servicemix/archetypes/trunk/, 
so in your pom.xml, you should use same parent and version like other 
archetypes used there, you can check out the code and take a look at 
servicemix-cxf-bc-service-unit/pom.xml, 
2. currently you hard code the repository and dependency version in your 
src/main/resources/archetype-resources/pom.xml, it works but the better way we 
should use res-maven-plugin to filter on the fly so that when version changes 
we only need change one place, take a look at 
http://svn.apache.org/repos/asf/servicemix/archetypes/trunk/pom.xml
how to configure the filter, you need define all property in this file to 
filter 
3. currently you use fuse repository and fuse version in your patch, since this 
patch will go into apache code base, when shouldn't use fuse related stuff here.

Similar issue with SMX4-142 & SMX4-150, would you please revise your patch 
accordingly?

Thanks again
Freeman

> Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy 
> a code-first CXF web service in SMX4
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-141
>                 URL: https://issues.apache.org/activemq/browse/SMX4-141
>             Project: ServiceMix 4
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: mvn-cxf-cf.bat, 
> servicemix-osgi-cxf-code-first-archetype.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to