2010/9/29 Diamond Li <[email protected]>:
> All java files under my src/ directory has been perfectly packaged to
> WAR file under WEB-INF/classes folder. But, I also have some property
> files such as pro.properties didn't get packaged to WEB-INF/classes.
>
> Would someone kindly show me how to pack these property files?
<build>
...
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
</build>
However you'd best follow Anders suggestion, following conventions
helps you a lot in understanding Maven and getting rid of
overconfiguration.
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]