Hi Russ,

> How does one get a complete list of available Maven properties?

As far as I know, there is no complete list of Maven properties. If I
understand correctly, creating such a list would be tricky, because they
are ultimately resolved dynamically from the Java object model. See "How do
I get a list of all available properties?" in the FAQ:

    http://docs.codehaus.org/display/MAVENUSER/FAQs

There is also a (very incomplete) static list at:

    http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide

If there is something specific you need you may be able to follow the
advice of the FAQ entry linked above: use "mvn help:effective-pom" and
derive your parameter name from what you see there.

Lastly, there is an interesting hack on Stack Overflow that might help you:

    http://stackoverflow.com/questions/12317609

Regards,
Curtis


On Wed, Mar 13, 2013 at 9:35 AM, Russell Gold <[email protected]> wrote:

> Hi,
>
> How does one get a complete list of available Maven properties? I found a
> sonatype doc which suggested looking at the Javadoc for the Model class in
> Maven http://maven.apache.org/ref/3.0.3/maven-model/apidocs/ but I cannot
> find any mention there of methods which would define
> project.build.sourceEncoding, which is clearly a real property. That
> suggests that there must be other properties available that somehow are not
> part of the model.
>
> - thanks
> Russ Gold
> -----------------
> Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
> and listen to the Misfile radio play <
> http://www.gold-family.us/audio/misfile.html>!
>
>
>
>
>

Reply via email to