eBay / UAF

UAF - Universal Authentication Framework
Apache License 2.0
280 stars 151 forks source link

config.properties should be in main/resources #33

Open nelenkov opened 7 years ago

nelenkov commented 7 years ago

Otherwise it is not automatically picked up by the war task. Alternatively added a war rule to included it, but better to follow the default layout.

e.g.,

fidouaf/src/main/resources/org/ebayopensource/fidouaf/res/config.properties

Also, any objections replacing config with a structured file (YAML, etc) so that all configurable properties (AID list, origin, multiple app facets, etc.) can be configured in one place?

JazzDeben commented 6 years ago

I noticed that too, my resolution was to change the POM with this: <resources>   <resource>     <directory>src/main/java</directory>    <includes>     <include>*/.properties</include>    </includes>   </resource> </resources> At the start of the <build> tag.