Compare commits
2 Commits
0b078278f0
...
1f13cdd7bc
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f13cdd7bc | |||
|
|
f38975f633 |
@@ -28,7 +28,7 @@ jobs:
|
|||||||
echo "Running test suite..."
|
echo "Running test suite..."
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
mvn -B -DskipTests clean package -Dhttps.protocols=TLSv1.2 -Djdk.tls.client.protocols=TLSv1.2
|
mvn -B -DskipTests clean package source:jar javadoc:jar
|
||||||
- name: Deploy to Nexus
|
- name: Deploy to Nexus
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||||
<servers>
|
<servers>
|
||||||
<server>
|
<server>
|
||||||
<id>timi_nexus</id>
|
<id>timi-nexus</id>
|
||||||
<username>${{ secrets.NEXUS_USERNAME }}</username>
|
<username>${{ secrets.NEXUS_USERNAME }}</username>
|
||||||
<password>${{ secrets.NEXUS_PASSWORD }}</password>
|
<password>${{ secrets.NEXUS_PASSWORD }}</password>
|
||||||
</server>
|
</server>
|
||||||
@@ -65,7 +65,7 @@ jobs:
|
|||||||
-Djavadoc="$javadoc_jar" \
|
-Djavadoc="$javadoc_jar" \
|
||||||
-DpomFile="./pom.xml" \
|
-DpomFile="./pom.xml" \
|
||||||
-Durl="https://nexus.imyeyu.com/repository/maven-releases/" \
|
-Durl="https://nexus.imyeyu.com/repository/maven-releases/" \
|
||||||
-DrepositoryId="timi_nexus" \
|
-DrepositoryId="timi-nexus" \
|
||||||
-Dhttps.protocols=TLSv1.2 \
|
-Dhttps.protocols=TLSv1.2 \
|
||||||
-Djdk.tls.client.protocols=TLSv1.2
|
-Djdk.tls.client.protocols=TLSv1.2
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|||||||
39
pom.xml
39
pom.xml
@@ -20,21 +20,12 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<version>3.1.4</version>
|
<version>3.1.3</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>3.4.0</version>
|
<version>3.3.1</version>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-sources</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
@@ -58,29 +49,20 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
<artifactId>lombok</artifactId>
|
<artifactId>lombok</artifactId>
|
||||||
<version>1.18.44</version>
|
<version>1.18.36</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>3.12.0</version>
|
<version>3.11.2</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sourcepath>${project.build.directory}/delombok</sourcepath>
|
<sourcepath>${project.build.directory}/delombok</sourcepath>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<charset>UTF-8</charset>
|
<charset>UTF-8</charset>
|
||||||
<docencoding>UTF-8</docencoding>
|
<docencoding>UTF-8</docencoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-javadocs</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
@@ -105,19 +87,6 @@
|
|||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>timi_nexus</id>
|
|
||||||
<url>https://nexus.imyeyu.com/repository/maven-public/</url>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.imyeyu.io</groupId>
|
<groupId>com.imyeyu.io</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user