damccorm commented on PR #22806:
URL: https://github.com/apache/beam/pull/22806#issuecomment-1230342760
@perkss looks like this is causing pulling licenses to fail with:
```
09:12:04 > Task :sdks:java:container:pullLicenses
09:12:04 ERROR:root:['jackson-bom-2.13.3']
09:12:04 ERROR:root:**************************************** Licenses were
not able to be pulled automatically for some dependencies. Please search source
code of the dependencies on the internet and add "license" and "notice" (if
available) field to
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_PVR_Flink_Docker_Commit/src/sdks/java/container/license_scripts/dep_urls_java.yaml
for each missing license. Dependency List: [jackson-bom-2.13.3]
09:12:04 INFO:root:pull_licenses_java.py failed. It took 7.957456 seconds
with 16 threads.
09:12:04 Traceback (most recent call last):
09:12:04 File
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_PVR_Flink_Docker_Commit/src/sdks/java/container/license_scripts/pull_licenses_java.py",
line 326, in <module>
09:12:04 raise RuntimeError('{n} error(s)
occurred.'.format(n=len(error_msg)),
09:12:04 RuntimeError: ('2 error(s) occurred.',
['**************************************** Licenses were not able to be pulled
automatically for some dependencies. Please search source code of the
dependencies on the internet and add "license" and "notice" (if available)
field to
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_PVR_Flink_Docker_Commit/src/sdks/java/container/license_scripts/dep_urls_java.yaml
for each missing license. Dependency List: [jackson-bom-2.13.3]',
'**************************************** License type of some dependencies
were not identified. The license type is used to decide whether the source code
of the dependency should be pulled or not. Please add "type" field to
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_PVR_Flink_Docker_Commit/src/sdks/java/container/license_scripts/dep_urls_java.yaml
for each dependency. Dependency List: [jackson-bom-2.13.3]'])
```
Could you take a look? Looks like we should just need to add a type field
here -
https://github.com/apache/beam/blob/e9089dd99630d939f0c38fbacbe97a283e429fc2/sdks/java/container/license_scripts/dep_urls_java.yaml#L56
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]