What's the meaning of user property of maven plugin parameter

后端 未结 3 983
小鲜肉
小鲜肉 2020-12-15 19:02

I am a newbie to Maven. When I try to refer to any maven plugin document, I always see following format for the parameter definition: Name Description {p

3条回答
  •  無奈伤痛
    2020-12-15 19:07

    It refers to the context in which the property applies. There are, for example, system properties such as JVM version, OS name, etc., which are not "user properties" because the user shouldn't be setting them. Note that this isn't a Maven specific concept, it's a more general way that Java treats various pieces of information that are configuration related (i.e. usually a characteristic of the platform or context a process is running in). "User property" just implies that the user, i.e. the person running Maven or configuring the Maven pom.xml, is setting the property values.

提交回复
热议问题