OSDir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] brooklyn-server pull request #961: Add .m2 folder in the list of ignore fold...


Github user tbouron commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/961#discussion_r185490511
  
    --- Diff: parent/pom.xml ---
    @@ -1104,6 +1104,8 @@
                           https://brooklyn.incubator.apache.org
                       -->
                       <exclude>docs/**</exclude>
    +                  <!-- maven cache -->
    +                  <exclude>**/.m2/**</exclude>
    --- End diff --
    
    When building using docker on Apache Jenkins, using the global m2 cache caused permission issues. I raised a ticket to INFRA and they told me that we should instead use a local m2 cache (https://issues.apache.org/jira/browse/INFRA-16417?focusedCommentId=16452458&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16452458)
    
    I update the Jenkins config to do that but now, the RAT plugin complains because the file don't have the Apache licence header, hence this change


---