Skip to content

Commit

Permalink
Add LICENSE and NOTICE to release artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Nov 30, 2024
1 parent 6fa41ae commit 79d04fc
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,20 @@ limitations under the License.
</dependencies>

<build>
<resources>
<resource>
<targetPath>META-INF</targetPath>
<filtering>true</filtering>
<directory>${user.dir}</directory>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
Expand Down Expand Up @@ -699,16 +713,11 @@ limitations under the License.
<archive>
<manifestEntries>
<Build-Date>${project.build.outputTimestamp}</Build-Date>
<Build-Version>${project.version}</Build-Version>
<Build-Jdk>${java.version}</Build-Jdk>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 79d04fc

Please sign in to comment.