read property file from a dependent project with maven
Posted
by user202789
on Stack Overflow
See other posts from Stack Overflow
or by user202789
Published on 2010-03-18T09:45:05Z
Indexed on
2010/03/18
9:51 UTC
Read the original article
Hit count: 281
Hi, I have an issue when reading properties from a dependent project.
I have a core project, and my application has a dependency on it.
under classpath of core, it has file core.properties
.
and my application need to read this property file, but it couldn't. It requires the core.properties
in my classpath of my application, instead of core.
Is there an solution for that? One solution in my mind is that when I build my application.war
, can I explictly declare that I want the core dependency be exploded?
Thanks for help!
© Stack Overflow or respective owner