Hannah-Jiang commented on a change in pull request #11243: [BEAM-9136]Add
licenses for dependencies for Java
URL: https://github.com/apache/beam/pull/11243#discussion_r406502326
##########
File path: sdks/java/container/build.gradle
##########
@@ -16,7 +16,11 @@
* limitations under the License.
*/
-plugins { id 'org.apache.beam.module' }
+plugins {
+ id 'org.apache.beam.module'
+ id 'com.github.jk1.dependency-license-report' version '1.13'
Review comment:
If I understand it correctly, dependencies without licenses/notice included
in jar are *considered* as the missing dependencies at first. However, the
reality is dependency scan is correct, it only missing licenses.
`com.github.jk1.dependency-license-report` generates `index.json` file as well,
which provides a list of all dependencies. I used this file to go through all
dependencies and pull licenses/notices if they are not pulled automatically.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services