mmc-juc
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.vipjoey</groupId> <artifactId>mmc-juc</artifactId> <version>1.1</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.vipjoey</groupId> <artifactId>mmc-juc</artifactId> <version>1.1</version> <packaging>jar</packaging> <name>mmc-juc</name> <description> Leveraging AI large models, the multi-threaded library encapsulated based on ForkJoinPool is particularly suitable for single long-task scenarios, such as traversing DB and other retrieval tasks. It also supports batch processing of small tasks, such as batch processing of Kafka messages, and is ready to use out of the box. </description> <properties> <java.version>1.8</java.version> <projectUrl>https://github.com/VIPJoey/mmc-juc.git</projectUrl> <serverId>ossrh</serverId> </properties> <developers> <developer> <name>VIPJoey</name> <email>mmcorz@gmail.com</email> <url>${projectUrl}</url> </developer> </developers> <!--以下部分内容不需要修改,直接复制咱贴即可--> <url>${projectUrl}</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo,manual</distribution> </license> </licenses> <scm> <!-- 采用projectUrl变量代替这个值,方便给重复利用这个配置,也就是上面的标签替换一下值就行 --> <connection>${projectUrl}</connection> <developerConnection>${projectUrl}</developerConnection> <url>${projectUrl}</url> </scm> <distributionManagement> <snapshotRepository> <!--这个id和settings.xml中servers.server.id要相同,因为上传jar需要登录才有权限--> <id>${serverId}</id> <name>OSS Snapshots Repository</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <!--这个id和settings.xml中servers.server.id要相同,因为上传jar需要登录才有权限--> <id>${serverId}</id> <name>OSS Staging Repository</name> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.28</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>RELEASE</version> <scope>test</scope> </dependency> </dependencies> <build> <finalName>mmc-juc</finalName> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>META-INF/*</include> </includes> </resource> </resources> <plugins> <!-- 编译插件,设置源码以及编译的jdk版本 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>8</source> <target>8</target> </configuration> </plugin> <!--打包源码的插件--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc 文档生成插件--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <!-- 忽略生成文档中的错误 --> <additionalparam>-Xdoclint:none</additionalparam> <aggregate>true</aggregate> <charset>UTF-8</charset><!-- utf-8读取文件 --> <encoding>UTF-8</encoding><!-- utf-8进行编码代码 --> <docencoding>UTF-8</docencoding><!-- utf-8进行编码文档 --> </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.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!--部署插件--> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>${serverId}</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </project>