[jbosstools-issues] [JBoss JIRA] (JBIDE-12608) Replace local.* properties and profiles by Maven mirroring

Nick Boldt (JIRA) jira-events at lists.jboss.org
Fri Oct 19 16:01:01 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728132#comment-12728132 ] 

Nick Boldt commented on JBIDE-12608:
------------------------------------

I think the reason why trunk is using SR1a and branch is using SR0c is this difference between trunk and branch:

{code}
diff --git a/build/aggregate/pom.xml b/build/aggregate/pom.xml
index b4757d2..521c3d0 100644
--- a/build/aggregate/pom.xml
+++ b/build/aggregate/pom.xml
@@ -11,6 +11,13 @@
        <artifactId>org.jboss.tools.site</artifactId>
        <version>0.0.2-SNAPSHOT</version>
        <packaging>pom</packaging>
+
+       <properties>
+               <!-- override parent pom to build from latest MAXIMUM TP instead of MINIMUM -->
+               <targetPlatformGroup>${targetPlatformGroup-maximum}</targetPlatformGroup>
+               <jbosstools-target-site>${jbosstools-target-site-maximum}</jbosstools-target-site>
+       </properties>
+
        <modules>
                <module>../target-platform</module>
                <module>site</module>
diff --git a/build/parent/pom.xml b/build/parent/pom.xml
index 726fe13..188e80e 100644
--- a/build/parent/pom.xml
+++ b/build/parent/pom.xml
@@ -48,6 +48,7 @@
                <jbosstools-target-site>http://download.jboss.org/jbosstools/updates/juno/SR0c/latest/</jbosstools-target-site>
+               <jbosstools-target-site-maximum>http://download.jboss.org/jbosstools/updates/juno/SR1a/latest/</jbosstools-target-site-maximum>
{code}
                
> Replace local.* properties and profiles by Maven mirroring
> ----------------------------------------------------------
>
>                 Key: JBIDE-12608
>                 URL: https://issues.jboss.org/browse/JBIDE-12608
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: Build/Releng
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Mickael Istria
>            Assignee: Mickael Istria
>             Fix For: 4.0.0.Beta1, 4.0.0.CR1
>
>         Attachments: hudson-settings.xml, hudson-settings.xml, settings.xml_0.png, settings.xml_1.png
>
>
> Currently, we deal with optimization for Jenkins by multiple local.* properties and local.* profiles.
> Those properties and profiles are just used in order to replace repository URL.
> Maven has the concept of mirroring for that, and without adding a profile, we can tell Maven to consume another URL for a given repo. Moreover, Tycho will support mirrors for repo in .target files starting from 0.16.0.
> WE should move to the mirror approach since it keeps things clear and separate issues: pom describe build, mirror allow to override repo without any change.
> Seems like Maven supports having 2 settings.xml files as input (one with -gs and one with -s), so no big difficulty here.

--
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


More information about the jbosstools-issues mailing list