Currently, because Kepler 4.3.0.Final is not yet released, I have set
both min and max to the same value in both the 4.1.0.Alpha1 (stable
branch) and 4.1.0.Alpha2 (master branch) parent poms:
<!-- In case no profile fits your requested TP version,
directly override this property -->
<TARGET_PLATFORM_VERSION>4.30.3.Alpha1-SNAPSHOT</TARGET_PLATFORM_VERSION>
<!-- default value for the "maximum" profile: TODO:
switch to M6 bits (4.30.3.Alpha1) -->
<TARGET_PLATFORM_VERSION-maximum>4.30.3.Alpha1-SNAPSHOT</TARGET_PLATFORM_VERSION-maximum>
Once 4.3.0.Final (Kepler R) is released in June, we will start to have a
valid "maximum" target platform as well, based on maintenance builds
that will eventually become Kepler SR1 or SR2.
Also, there is no "-Pminimum" profile, because that's the default
operation. The profile "-Pmaximum" is a convenience method to selects
the default maximum so you don't have to set it explicitly with
-DTARGET_PLATFORM_VERSION=4.some.future.release-SNAPSHOT
--
Note too that the latest Kepler target platform is now version
4.30.3.Alpha1-SNAPSHOT (not .2) because we had to update to use Eclipse
4.3M5a bits, newer BIRT, WTP, and the overall Kepler release.
N
On 02/11/2013 01:45 AM, Mickael Istria wrote:
On 02/08/2013 10:54 PM, Nick Boldt wrote:
> Your build log will state which version of .target file is being fetched
> from Nexus. That version will map 1:1 to a folder on
download.jboss.org.
>
> For example:
>
> > Downloading:
>
https://repository.jboss.org/nexus/content/groups/developer/org/jboss/too...
>
> Maps to this target platform:
>
>
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.3...
>
> Should you need to build against a different target platform than the
> versions stated in the parent pom, you can override with this:
>
> > mvn verify -DTARGET_PLATFORM_VERSION=4.21.4.Final-SNAPSHOT
By the way, we do maintain a "maximum" and "minimum" profiles for
you
which define the version of target-platfrom we support. Instead of using
the -DTARGET_PLATFORM_VERSION and choosing a version of the TP, you
should use "-Pmaximum" or "-Pminimum" which will set you the right
version of supported Target Platfroms for this build.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <
http://www.jboss.org/tools>
My blog <
http://mickaelistria.wordpress.com> - My Tweets
<
http://twitter.com/mickaelistria>
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com