Konstantin: thanks for the hint how to generate the effective pom (mvn 
projecthelp:effective-pom)

Here is the snippet to declare the resource directories

<build>
        <resources>
                <resource>
                        <directory>src/main/resources</directory>
                </resource>
                <resource>
                        <directory>src/main/conf</directory>
                </resource>
        </resources>
</build>


My pom which makes problems has a parent pom. 
When I declare the resources entry in the parent pom it has no 
consequences (the effective pom contains only a resource entry to 
src/main/conf)
When I declare the resources entry in pom the effective pom has the 
correct resource entries (src/main/conf and src/main/resources)

Does inheritance not work in such a case?


BTW, I thougth the default resource entries are src/main/conf and 
src/main/resources. (without an entry only src/main/conf is in the 
effective pom)

Regards,

Martin



 



++++++++++++++++++++++++++++++++++++++++++++++
Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten 
bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner 
Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts 
dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend 
zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte 
Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, 
weshalb jegliche Haftung hierfür ausgeschlossen wird.
++++++++++++++++++++++++++++++++++++++++++++++
This communication is confidential and is intended solely for the addressee(s). 
If you are not the intended recipient(s), his/her assistant, or authorized 
recipient, any form of disclosure, reproduction, distribution or any use of 
this communication or the information in it, is strictly prohibited and may be 
unlawful. In this case, please notify the sender immediately and destroy the 
e-mail. Electronic communication via the Internet by e-mail may be manipulated 
and/or read by third parties, thus we exclude any liability whatsoever for this 
e-mail.
++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to