Features code:

http://servicemix.396122.n5.nabble.com/file/n2850786/features.zip
features.zip 

Hi Adrian,

Thanks for your taking a look. There's two folders in there:

1. test-cxf-jaxrs, which is my very naive 7 Step modification, as described
before.
2. my-cxf-jaxrs, i've changed the package name, so that i'm no longer
working with org.apache.servicemix.examples...  


If I type 'mvn install' for 1., it compiles to the target sub-directory, but
when SMX feature:installs it, it takes the code from the original
/examples/cxf-jaxrs/target directory  ( I presume ).

If I type 'mvn install' for 2., it says my "pom is not found in repository:
Unable to download the artifact from any repository". (The output should be
the same for you).  So there is some Maven repo wizardry I need before it
will recognise my new artifact name/group.  I understand it is because it
has never heard of my package name before... but how do I tell Maven about
it to say "Use the current directory"?  Why can't it just be like "javac -cp
."?  Why is Maven so strange?

Thanks,
Daniel

ps. your work in making it easier to package/deploy will save people
countless hours.  
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/SMX-Maven-feature-deployment-tp2849796p2850786.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to