Skip to content

Commit 1f0e9c1

Browse files
committed
add basic deploy (disabled)
1 parent e9d1f96 commit 1f0e9c1

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>dev.turan</groupId>
77
<artifactId>requestor</artifactId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>main-SNAPSHOT</version>
99
<name>requestor</name>
1010
<description>Simple wrapper around the standard Java 11 HttpClient because we all write the same boilerplate in every repo.</description>
1111

@@ -85,6 +85,17 @@
8585
</execution>
8686
</executions>
8787
</plugin>
88+
89+
<plugin>
90+
<groupId>org.sonatype.central</groupId>
91+
<artifactId>central-publishing-maven-plugin</artifactId>
92+
<version>0.10.0</version>
93+
<extensions>true</extensions>
94+
<configuration>
95+
<publishingServerId>central</publishingServerId>
96+
<skipPublishing>true</skipPublishing>
97+
</configuration>
98+
</plugin>
8899
</plugins>
89100
</build>
90101
</project>

settings.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
4+
<servers>
5+
<server>
6+
<id>central</id>
7+
<username>${server_username}</username>
8+
<password>${server_password}</password>
9+
</server>
10+
</servers>
11+
</settings>

0 commit comments

Comments
 (0)