[
https://issues.apache.org/jira/browse/MNG-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882768#comment-16882768
]
Robert Scholte commented on MNG-6706:
-------------------------------------
Changes to pom and settings won't happen before Maven 4 or 5.
However, I would expect that this can be solved by writing your own Maven
extension, see
https://maven.apache.org/examples/maven-3-lifecycle-extensions.html
Documentation regarding extensions are still minimal, so PRs on enhancements
are appreciated too.
> Enhancement for activating a profile
> ------------------------------------
>
> Key: MNG-6706
> URL: https://issues.apache.org/jira/browse/MNG-6706
> Project: Maven
> Issue Type: Improvement
> Components: Bootstrap & Build
> Affects Versions: 3.6.1
> Reporter: Roland Wiesemann
> Priority: Major
>
> I often work with my laptop in different locations, so I need to adjust the
> Maven build settings to match the network addresses that are valid for that
> location:
> * Proxy settings
> * Repository Settings (NEXUS)
> * Properties
> Can you make it possible for profiles to be activated when a network address
> is reachable? For example, the return value of a ping is evaluated for
> activation.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)