Hi,

According to chapter 9.6.1 of the Sonatype 'Maven: The Definitive Guide', I 
bundled some libraries in a separate pom project, hoping that I could easily 
add them to my projects. Unfortunately some of the libraries have the 
'provided' scope (they are needed at compile time, but must not be included in 
the war file) and thus are not available at compile time, resulting in a build 
failure. (Indeed, as promised, they are also not included in the war).

I understand (chapter 9.4.1 of the same book) that this is the correct 
behaviour, but it is a nuisance.

I like the idea of grouping dependencies to make the pom files more 
comprehensibe, but the available solution is not suitable for us.

Is there a way around or another way to group libraries / dependencies? (except 
for excluding the specific jars in the war configuration).

Ciao
  Aino

Reply via email to