This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch release-artifact in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit 23a791fd9ee46c4d42f905be390d7ed589cbae8a Author: Bertil Chapuis <[email protected]> AuthorDate: Sat Nov 30 22:27:52 2024 +0100 Add LICENSE and NOTICE to release artifact --- pom.xml | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/pom.xml b/pom.xml index 0843959c7..a307c632c 100644 --- a/pom.xml +++ b/pom.xml @@ -625,7 +625,35 @@ limitations under the License. </dependencies> <build> + <resources> + <resource> + <directory>${user.dir}</directory> + <targetPath>META-INF</targetPath> + <filtering>true</filtering> + <includes> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </resource> + <resource> + <directory>${project.basedir}/src/main/resources</directory> + </resource> + </resources> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${version.plugin.maven-jar-plugin}</version> + <configuration> + <archive> + <manifestEntries> + <Build-Date>${project.build.outputTimestamp}</Build-Date> + <Build-Version>${project.version}</Build-Version> + <Build-Jdk>${java.version}</Build-Jdk> + </manifestEntries> + </archive> + </configuration> + </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> @@ -691,25 +719,6 @@ limitations under the License. <artifactId>maven-failsafe-plugin</artifactId> <version>${version.plugin.maven-surefire-plugin}</version> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>${version.plugin.maven-jar-plugin}</version> - <configuration> - <archive> - <manifestEntries> - <Build-Date>${project.build.outputTimestamp}</Build-Date> - </manifestEntries> - </archive> - </configuration> - <executions> - <execution> - <goals> - <goal>test-jar</goal> - </goals> - </execution> - </executions> - </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
