com4j
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.gitee.l0km</groupId> <artifactId>com4j</artifactId> <version>4.4.0-alpha</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.gitee.l0km</groupId> <artifactId>com4j</artifactId> <name>com4j aggregator</name> <version>4.4.0-alpha</version> <packaging>pom</packaging> <url>https://gitee.com/l0km</url> <description>common java library</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <aocache.version>0.7.0</aocache.version> <aspectj.version>1.9.7</aspectj.version> <!-- surefire 插件 跳过测试 --> <skipTests>true</skipTests> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <executions> <execution> <!--覆盖默认阶段和目标绑定的配置--> <configuration> <!--从 JDK 9 起, 使用 release 替代 source 和 target, 因为后者不能保证代码在使用指定版本的JDK编译, 具体可参考下面两个链接--> <!-- https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html --> <!-- https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html --> <release>7</release> <compileSourceRoots> <compileSourceRoot>${project.basedir}/src/main/java</compileSourceRoot> </compileSourceRoots> </configuration> </execution> <execution> <id>compile-java-9</id> <goals> <goal>compile</goal> </goals> <configuration> <release>9</release> <compileSourceRoots> <compileSourceRoot>${project.basedir}/src/main/java.9</compileSourceRoot> </compileSourceRoots> <multiReleaseOutput>true</multiReleaseOutput> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <configuration> <archive> <manifestEntries> <Multi-Release>true</Multi-Release> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <detectLinks>false</detectLinks> <detectOfflineLinks>false</detectOfflineLinks> <linksource>false</linksource> <detectJavaApiLink>false</detectJavaApiLink> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.1</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> </configuration> </plugin> </plugins> </pluginManagement> </build> <modules> <module>common-base</module> <module>common-cli</module> <module>common-base2</module> <module>common-jmx</module> </modules> <licenses> <license> <name>The 2-Clause BSD License</name> <url>https://gitee.com/l0km/common-java/tree/master/LICENSE</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>guyadong</name> <email>10km0811@sohu.com</email> <url>https://gitee.com/l0km</url> </developer> </developers> <scm> <connection>scm:git:https://gitee.com/l0km/common-java.git</connection> <developerConnection>scm:git:https://gitee.com/l0km/common-java.git</developerConnection> <url>https://gitee.com/l0km/common-java</url> </scm> <profiles> <profile> <id>doclint-java8-disable</id> <!-- 指定profile只在JDK版本大于等于1.8时有效 --> <activation> <jdk>[1.8,)</jdk> <!-- <activeByDefault>false</activeByDefault> --> </activation> <build> <pluginManagement> <plugins> <!--引入javadoc插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> <configuration> <!-- 禁用java 8 的DocLint新特性,以确保当javadoc有编译错误时,也能正常生成javadoc jar包 --> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>only-eclipse</id> <activation> <property> <name>m2e.version</name> </property> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <versionRange>[1.0.0,)</versionRange> <goals> <goal>enforce</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>com.gitee.l0km</groupId> <artifactId> aocache-maven-plugin </artifactId> <versionRange>[0.6.0,)</versionRange> <goals> <goal>compile</goal> <goal>test-compile</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <!-- maven 中央仓库发布 --> <profile> <id>central-release</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <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.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <useAgent>true</useAgent> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> <extensions>true</extensions> <configuration> <publishingServerId>maven-central-release</publishingServerId> <autoPublish>false</autoPublish> <waitUntil>uploaded</waitUntil> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>