how to create maven property
开发者_如何学PythonHow can I create maven property with the classpath as part of it ?
You don't need to create anything, simply load your file from the classpath (as mentioned in this answer):
InputStream is = getClass().getResourceAsStream("/file.txt " );
...
精彩评论