首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Maven 2插件从一个属性值映射到另一个,设置基于现有属性可自定义的映射性质

Maven 2插件从一个属性值映射到另一个,设置基于现有属性可自定义的映射性质

资 源 简 介

The plugin allows mapping from one property value, to the other, and sets the new property on a Maven project, so that it can be used by other plugins. A typical use case is a particular value of a property should trigger different configuration of a plugin. This is typically done with profiles, but activation framework does not have much flexibility (such as activation based on a substring of property value or regular expression matching, at least not out of the box), and if there are many possible mappings between a number of properties, the number of profiles required grows expotentially). See Usage for more details. With the plugin it is possible to execute scenarios such as the one described below: ``` eu.trojanbug.maven.plugins propertymapper-maven-plugin
VIP VIP
0.173999s