accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1521) If poms need to be sorted, they just get sorted
Date Tue, 18 Jun 2013 17:26:22 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686988#comment-13686988
] 

Christopher Tubbs commented on ACCUMULO-1521:
---------------------------------------------

We do not want to sort automatically, because sorting creates backup files that could be included
in a tarball or other package during a release, and it also can cause problems with the release
plugin's checks to ensure that there are no outstanding edits prior to building for a release
(you don't want to edit the source tree during a build).

This plugin was only added as a convenience to apply some maven standards to the POM, or organization
that some people were adding manually when they edited the POM. You almost never need to touch
the POM, though, so automatically sorting has the potential to create more problems than it
helps.
                
> If poms need to be sorted, they just get sorted
> -----------------------------------------------
>
>                 Key: ACCUMULO-1521
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1521
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>            Reporter: John Vines
>             Fix For: 1.6.0
>
>
> If the pom is not sorted and you run mvn clean package, it will immediately fail stating
the poms aren't sorted. Rather than making me run mvn clean -Psort, it should just always
run the sort profile.
> Or sorted poms should not be required to package

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

Mime
View raw message