Skip to content

Commit 9b1f28d

Browse files
cpovirkCompile-Testing Team
authored andcommitted
Include LICENSE in the generated jar under META-INF.
See google/guava#6468 and google/guava#6477. I cowardly did not look into Auto and its many pom.xml files. And I gave up on jimfs when its jar didn't end up containing the license... maybe somehow related to how it has other files autogenerated into `META-INF`?? RELNOTES=n/a PiperOrigin-RevId: 530613491
1 parent 8af10c5 commit 9b1f28d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@
9292
</dependencies>
9393

9494
<build>
95+
<resources>
96+
<resource>
97+
<directory>.</directory>
98+
<includes>
99+
<include>LICENSE.txt</include>
100+
</includes>
101+
<targetPath>META-INF</targetPath>
102+
</resource>
103+
</resources>
95104
<plugins>
96105
<plugin>
97106
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)