jakarta-oro-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.fangjinuo.jakarta-oro</groupId>
<artifactId>jakarta-oro-parent</artifactId>
<version>2.0.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>com.github.fangjinuo.jakarta-oro</groupId>
<artifactId>jakarta-oro-parent</artifactId>
<version>2.0.8</version>
<description>oro regexp : perl5, awk, glob pattern</description>
<packaging>pom</packaging>
<name>jakarta-oro-parent</name>
<modules>
<module>jakarta-oro</module>
<module>ant-jakarta-oro</module>
</modules>
<properties>
<scm.url.github>https://github.com/fangjinuo/jakarta-oro</scm.url.github>
<scm.url.ssh>git@github.com:fangjinuo/jakarta-oro.git</scm.url.ssh>
</properties>
<url>${scm.url.github}</url>
<licenses>
<license>
<name>Apache Version 2.0</name>
<url>${scm.url.github}/LICENSE</url>
</license>
</licenses>
<scm>
<url>${scm.url.ssh}</url>
</scm>
<developers>
<developer>
<name>jinuo.fang</name>
<url>https://github.com/fangjinuo</url>
<email>fs1194361820@163.com</email>
</developer>
</developers>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.fangjinuo.jakarta-oro</groupId>
<artifactId>jakarta-oro</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*</include>
</includes>
</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-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
<debug>true</debug>
</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>
</plugins>
</build>
<profiles>
<profile>
<id>envHome</id>
<properties>
<gpg.executable>D:/Program Files/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://www.gnupg.org/download/ 在windows环境下,选择 gnupg-win32cli-${pgg.version}.exe 下载即可。
下载后使用 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.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype_oss</serverId>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<sslAllowAll>true</sslAllowAll>
<stagingProgressPauseDurationSeconds>5</stagingProgressPauseDurationSeconds>
<stagingProgressTimeoutMinutes>5</stagingProgressTimeoutMinutes>
<detectBuildFailures>false</detectBuildFailures>
</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>
</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>