You are correct. The recommended way is to use the property tag in
pom.,xml, settings.xml and within profiles and so on. This is a much more
powerful mechanism with built in inheritance, overloading, activation and
so on.

If you still insist on using external .properties file the plugin you
mention is the way to go.

manfred

> Hello all,
>
> I have been doing some research to determine if it is possible to load a
> set of properties from a normal java properties file. The impression I
> am getting it that it might be but only through a relatively obscure
> plugin
> (http://mvnrepository.com/artifact/org.sonatype.plugins/maven-properties
> -plugin/0.0.2).
>
> The thing that really puzzles me is that I am led to believe this use to
> be quite straightforward through the use of a build.properties file but
> that functionality was lost in Maven 1. Can anyone tell me why this
> functionality was removed or, better yet, if there is a flag to turn it
> back on?
>
> Thanks,
>
> Philip Wilder | Software Designer
> [email protected] | 3500 Carling Ave. | Ottawa, Ontario K2H 8E9 Canada
> Direct +1.613.763.8548
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to