Skip to content

Commit c0f4d58

Browse files
Move POM file does not exist msg to info level.
This was surfaced by the test app being introduced in #380
1 parent 242a005 commit c0f4d58

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin

oss-licenses-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ import java.util.zip.ZipFile
3737
/**
3838
* Task to extract and bundle license information from application dependencies.
3939
*
40-
* This task is compatible with Gradle's Configuration Cache. All necessary file
41-
* mappings (POMs and Library artifacts) are provided as lazy input properties,
40+
* This task is compatible with Gradle's Configuration Cache. All necessary file
41+
* mappings (POMs and Library artifacts) are provided as lazy input properties,
4242
* making the task a pure function of its inputs.
4343
*/
4444
@CacheableTask
@@ -263,7 +263,7 @@ abstract class LicensesTask extends DefaultTask {
263263

264264
protected void addLicensesFromPom(File pomFile, String group, String name) {
265265
if (pomFile == null || !pomFile.exists()) {
266-
logger.error("POM file $pomFile for $group:$name does not exist.")
266+
logger.info("POM file $pomFile for $group:$name does not exist. This is expected for some libraries from androidx and org.jetbrains")
267267
return
268268
}
269269

0 commit comments

Comments
 (0)