You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Adrian Trenaman (JIRA)" <ji...@apache.org> on 2008/10/23 15:22:52 UTC

[jira] Created: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

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
            Priority: Minor




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


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment: servicemix-osgi-cxf-code-first-archetype.zip

Hi Freeman,

I have added the right dependencies, compiled and tested the archetype and generated maven project  against JDK 1.5. I believe this fix should resolve the issues you encountered.

Cheers,

Ashwin...

> 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.


[jira] Commented: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47240#action_47240 ] 

Ashwin Karpe commented on SMX4-141:
-----------------------------------

Please find attached the archetype for generating an OSGi based CXFCode first service. I have generated and tested the Service. The steps to be followed are given below.
a> Build the archetype and install in the local repository
b> Use the mvn-cxf-cf.bat file to generate the maven project from the archetype. The batch file contains the "mvn archetype create ..." command
c> The code is already present when the archetype is created. Run "mvn clean install"  
e> Deploy the bundle and launch in the SMX4 OSGi container

> 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
>            Priority: Minor
>         Attachments: mvn-cxf-cf.bat, servicemix-osgi-cxf-code-first-service-unit.zip
>
>


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


[jira] Resolved: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMX4-141.
-------------------------------

    Resolution: Fixed

patch applied  on befalf of Ashwin with thanks
http://svn.apache.org/viewvc?rev=718506&view=rev

> 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, pom.xml, 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.


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment: servicemix-osgi-cxf-code-first-archetype.zip

It was brought to my attention that the naming convention with a "-service-unit" was improper since the archetype generated a pure CXF Code First Web service with no JBI underpinnings. I have therefore changed the name/artifactId of the archetype to "servicemix-osgi-cxf-code-first-archetype" 

> 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
>            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.


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment: mvn-cxf-cf.bat
                servicemix-osgi-cxf-code-first-service-unit.zip

> 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
>            Priority: Minor
>         Attachments: mvn-cxf-cf.bat, servicemix-osgi-cxf-code-first-service-unit.zip
>
>


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


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment:     (was: servicemix-osgi-cxf-code-first-archetype.zip)

> 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
>


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


[jira] Resolved: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe resolved SMX4-141.
-------------------------------

    Resolution: Fixed

The issue is resolved and now available for review

> 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
>            Priority: Minor
>         Attachments: mvn-cxf-cf.bat, servicemix-osgi-cxf-code-first-service-unit.zip
>
>


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


[jira] Reopened: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reopened SMX4-141:
-------------------------------


Hi Ashwin,

Generally we can't mark an issue as resolved until committed in the src repository, so I will reopen it first. :-)

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.


[jira] Resolved: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe resolved SMX4-141.
-------------------------------

    Resolution: Fixed

> 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, pom.xml, 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.


[jira] Commented: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47281#action_47281 ] 

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

Hi Ashwin,

