|
|
|
@ -9,6 +9,36 @@ |
|
|
|
|
<packaging>pom</packaging> |
|
|
|
|
<version>${revision}</version> |
|
|
|
|
|
|
|
|
|
<name>mywust</name> |
|
|
|
|
<description>The API encapsulations of WUST's official web service.</description> |
|
|
|
|
<url>https://github.com/LingHangStudio/mywust</url> |
|
|
|
|
|
|
|
|
|
<scm> |
|
|
|
|
<url>https://github.com/LingHangStudio/mywust</url> |
|
|
|
|
<connection>scm:git:https://github.com/LingHangStudio/mywust.git</connection> |
|
|
|
|
<developerConnection>scm:git:https://github.com/LingHangStudio/mywust.git</developerConnection> |
|
|
|
|
<tag>${revision}</tag> |
|
|
|
|
</scm> |
|
|
|
|
|
|
|
|
|
<developers> |
|
|
|
|
<developer> |
|
|
|
|
<id>lensfrex</id> |
|
|
|
|
<name>lensfrex</name> |
|
|
|
|
<email>lensferno@outlook.com</email> |
|
|
|
|
<url>https://github.com/lensferno</url> |
|
|
|
|
<organization>wustlinghang</organization> |
|
|
|
|
<organizationUrl>https://github.com/LingHangStudio</organizationUrl> |
|
|
|
|
<timezone>+8</timezone> |
|
|
|
|
</developer> |
|
|
|
|
</developers> |
|
|
|
|
|
|
|
|
|
<licenses> |
|
|
|
|
<license> |
|
|
|
|
<name>MIT License</name> |
|
|
|
|
<url>https://mit-license.org/</url> |
|
|
|
|
</license> |
|
|
|
|
</licenses> |
|
|
|
|
|
|
|
|
|
<modules> |
|
|
|
|
<module>mywust-core</module> |
|
|
|
|
<module>mywust-common</module> |
|
|
|
@ -36,44 +66,34 @@ |
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source> |
|
|
|
|
<maven.compiler.target>8</maven.compiler.target> |
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
|
|
|
|
|
|
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> |
|
|
|
|
<maven-source-plugin.version>3.3.0</maven-source-plugin.version> |
|
|
|
|
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version> |
|
|
|
|
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> |
|
|
|
|
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version> |
|
|
|
|
|
|
|
|
|
</properties> |
|
|
|
|
|
|
|
|
|
<distributionManagement> |
|
|
|
|
<snapshotRepository> |
|
|
|
|
<id>ossrh</id> |
|
|
|
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
|
|
|
|
</snapshotRepository> |
|
|
|
|
<repository> |
|
|
|
|
<id>github</id> |
|
|
|
|
<name>GitHub LingHangStudio Apache Maven Packages</name> |
|
|
|
|
<url>https://maven.pkg.github.com/LingHangStudio/mywust</url> |
|
|
|
|
<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-source-plugin</artifactId> |
|
|
|
|
<version>3.2.1</version> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>attach-sources</id> |
|
|
|
|
<goals> |
|
|
|
|
<goal>jar</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId> |
|
|
|
|
<version>3.1.0</version> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId> |
|
|
|
|
<version>1.3.0</version> |
|
|
|
|
<version>${flatten-maven-plugin.version}</version> |
|
|
|
|
<configuration> |
|
|
|
|
<flattenMode>ossrh</flattenMode> |
|
|
|
|
</configuration> |
|
|
|
|
<executions> |
|
|
|
|
<!-- enable flattening --> |
|
|
|
@ -96,4 +116,69 @@ |
|
|
|
|
</plugin> |
|
|
|
|
</plugins> |
|
|
|
|
</build> |
|
|
|
|
|
|
|
|
|
<profiles> |
|
|
|
|
<profile> |
|
|
|
|
<id>release</id> |
|
|
|
|
<build> |
|
|
|
|
<plugins> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-source-plugin</artifactId> |
|
|
|
|
<version>${maven-source-plugin.version}</version> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>attach-sources</id> |
|
|
|
|
<phase>package</phase> |
|
|
|
|
<goals> |
|
|
|
|
<goal>jar-no-fork</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId> |
|
|
|
|
<version>${maven-javadoc-plugin.version}</version> |
|
|
|
|
<configuration> |
|
|
|
|
<doclint>none</doclint> |
|
|
|
|
<charset>UTF-8</charset> |
|
|
|
|
<encoding>UTF-8</encoding> |
|
|
|
|
<docencoding>UTF-8</docencoding> |
|
|
|
|
</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>${maven-gpg-plugin.version}</version> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>sign-artifacts</id> |
|
|
|
|
<phase>verify</phase> |
|
|
|
|
<goals> |
|
|
|
|
<goal>sign</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId> |
|
|
|
|
<version>${maven-deploy-plugin.version}</version> |
|
|
|
|
</plugin> |
|
|
|
|
</plugins> |
|
|
|
|
</build> |
|
|
|
|
</profile> |
|
|
|
|
</profiles> |
|
|
|
|
</project> |