Hi,

On Wed, Dec 28, 2011 at 7:16 AM, Guillaume Bailleul
<[email protected]> wrote:
> * Is there a way to specify in pom that dependency are mandatory in a
> java environment and not in an other ?

Not really. I guess the best thing would be to mark them as
<scope>provided</scope>, and document that for Java 5 environments
these dependencies need to be explicitly added.

> * Is it a good idea to create an IOUtils class in Xmpbox to cut
> dependency to commons-io ? There are no license problem, the choice is
> between "duplicate code" and "create a dependency for next to nothing"

As long as we're talking about just a relatively small piece of code
(individual classes) that doesn't require too much maintenance, I
think it's better to just copy the code.

BR,

Jukka Zitting

Reply via email to