Skip to content

Commit 2c44cea

Browse files
committed
Next try ...
1 parent 11cbcab commit 2c44cea

2 files changed

Lines changed: 5 additions & 101 deletions

File tree

.github/workflows/publish-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
gpg-passphrase: GPG_PASSPHRASE
2323

2424
- name: Deploy to Maven Central
25-
run: mvn -f PgBulkInsert/pom.xml -s .github/workflows/maven-settings.xml -B deploy -DskipTests
25+
run: mvn -f PgBulkInsert/pom.xml -s .github/workflows/maven-settings.xml -Prelease -DskipTests
2626
env:
2727
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2828
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}

PgBulkInsert/pom.xml

Lines changed: 4 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -41,112 +41,31 @@
4141
</developer>
4242
</developers>
4343

44-
<repositories>
45-
<repository>
46-
<id>central-portal-snapshots</id>
47-
<name>Central Portal Snapshots</name>
48-
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
49-
<releases>
50-
<enabled>false</enabled>
51-
</releases>
52-
<snapshots>
53-
<enabled>true</enabled>
54-
</snapshots>
55-
</repository>
56-
</repositories>
57-
58-
<build>
59-
<plugins>
60-
<!-- release management -->
61-
<plugin>
62-
<groupId>org.apache.maven.plugins</groupId>
63-
<artifactId>maven-release-plugin</artifactId>
64-
<version>3.0.1</version>
65-
<configuration>
66-
<autoVersionSubmodules>true</autoVersionSubmodules>
67-
<useReleaseProfile>false</useReleaseProfile>
68-
<releaseProfiles>release</releaseProfiles>
69-
<goals>deploy</goals>
70-
</configuration>
71-
</plugin>
72-
73-
<plugin>
74-
<groupId>org.apache.maven.plugins</groupId>
75-
<artifactId>maven-site-plugin</artifactId>
76-
<version>3.12.1</version>
77-
</plugin>
78-
79-
<plugin>
80-
<groupId>org.apache.maven.plugins</groupId>
81-
<artifactId>maven-project-info-reports-plugin</artifactId>
82-
<version>3.1.0</version>
83-
</plugin>
84-
85-
<plugin>
86-
<groupId>org.apache.maven.plugins</groupId>
87-
<artifactId>maven-javadoc-plugin</artifactId>
88-
<version>3.2.0</version>
89-
<configuration>
90-
<additionalOptions>-Xdoclint:none</additionalOptions>
91-
</configuration>
92-
</plugin>
93-
94-
<plugin>
95-
<groupId>org.apache.maven.plugins</groupId>
96-
<artifactId>maven-jxr-plugin</artifactId>
97-
<version>3.0.0</version>
98-
</plugin>
99-
</plugins>
100-
</build>
101-
102-
<reporting>
103-
<plugins>
104-
<!-- java doc -->
105-
<plugin>
106-
<groupId>org.apache.maven.plugins</groupId>
107-
<artifactId>maven-javadoc-plugin</artifactId>
108-
<version>3.2.0</version>
109-
<configuration>
110-
<additionalOptions>-Xdoclint:none</additionalOptions>
111-
</configuration>
112-
</plugin>
113-
<plugin>
114-
<groupId>org.apache.maven.plugins</groupId>
115-
<artifactId>maven-jxr-plugin</artifactId>
116-
<version>3.0.0</version>
117-
</plugin>
118-
</plugins>
119-
</reporting>
12044
<properties>
12145
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12246
<postgresql.version>42.7.3</postgresql.version>
12347
<junit.version>4.13.1</junit.version>
12448
</properties>
12549
<profiles>
126-
127-
<!-- Profile for Releases -->
12850
<profile>
12951
<id>release</id>
13052
<build>
13153
<plugins>
132-
<!-- for RELEASES: Central Publishing Plugin -->
13354
<plugin>
13455
<groupId>org.sonatype.central</groupId>
13556
<artifactId>central-publishing-maven-plugin</artifactId>
136-
<version>0.8.0</version>
57+
<version>0.6.0</version>
13758
<extensions>true</extensions>
13859
<configuration>
13960
<publishingServerId>central</publishingServerId>
14061
<autoPublish>true</autoPublish>
141-
<waitUntil>published</waitUntil>
14262
</configuration>
14363
</plugin>
14464

145-
<!-- Source Plugin -->
14665
<plugin>
14766
<groupId>org.apache.maven.plugins</groupId>
14867
<artifactId>maven-source-plugin</artifactId>
149-
<version>3.2.1</version>
68+
<version>3.3.1</version>
15069
<executions>
15170
<execution>
15271
<id>attach-sources</id>
@@ -157,14 +76,10 @@
15776
</executions>
15877
</plugin>
15978

160-
<!-- Javadoc Plugin -->
16179
<plugin>
16280
<groupId>org.apache.maven.plugins</groupId>
16381
<artifactId>maven-javadoc-plugin</artifactId>
164-
<version>3.2.0</version>
165-
<configuration>
166-
<additionalOptions>-Xdoclint:none</additionalOptions>
167-
</configuration>
82+
<version>3.10.1</version>
16883
<executions>
16984
<execution>
17085
<id>attach-javadocs</id>
@@ -175,11 +90,10 @@
17590
</executions>
17691
</plugin>
17792

178-
<!-- GPG Signing Plugin -->
17993
<plugin>
18094
<groupId>org.apache.maven.plugins</groupId>
18195
<artifactId>maven-gpg-plugin</artifactId>
182-
<version>3.1.0</version>
96+
<version>3.2.4</version>
18397
<executions>
18498
<execution>
18599
<id>sign-artifacts</id>
@@ -190,16 +104,6 @@
190104
</execution>
191105
</executions>
192106
</plugin>
193-
194-
<plugin>
195-
<!-- Explicitly upgrade deploy plugin to fix error -->
196-
<groupId>org.apache.maven.plugins</groupId>
197-
<artifactId>maven-deploy-plugin</artifactId>
198-
<version>3.1.4</version>
199-
<configuration>
200-
<skip>true</skip>
201-
</configuration>
202-
</plugin>
203107
</plugins>
204108
</build>
205109
</profile>

0 commit comments

Comments
 (0)