문제

Is it possible to activate a maven profile only when building a specific plugin/goal?

If so how do you go about configuring this in ~/.m2/settings.xml?

도움이 되었습니까?

해결책

You can't. You can (de-)activate plugins through profiles, not the other way around. For all options activating profiles, see:

http://maven.apache.org/guides/introduction/introduction-to-profiles.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top