I am using AspectJ Weaver 1.9.9.1 in a project.
Regarding to https://mvnrepository.com/artifact/org.aspectj/aspectjweaver it is published under EPL 2.0, but when scanning the sources I found org\aspectj\apache\bcel\Constants.java
which says:
/* ====================================================================
* The Apache Software License, Version 1.1
[...]
public interface Constants {
As the file Constants.java is part of AspectJ Weaver and not an external dependency, I wonder which of the two license notices is true.
Is the license a library published under the single point of truth for the complete library content, or can each file define its own license? So in consequence: Do I have to scan all the source code for license notices?