Skip to content

Commit

Permalink
fix update
Browse files Browse the repository at this point in the history
  • Loading branch information
xlorne committed Dec 14, 2023
1 parent d9f1180 commit 0243bf8
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 13 deletions.
138 changes: 125 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,32 @@
</dependency>
</dependencies>

<scm>
<connection>scm:git:https://github.com/codingapi/sdk-starter-okx-rest</connection>
<developerConnection>scm:git:https://github.com/codingapi/sdk-starter-okx-rest.git</developerConnection>
<url>https://https://github.com/codingapi/sdk-starter-okx-rest</url>
<tag>v${project.version}</tag>
</scm>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<developers>
<developer>
<name>lorne</name>
<email>[email protected]</email>
<roles>
<role>developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>


<build>
<plugins>
<plugin>
Expand All @@ -66,20 +92,106 @@
<compilerArgument>-Xlint:deprecation</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>


<profiles>

<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>

</profile>

<profile>
<!-- mvn clean deploy -P ossrh -->
<!-- gpg: signing failed: Inappropriate ioctl for device -->
<!-- fix command : export GPG_TTY=$(tty) -->
<!-- https://github.com/keybase/keybase-issues/issues/2798 -->
<id>ossrh</id>

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compile.source}</source>
<target>${maven.compile.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArgument>-Xlint:deprecation</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>


<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</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>
<configuration>
<additionalOptions>
<additionalOption>-Xdoclint:none</additionalOption>
</additionalOptions>
</configuration>
</plugin>


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>
</profile>
</profiles>


</project>

0 comments on commit 0243bf8

Please sign in to comment.