Skip to content

Commit 7923d9e

Browse files
committed
exclude jquery-1.7.min.js from source release
This is to workaround an issue, UI misunderstanding, or PEBKAC with the ATR (ASF Trusted Releases) tool wherein I am unable to exclude the license header check for this file. jQuery (and its dependencies) can be used entirely under the MIT, see <https://jquery.com/license/>. Once apache/tooling-trusted-releases#312 ... is resolved we should be able to revert this workaround. While this workaround is in place, consumers of apiLive.htm must: 1. put a copy of jquery-1.7.min.js next to apiLive.htm 2. change apiLive.htm to refer to jquery-1.7.min.js on a CDN If someone needing apiLive.htm prefers the first option, they can grab a copy at https://code.jquery.com/jquery-1.7.min.js . If they prefer the second option, they can pick a minified or unminified link listed at https://blog.jquery.com/2011/11/03/jquery-1-7-released/ and modify line 6 of apiLive.htm to refer to that instead, for example: - <script type="text/javascript" src="jquery-1.7.min.js"></script> + <script type="text/javascript" src="https://code.jquery.com/jquery-1.7.min.js"></script> There are other ways to deal with the license header check as well. For example: We could use 2nd option above (always), or finally/actually port away from apiLive.htm (it is in legacy-docs, after all).
1 parent 927f8dc commit 7923d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fineract-war/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ distributions {
150150
'**/.classpath', '.idea', 'out', '._.DS_Store', '.DS_Store', 'WebContent',
151151
'**/.externalToolbuilders', '.theia', 'LICENSE_RELEASE',
152152
'NOTICE_RELEASE', '**/licenses', '*.class', '**/bin', '*.log', '.dockerignore',
153-
'**/.gitkeep', '*.swp', '.atr-rat-excludes-bin.txt'
153+
'**/.gitkeep', '*.swp', '.atr-rat-excludes-bin.txt', '**/jquery-1.7.min.js'
154154

155155
// Ensure consistent file paths for caching
156156
eachFile { details ->

0 commit comments

Comments
 (0)