Hi,

I can't for the life of me work out how to make a cxf-jaxrs project from
scratch.  The only documentation that exists seems to be 'type
features:install examples-cxf-jaxrs', which doesn't help someone trying to
learn SMX.

So,  I'm trying to take the example, move it to another directory, make
changes to it, and install it myself.  I am trying to install the cxf-jaxrs
example by adding it as a new 'feature' 

So.

Step 1.
Cut <feature> from apache-servicemix-4.2.0-features.xml

Step 2.
Paste <feature> to myfeatures.xml

Step 3.
Copy /examples/cxf-jaxrs to /mydir/test-cxf-jaxrs

Step 4.
features:addUrl file:myfeatures.xml

Step 5.
Change pom.xml:  
changed 
<artifactId>test-cxf-jaxrs</artifactId>
changed 
<Import-Package>org.apache.servicemix.examples.test.cxf.jaxrs</Import-Package>
changed 
<Export-Package>org.apache.servicemix.examples.test.cxf.jaxrs</Export-Package>

Step 6.
mvn install

Step 7.
features:install test-cxf-jaxrs

It actually does install, and works as before.  But changes to my new test
code don't change anything.  

Now, I know it has something to do with Maven repos, but Maven's
documentation is obfuscated.

What changes must I make to make the code go to a nice repository somewhere,
and have SMX load that code when I run Step 7? 

Is there an easier way than the undocumented features facility?

Please help...  

Regards,
Daniel  




-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/SMX-Maven-feature-deployment-tp2849796p2849796.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to