180 lines
6.7 KiB
XML
180 lines
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2-parent</artifactId>
|
|
<version>2.0.56</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>fastjson2-codegen</artifactId>
|
|
<name>fastjson2-codegen</name>
|
|
<description>fastjson2 codegen</description>
|
|
<packaging>jar</packaging>
|
|
<url>https://github.com/alibaba/fastjson2</url>
|
|
<inceptionYear>2022</inceptionYear>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache 2</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
<comments>A business-friendly OSS license</comments>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<url>https://github.com/alibaba/fastjson2</url>
|
|
<connection>scm:git:https://git@github.com/alibaba/fastjson2.git</connection>
|
|
</scm>
|
|
|
|
<organization>
|
|
<name>Alibaba Group</name>
|
|
<url>https://github.com/alibaba</url>
|
|
</organization>
|
|
<developers>
|
|
<developer>
|
|
<id>wenshao</id>
|
|
<name>wenshao</name>
|
|
<email>shaojin.wensj(at)alibaba-inc.com</email>
|
|
<roles>
|
|
<role>Developer</role>
|
|
<role>Tech Leader</role>
|
|
</roles>
|
|
<timezone>+8</timezone>
|
|
<url>https://github.com/wenshao</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- test libs -->
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>gen-src</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<attach>true</attach>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>jdk1.8</id>
|
|
<activation>
|
|
<jdk>1.8</jdk>
|
|
</activation>
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.sun</groupId>
|
|
<artifactId>tools</artifactId>
|
|
<version>1.6.0</version>
|
|
<scope>system</scope>
|
|
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<compilerArgument>-proc:none</compilerArgument>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>jdk9+</id>
|
|
<activation>
|
|
<jdk>[9,)</jdk>
|
|
</activation>
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<compilerArgument>-proc:none</compilerArgument>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
<fork>true</fork>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadoc</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<show>protected</show>
|
|
<charset>UTF-8</charset>
|
|
<encoding>UTF-8</encoding>
|
|
<docencoding>UTF-8</docencoding>
|
|
<!-- https://maven.apache.org/plugins/maven-javadoc-plugin/examples/exclude-package-names.html -->
|
|
<excludePackageNames>jdk.incubator.vector</excludePackageNames>
|
|
<doclint>all,-missing</doclint>
|
|
<links>
|
|
<link>https://docs.oracle.com/javase/8/docs/api</link>
|
|
</links>
|
|
<additionalJOptions>
|
|
<additionalJOption>-J-Duser.language=en -J-Duser.country=US</additionalJOption>
|
|
</additionalJOptions>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|