Skip to content

Commit 949e9ef

Browse files
committed
HSEARCH-5473 Include license file in the META-INF of published artifacts
(cherry picked from commit 34f7ff9)
1 parent 80c65f0 commit 949e9ef

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,20 @@
502502

503503
<build>
504504
<defaultGoal>install</defaultGoal>
505+
<resources>
506+
<resource>
507+
<!-- The default resource dir: -->
508+
<directory>${project.basedir}/src/main/resources</directory>
509+
</resource>
510+
<resource>
511+
<!-- Extra dir to include the license file: -->
512+
<directory>${rootProject.directory}</directory>
513+
<includes>
514+
<include>LICENSE.txt</include>
515+
</includes>
516+
<targetPath>META-INF</targetPath>
517+
</resource>
518+
</resources>
505519
<pluginManagement>
506520
<plugins>
507521
<!--

0 commit comments

Comments
 (0)