langx
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx</artifactId>
<version>5.5.8</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx</artifactId>
<packaging>pom</packaging>
<version>5.5.8</version>
<name>${project.groupId}:${project.artifactId}:${project.version}</name>
<description>
Java lang extensions, a supplement to , replacement of a Guava, commons-lang, hutool
</description>
<properties>
<!--maven build properties-->
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--custom build properties-->
<Automatic-Module-Name>com.jn.langx</Automatic-Module-Name>
<!-- dependency versions -->
<aspectj.version>1.6.0</aspectj.version>
<asm.version>5.0</asm.version>
<slf4j.version>1.7.36</slf4j.version>
<bouncycastle.version>1.70</bouncycastle.version>
<jmh.version>1.23</jmh.version>
<junit.version>4.13.1</junit.version>
<junsafe.version>1.0.0</junsafe.version>
</properties>
<url>https://github.com/bes2008/langx-java</url>
<developers>
<developer>
<id>bes2008</id>
<name>bes2008</name>
</developer>
</developers>
<distributionManagement>
<!--
<snapshotRepository>
<id>sonatype_oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype_oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
-->
<snapshotRepository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<scm>
<tag>${project.version}</tag>
<url>https://github.com/bes2008/langx-java.git</url>
<connection>https://github.com/bes2008/langx-java.git</connection>
<developerConnection>https://github.com/bes2008/langx-java.git</developerConnection>
</scm>
<licenses>
<license>
<name>Apache2.0</name>
<url>https://github.com/bes2008/langx-java/blob/master/LICENSE</url>
<distribution>manual</distribution>
</license>
</licenses>
<modules>
<module>langx-java</module>
<module>langx-java8</module>
<module>langx-java-reflect-aspectj</module>
<module>langx-java-reflect-asm</module>
<module>langx-java-security-gm</module>
<module>langx-java-regexp-joni</module>
<module>langx-java-pinyin</module>
<module>langx-java-el</module>
<module>langx-java-all</module>
<module>langx-java-bom</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java8</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-reflect-aspectj</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-reflect-asm</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-distributed</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-el</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-fastdateformat</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-pinyin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java8tojava6</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx</groupId>
<artifactId>langx-java-regexp-joni</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx.security</groupId>
<artifactId>langx-java-security-gm-jca-bouncycastle</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.bes2008.solution.langx.security</groupId>
<artifactId>langx-java-security-gm-jca-jsse</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>huawei</id>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
<name>huawei</name>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>central</id>
<name>central</name>
<url>https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>bedatadriven</id>
<name>bedatadriven public repo</name>
<url>https://nexus.bedatadriven.com/content/groups/public/</url>
</repository>
</repositories>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.png</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*</include>
</includes>
</testResource>
<testResource>
<directory>${basedir}/src/test/java/com/jn/langx/test/io/resource</directory>
<includes>
<include>*.jar</include>
</includes>
<targetPath>${project.build.testOutputDirectory}/com/jn/langx/test/io/resource</targetPath>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<includes>
<include>**/*Test*.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.11.0.3922</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>envHome</id>
<properties>
<gpg.executable>D:/Program Files (x86)/GNU/GnuPG/gpg2.exe</gpg.executable>
<!--
<gpg.executable>D:/Program Files (x86)/GnuPG/bin/gpg</gpg.executable>
-->
<gpg.homedir>C:/Users/Administrator/AppData/Roaming/gnupg</gpg.homedir>
<!--
<gpg.passphrase>YOUR GPG PASSPHRASE</gpg.passphrase>
可以这样配置在pom.xml文件中,也可以在执行mvn 命令时,加上-Dgpg.passphrase=YOUR_GPG_PASSPHRASE
-->
</properties>
</profile>
<profile>
<id>envCompany</id>
<properties>
<gpg.executable>D:/Program Files (x86)/GNU/GnuPG/gpg2.exe</gpg.executable>
<gpg.homedir>C:/Users/Administrator/AppData/Roaming/gnupg</gpg.homedir>
<!--
<gpg.passphrase>YOUR GPG PASSPHRASE</gpg.passphrase>
可以这样配置在pom.xml文件中,也可以在执行mvn 命令时,加上-Dgpg.passphrase=YOUR_GPG_PASSPHRASE
gpg 下载地址:https://files.gpg4win.org/ 在windows环境下,选择 2.3.4版本 下载即可。
下载后使用 gpg2来创建 gpg 密钥对
-->
</properties>
</profile>
<profile>
<id>deploy</id>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<deploymentName>langx-java-${project.version}</deploymentName>
<failOnBuildFailure>true</failOnBuildFailure>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.10.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<pushChanges>false</pushChanges>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.10.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<aggregate>true</aggregate>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<additionalparam>-Xdoclint:none</additionalparam>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>