Am 28.02.2013 14:50, schrieb Jan Engler:
As you might have seen, I want to have 4 artifacts: api.jar,
api-sources.jar, full.jar, full-sources.jar.

Which of these are supposed to be used as dependencies in other projects?

Each project can supply exactly 1 artifact for dependent Maven builds.
Other software may make use of more artifacts, that's why foo-sources.jar is so commonplace - IDEs typically can use multiple artifacts, one for binaries, one for sources, one for javadoc. But only 1 binaries artifact for inclusion in other projects via the dependencies, that's it.

This looks as if you need two projects, one that generates api.jar and api-sources.jar, and one that generates full.jar and full-sources.jar.

Hope this points you in the right direction.

Regards,
Jo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to