mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
204 lines
8.4 KiB
XML
204 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright MapStruct Authors.
|
|
|
|
Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
-->
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-parent</artifactId>
|
|
<version>1.7.0-SNAPSHOT</version>
|
|
<relativePath>../parent/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>mapstruct-distribution</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>MapStruct Distribution</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
</dependency>
|
|
<!-- Needed here so references to FreeMarker classes can be resolved during JavaDoc generation -->
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
</dependency>
|
|
<!-- Needed here so references to MapStruct Gem classes can be resolved during JavaDoc generation -->
|
|
<dependency>
|
|
<groupId>org.mapstruct.tools.gem</groupId>
|
|
<artifactId>gem-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-freemarker-license</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<outputDirectory>${project.build.directory}/freemarker-unpacked</outputDirectory>
|
|
<includes>META-INF/LICENSE</includes>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>generate-test-resources</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/test-dependencies
|
|
</outputDirectory>
|
|
<stripVersion>true</stripVersion>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<sourcepath>
|
|
${basedir}/../core/src/main/java;
|
|
${basedir}/../processor/src/main/java
|
|
</sourcepath>
|
|
<links>
|
|
<link>https://docs.oracle.com/javase/8/docs/api/</link>
|
|
</links>
|
|
<packagesheader>MapStruct Packages</packagesheader>
|
|
<doctitle>MapStruct ${project.version}</doctitle>
|
|
<windowtitle>MapStruct ${project.version}</windowtitle>
|
|
<bottom>
|
|
<![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="https://mapstruct.org/">MapStruct Authors</a>; All rights reserved. Released under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache Software License 2.0</a>.]]>
|
|
</bottom>
|
|
|
|
<groups>
|
|
<group>
|
|
<title>MapStruct API</title>
|
|
<packages>org.mapstruct*</packages>
|
|
</group>
|
|
<group>
|
|
<title>MapStruct Processor SPI</title>
|
|
<packages>org.mapstruct.ap.spi*</packages>
|
|
</group>
|
|
<group>
|
|
<title>MapStruct Processor</title>
|
|
<packages>org.mapstruct.ap*</packages>
|
|
</group>
|
|
</groups>
|
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
<charset>UTF-8</charset>
|
|
<encoding>UTF-8</encoding>
|
|
<docencoding>UTF-8</docencoding>
|
|
<breakiterator>true</breakiterator>
|
|
<version>true</version>
|
|
<author>true</author>
|
|
<keywords>true</keywords>
|
|
|
|
<!--
|
|
There is a bug in JDK 11 (https://bugs.openjdk.java.net/browse/JDK-8215291) which doesn't work correctly when searching and adds undefined.
|
|
It has been fixed since JDK 12, but not yet backported to JDK 11 (https://bugs.openjdk.java.net/browse/JDK-8244171).
|
|
One workaround is https://stackoverflow.com/a/57284322/1115491.
|
|
-->
|
|
<bottom>
|
|
<![CDATA[
|
|
<script>
|
|
if (typeof useModuleDirectories !== 'undefined') {
|
|
useModuleDirectories = false;
|
|
}
|
|
</script>
|
|
]]>
|
|
</bottom>
|
|
<additionalJOption>--allow-script-in-comments</additionalJOption>
|
|
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>aggregate-javadoc</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>javadoc</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>${basedir}/src/main/assembly/dist.xml</descriptor>
|
|
</descriptors>
|
|
<finalName>mapstruct-${project.version}</finalName>
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>jdk-11-or-newer</id>
|
|
<activation>
|
|
<jdk>[11</jdk>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<scope>provided</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|