I can gererate the bundle project with your patch, but when I try to build the generated project, I get error like
/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[7,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[8,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[9,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[27,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[29,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[31,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/UnknownPersonFault.java:[4,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[4,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[5,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[6,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[7,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[8,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/ObjectFactory.java:[4,33] package javax.xml.bind.annotation does not exist
/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[4,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[5,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[6,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[7,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[8,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[4,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[5,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[6,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[7,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[8,33] package javax.xml.bind.annotation does not exist

/local/smx4-141/person/src/main/java/com/mycompany/PersonImpl.java:[20,20] package javax.xml.ws does not exist

/local/smx4-141/person/src/main/java/com/mycompany/PersonImpl.java:[28,26] cannot find symbol
symbol  : class Holder
location: class com.mycompany.PersonImpl

/local/smx4-141/person/src/main/java/com/mycompany/PersonImpl.java:[28,51] cannot find symbol
symbol  : class Holder
location: class com.mycompany.PersonImpl

/local/smx4-141/person/src/main/java/com/mycompany/PersonImpl.java:[28,71] cannot find symbol
symbol  : class Holder
location: class com.mycompany.PersonImpl

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[19,1] cannot find symbol
symbol: class XmlSeeAlso
@XmlSeeAlso({com.mycompany.types.ObjectFactory.class})

/local/smx4-141/person/src/main/java/com/mycompany/UnknownPersonFault.java:[14,1] cannot find symbol
symbol: class WebFault
@WebFault(name = "UnknownPersonFault")

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[22,5] cannot find symbol
symbol  : class RequestWrapper
location: interface com.mycompany.Person

/local/smx4-141/person/src/main/java/com/mycompany/Person.java:[23,5] cannot find symbol
symbol  : class ResponseWrapper
location: interface com.mycompany.Person

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[30,1] cannot find symbol
symbol: class XmlAccessorType
@XmlAccessorType(XmlAccessType.FIELD)

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[31,1] cannot find symbol
symbol: class XmlType
@XmlType(name = "", propOrder = {

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[34,1] cannot find symbol
symbol: class XmlRootElement
@XmlRootElement(name = "UnknownPersonFault")

/local/smx4-141/person/src/main/java/com/mycompany/types/UnknownPersonFault.java:[37,5] cannot find symbol
symbol  : class XmlElement
location: class com.mycompany.types.UnknownPersonFault

/local/smx4-141/person/src/main/java/com/mycompany/types/ObjectFactory.java:[21,1] cannot find symbol
symbol: class XmlRegistry
@XmlRegistry

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[32,1] cannot find symbol
symbol: class XmlAccessorType
@XmlAccessorType(XmlAccessType.FIELD)

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[33,1] cannot find symbol
symbol: class XmlType
@XmlType(name = "", propOrder = {

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[38,1] cannot find symbol
symbol: class XmlRootElement
@XmlRootElement(name = "GetPersonResponse")

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[30,1] cannot find symbol
symbol: class XmlAccessorType
@XmlAccessorType(XmlAccessType.FIELD)

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[31,1] cannot find symbol
symbol: class XmlType
@XmlType(name = "", propOrder = {

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[34,1] cannot find symbol
symbol: class XmlRootElement
@XmlRootElement(name = "GetPerson")

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[41,5] cannot find symbol
symbol  : class XmlElement
location: class com.mycompany.types.GetPersonResponse

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[43,5] cannot find symbol
symbol  : class XmlElement
location: class com.mycompany.types.GetPersonResponse

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPersonResponse.java:[45,5] cannot find symbol
symbol  : class XmlElement
location: class com.mycompany.types.GetPersonResponse

/local/smx4-141/person/src/main/java/com/mycompany/types/GetPerson.java:[37,5] cannot find symbol
symbol  : class XmlElement
location: class com.mycompany.types.GetPerson

I know the reason is that I'm using jdk1.5 which not ship with the necessary jaxb and jaxws version, but we do need the archetype works both with jdk 1.5 and 1.6, so would you please revise the patch accrodingly, basically it should be add the jaxb & jaxws dependency in the generated pom.xml

Thanks
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.


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment: mvn-cxf-cf.bat
                pom.xml
                servicemix-osgi-cxf-code-first-archetype.zip

Hi Freeman,

I have made the 3 changes you suggested and verified the fixes against the servicemix archetype trunk. I followed your instructions and removed all references to FUSE and used the res-maven-plugin. 

I had to make changes to the http://svn.apache.org/repos/asf/servicemix/archetypes/trunk/pom.xml and I have attached the same for your review. The changes are limited to the res-maven-plugin section and <properties>.
tag.

Could you please review and commit this fixed version as appropriate.

Cheers,

Ashwin...

> 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, pom.xml, 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.


[jira] Resolved: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe resolved SMX4-141.
-------------------------------

    Resolution: Fixed

The issue listed by Freeman is now fixed and an updated zip file is now available for review

> 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.


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment:     (was: mvn-cxf-cf.bat)

> 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
>


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


[jira] Reopened: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reopened SMX4-141:
----------------------------------


Reopen until patch is committed

> 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
>            Priority: Minor
>         Attachments: mvn-cxf-cf.bat, servicemix-osgi-cxf-code-first-service-unit.zip
>
>


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


[jira] Assigned: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SMX4-141:
---------------------------------

    Assignee: Freeman Fang

> 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.


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment:     (was: servicemix-osgi-cxf-code-first-archetype.zip)

> 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
>
>


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


[jira] Updated: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe updated SMX4-141:
------------------------------

    Attachment:     (was: servicemix-osgi-cxf-code-first-service-unit.zip)

> 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
>            Priority: Minor
>         Attachments: mvn-cxf-cf.bat
>
>


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


[jira] Reopened: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reopened SMX4-141:
-------------------------------


> 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, pom.xml, 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.


[jira] Resolved: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Karpe resolved SMX4-141.
-------------------------------

    Resolution: Fixed

This issue is now fixed and ready for review

> 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
>            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.


[jira] Reopened: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reopened SMX4-141:
-------------------------------


reopen it until it get reviewed and applied

> 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
>            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.


[jira] Commented: (SMX4-141) Create an "servicemix-osgi-ws-code-first" archetype that shows how to deploy a code-first CXF web service in SMX4

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ 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.