Generally you would package A by itself, B by itself, C by itself with a dependency on A and B, and D by itself with a dependency on D.
Arguably you could package A and B together if they will always be used to together, producing a single AB artifact, and then depend on it in C and D. Wayne On Sat, May 3, 2008 at 11:21 AM, Nicola Benaglia <[EMAIL PROTECTED]> wrote: > Hi, > I am moving my firsts step with Maven. > In my project I have the following Java code structure: > > com.myproj.packageA > com.myproj.packageB > com.myproj.packageC > com.myproj.packageD > > When I launch the package artifact (correct??) 2 jar should be created: > > server.jar (containing the compiled code from A,B,C) > client.jar (with A,B,D) > > How can I do that? How can I manage common code packages? > Please be patient with my newbie trivial questions :) > > Thank u in advance, > Nicola > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
