ebay-edis-java-sdk
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.jieny</groupId> <artifactId>ebay-edis-java-sdk</artifactId> <version>5.5.9</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.jieny</groupId> <artifactId>ebay-edis-java-sdk</artifactId> <version>5.5.9</version> <packaging>jar</packaging> <!-- 错误 Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @7c8d5312 --> <!-- 原因 由于自jdk9之后,Jdk采用模块化改造,同时限定了对未命名模块间的部分API访问权限 参考官方文档: https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-12F945EB-71D6-46AF-8C3D-D354FD0B1781 针对于本项目添加上 README.md 里的内容 maven 生命周期 deploy 右键 修改运行配置... 修改选项(M) 添加虚拟机选项 拉到最下 点展开 右键 运行'ebay-edis-java-sdk [...'(U) Ctrl+Shift+F10 --> <!-- A common and acceptable practice for name is to assemble it from the coordinates using Maven properties --> <name>${project.groupId}:${project.artifactId}</name> <description>edis sdk</description> <url>https://github.com/jieny/ebay-edis-java-sdk</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <scm> <url>${project.url}</url> <connection>${project.url}.git</connection> </scm> <developers> <developer> <name>jieny</name> <email>576420147@qq.com</email> <organization>personal developer</organization> <organizationUrl>https://github.com/jieny</organizationUrl> </developer> </developers> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>17</java.version> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> </properties> <dependencies> <!-- 先执行命令安装jar到本地,【mvn install:install-file -Dfile="eis-platform-java-sdk-jar-3.5.7.jar" -DgroupId=localhost -DartifactId=ebay-edis-java -Dversion="5.5.8" -Dpackaging=jar】 --> <dependency> <groupId>localhost</groupId> <artifactId>ebay-edis-java</artifactId> <version>5.5.8</version> <optional>true</optional> </dependency> </dependencies> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.5.5</version> <configuration> <appendAssemblyId>false</appendAssemblyId> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>assembly</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>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </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> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <!-- jdk1.8要加上,1.7要去掉,否则会报错 --> <additionalJOptions> <additionalJOption>-Xdoclint:none</additionalJOption> </additionalJOptions> </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> </plugins> </build> </project>