Skip to content

Commit

Permalink
JBIDE-13821 based on @maxandersen's patch https://github.com/maxander…
Browse files Browse the repository at this point in the history
  • Loading branch information
nickboldt committed Mar 21, 2013
1 parent ed248b7 commit e60a24d
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@
<!-- TARGET-PLATFORMS -->
<!-- ================ -->

<!-- JBoss Tools target platforms are versioned: <eclipseMajor>.<eclipseMinorAndMicro>.<revision>.<qualifier>
Default version is the minimum API / Eclipse target used for the project
In case no profile fits your requested TP version, directly override these next two properties -->

<!-- default value for the "minimum" profile -->
<TARGET_PLATFORM_VERSION>4.30.5.Alpha</TARGET_PLATFORM_VERSION>
<!-- default value for the "maximum" profile -->
<TARGET_PLATFORM_VERSION_MAXIMUM>4.30.5.Alpha2-SNAPSHOT</TARGET_PLATFORM_VERSION_MAXIMUM>
<!-- TODO: remove/rename all references to this older variable as it doesn't work consistently w/ Ant and Bash scripts -->
<TARGET_PLATFORM_VERSION-maximum>4.30.5.Alpha2-SNAPSHOT</TARGET_PLATFORM_VERSION-maximum>

<!-- to build with the minimum TP, use -Punified.target (on by default); to build with the maximum TP, use -Pmaximum -->
<!-- when building/testing components, use minumum TP -->
<!-- This must be overriden when using other groups for TP, such as jbdevstudio -->
Expand All @@ -104,16 +115,13 @@
<!-- ***************************************************************** -->
<!-- Use *target* profiles to select other values for those properties -->
<!-- ***************************************************************** -->
<!-- tpc.groupId is static but defined here to use a completely different target platform (i.e. for JBTIS) -->
<tpc.groupId>org.jboss.tools.targetplatforms</tpc.groupId>
<!-- tpc.group is one of ${targetPlatformGroup} or ${targetPlatformGroup-maximun} -->
<tpc.group>${targetPlatformGroup}</tpc.group>
<!-- Is one of "unified" or "multiple" (other values "jenkins" & "local" are deprecated -->
<tpc.targetKind>unified</tpc.targetKind>

<!-- In case no profile fits your requested TP version, directly override this property -->
<TARGET_PLATFORM_VERSION>4.30.5.Alpha</TARGET_PLATFORM_VERSION>
<!-- default value for the "maximum" profile -->
<TARGET_PLATFORM_VERSION-maximum>4.30.5.Alpha</TARGET_PLATFORM_VERSION-maximum>

<tpc.version>${TARGET_PLATFORM_VERSION}</tpc.version>
</properties>

<build>
Expand Down Expand Up @@ -507,9 +515,9 @@
<configuration>
<target>
<artifact>
<groupId>org.jboss.tools.targetplatforms</groupId>
<groupId>${tpc.groupId}</groupId>
<artifactId>${tpc.group}-${tpc.targetKind}</artifactId>
<version>${TARGET_PLATFORM_VERSION}</version>
<version>${tpc.version}</version>
<classifier>${tpc.group}-${tpc.targetKind}</classifier>
</artifact>
</target>
Expand Down Expand Up @@ -540,7 +548,7 @@
<profile>
<id>maximum</id>
<properties>
<TARGET_PLATFORM_VERSION>${TARGET_PLATFORM_VERSION-maximum}</TARGET_PLATFORM_VERSION>
<tpc.version>${TARGET_PLATFORM_VERSION_MAXIMUM}</tpc.version>
</properties>
</profile>

Expand Down

0 comments on commit e60a24d

Please sign in to comment.