> > Anders Hammar schrieb: > > I think you should have scope 'provided'. Your use case is what that's > for. > > Yes, that's what I thought as well, but, well, it's not always the case - > we're using the same app code base for various deployments, but in not all > situations the artifacts actually _are_ provided / to be placed in the > server environment... And so far I hesitated having two different war > artifacts just to address this issue... but maybe it would be a cleaner > solution? > > You can have one project with a primary artifact (including all dependencies) and an extra artifact (w/o deps) using a classifier. I don't think you should worry about have many artifacts. If you do that, then you will have problems with maven...:-)
/Anders