[
https://issues.jboss.org/browse/JBIDE-12836?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-12836:
---------------------------------------------
Found a few additional reasons for confusion/differences across dev/os's.
When you run help:all-profiles you get *All* profiles, incl. what is defined in parent,
but help:active-profiles only shows from settings + local pom.xml. It does *not* include
the profiles enabled in the parent.
The effects of the profile is though visible in the pom listed via help:effective-pom.
So knowing that you realized you have to use help:effective-pom to know what is actually
going on and I had a hard time figuring out why I could not see any diff when using
-Punified-target or -P!unified-target or -Plocal.target and other plugins that redefines
tycho-platform-configuration.
The reason is that the profile named "osx" *always* defines this and it always
wins because its "early" in the parent.
Long explanation short:
We should not redefine tycho-platform-configuration in osx and we should *not* redefine
plugin setup when overriding properties would be sufficient.
Review and clean parent pom
---------------------------
Key: JBIDE-12836
URL:
https://issues.jboss.org/browse/JBIDE-12836
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: Build/Releng
Reporter: Mickael Istria
Assignee: Max Rydahl Andersen
Labels: ece2012
Fix For: 4.0.0.CR1
With introduction of new target-platforms, enforcement of usage of target platforms over
repositories, usage of Maven mirroring on Jenkins... the parent pom has seen its
responsibilities reduced.
We should improve it to remove from it all legacy profiles and properties that are now
replaced by more flexible mechanisms. Also, we should re-think some profiles to make them
simpler to use.
Goal is to make it easier to read, and then to maintain, without loosing any optimization
we've made for end-users or CI.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira