Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by KelvinGoodson: http://wiki.apache.org/ws/Tuscany/TuscanyJava/SDOJavaReleaseSteps ------------------------------------------------------------------------------ to sample/pom.xml. The first chunk gets the source code in there, and the second chunk allows you to run "java -jar .jar" to run the top level sample program. + + === getting javadoc into the repository for the distribution build to pick up === + {{{ + nyone got time for a maven question? ant? lresende? + can try but i'm no maven expert + thx + i currently have 5 peer projects, impl, tools, plugin, sample and distribution + distribution can pick up the outputs of the first 4 and package them, becasue they are in the repository + but if i want javadoc from any of them then i'm not sure what the best way is of doing that, as currently it would require a releative file path that ascends above the pom of the distribution project + i was going to put the incantations to create the distribution build in the pom above the impl, sample etc + but i just thought i'd check to see if there was a clean wayof say putting the savadoc in the repository so that it could be picked up by the distribution projects pom + s/sava/java/ + any thoughts? + bot sure the javadoc could go in the repository, but other no idea sorry + dkulp seems like a maven wizz, maybe he could suggest something + ok, i'll plug on with raising the responsibiliity fo creating the distribution to the parent pom thanks + ok i'll ping him + ta + dkulp? yy? + yt? + i guess "yy" means "are you you?" Which is a little deep for a Friday afternoon ;-) + Semi here. I have a meeting to run to soon though. + ok, thx, can you see my question about dmaven and javadoc above? + s/dmaven/maven/ + You can run "mvn javadoc:jar install" top level + Then ALL the javadocs would be put in the repository. + The distributions could then package them view a "qualifier" on the dependency. + not sure i understand last sentence + I mean classifier. + Preparing a paste..... + ok, but still having trouble parsing the meaning, sorry + you don't know off-hand where an example might be do you? + http://rafb.net/paste/results/omhydW43.html + ta + That's a snipit from the CXF distribution pom.xml + many thanks + It unpacks the javadoc from the repository into target/javadoc for the assembly to grab. + heh heh, thx, i'll play + Maven dependencies have a options "classifier" (defaults to "jar") to specify the type of dependency. + i see, so here we override with javadoc + There are other types like "test" (you can run "mvn test:jar install" to get test jars), javadoc, etc... + Right + Hope that helps. + i think i can see the steps forward to do this, many thanks + No problem. :-) + }}} + --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@ws.apache.org For additional commands, e-mail: general-help@ws.apache.org