[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9268) Align versions across poms on each module

Nick Boldt (JIRA) jira-events at lists.jboss.org
Wed Jul 27 13:04:23 EDT 2011


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

Nick Boldt commented on JBIDE-9268:
-----------------------------------

Make sure you bump copyrights to 2011 for all updated plugins/features while you're at it! :) (See also JBDS-1636.)

> Align versions across poms on each module
> -----------------------------------------
>
>                 Key: JBIDE-9268
>                 URL: https://issues.jboss.org/browse/JBIDE-9268
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng, Cleanup
>            Reporter: Max Rydahl Andersen
>            Assignee: Max Rydahl Andersen
>            Priority: Critical
>             Fix For: 3.3.0.M3
>
>
> We recently aligned the pom's within each jboss tools module svn to have "natural parents" meaning the only pom within a module that refers the parent pom is the "root" one.
> i.e. hibernatetools/pom.xml instead of *all* plugins and features inside the module.
> That made updating parent pom's easy, now we should just get the pom versions aligned within the module to allow easy update of versions in that module without manual tweaking of files.
> What this allows is that you can use commands like this:
>  mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=3.4.0-SNAPSHOT
> and tycho will take care of updating all pom/manifest/feature.xml/product defs for that module subdirectory.
> (if the references are *outside* that directory then of course things won't be updated automatically)
> The changes i'm planning will do two things:
> 1) Align all versions within one module (that is needed for the one command version update)
> 2) Remove all redundant <version> references when the parent reference is enough.
> Please note, that if a module owner wish to manage individual plugin versions that is perfectly still doable
> they just need to add the explicit <version> reference and cannot rely on the one command version update 
> to work automatically.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list