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

Jacek Lewandowski commented on CASSANDRA-18618:
-----------------------------------------------

We can also use OWASP check to generate JSON report which include licenses of 
our dependencies, we can for example examine each dependency whether its 
license matches any of defined patterns, currently the distinct list of 
licenses is as follows:
{noformat}
jq -r '.dependencies[] | .license' build/dependency-check-report.json | sort | 
uniq 
Apache-2.0: https://www.apache.org/licenses/LICENSE-2.0.html
Apache-2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
Apache 2: http://www.apache.org/licenses/LICENSE-2.0.txt
Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
Apache Software Licenses: http://www.apache.org/licenses/LICENSE-2.0.txt
BSD 2-Clause License: https://opensource.org/licenses/BSD-2-Clause
BSD-3-Clause: https://asm.ow2.io/license.html
BSD: http://opensource.org/licenses/BSD-3-Clause
BSD licence: http://antlr.org/license.html
BSD License: http://www.opensource.org/licenses/bsd-license.html 
CUP Parser Generator Copyright Notice, License, and Disclaimer: 
http://www2.cs.tum.edu/projects/cup/install.php
Eclipse Public License v1.0: http://www.eclipse.org/org/documents/epl-v10.php
https://www.apache.org/licenses/LICENSE-2.0.txt
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0.html
http://www.apache.org/licenses/LICENSE-2.0.txt
http://www.eclipse.org/legal/epl-v10.html, 
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
ISC: https://opensource.org/licenses/isc-license
LGPL-2.1-or-later: https://www.gnu.org/licenses/old-licenses/lgpl-2.1
MIT License: 
https://raw.githubusercontent.com/eobermuhlner/big-math/master/LICENSE.txt
MIT License: http://www.opensource.org/licenses/mit-license.php
null
Public Domain, per Creative Commons CC0: 
http://creativecommons.org/publicdomain/zero/1.0/
The Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0.txt
The Apache Software License, Version 2.0: 
http://www.apache.org/licenses/LICENSE-2.0
The Apache Software License, Version 2.0: 
http://www.apache.org/licenses/LICENSE-2.0.txt
The Apache Software License, Version 2.0: /LICENSE.txt
The MIT License: http://opensource.org/licenses/MIT
The MIT License (MIT): http://opensource.org/licenses/MIT
{noformat}

> Update tasks configuration to run checks locally when requested
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-18618
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18618
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently CheckStyle and RAT are run with almost every single Ant target, 
> which is annoying as when developing locally. The targets should be clear - 
> "test" - runs the tests, "jar" - builds the project and creates jars, and 
> then we should have a task "check" which runs all the static analysis, that 
> is CheckStyle, RAT and Eclipse-Warnings (or whatever we decide to replace 
> Eclipse-Warnings with).
> Such goal should be include in "artifacts" and we should run it instead of 
> "eclipse-warnings" on CircleCI. This way building, static analysis and 
> testings are clearly separated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to