creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-193) Take advantage of inheritance from ASF parent version 16
Date Sat, 07 Feb 2015 15:43:34 GMT

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

Karl Heinz Marbaise commented on RAT-193:
-----------------------------------------

Ah sorry. was a little bit unclear.
The parent which is used is version 16 which will not change so all the plugins have been
defined by the [pluginManagement|http://svn.apache.org/viewvc/maven/pom/tags/apache-16/pom.xml?view=markup]
block in the parent. If you don't change the parent the plugins will be kept with their appropriate
versions. So you don't need to redefine plugins with their versions.

You can of course override the plugin versions in the child with different versions. This
can be achieved by using a pluginManagement block as well or directly given in the build section.


Using the parent usually reduces the size of the pom.



> Take advantage of inheritance from ASF parent version 16
> --------------------------------------------------------
>
>                 Key: RAT-193
>                 URL: https://issues.apache.org/jira/browse/RAT-193
>             Project: Apache Rat
>          Issue Type: Improvement
>    Affects Versions: 0.12
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 0.12
>
>         Attachments: RAT-193.patch
>
>
> Take into account the properties which are inherited from parent. Use the defaults of
the plugins instead of explicitly defining them. Use the plugin versions which are defined
in the parent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message