Skip to content

Commit d3bed47

Browse files
committed
fix: staging errors (#606)
Co-authored-by: Yalz <[email protected]> (cherry picked from commit 3026450)
1 parent dc4288d commit d3bed47

File tree

2 files changed

+39
-59
lines changed

2 files changed

+39
-59
lines changed

ldi-orchestrator/ldio-connectors/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,6 @@
108108
<build>
109109
<finalName>${project.artifactId}</finalName>
110110
<plugins>
111-
<plugin>
112-
<groupId>org.apache.maven.plugins</groupId>
113-
<artifactId>maven-jar-plugin</artifactId>
114-
<version>${maven-jar-plugin.version}</version>
115-
<executions>
116-
<execution>
117-
<id>default-jar</id>
118-
<phase>none</phase>
119-
</execution>
120-
</executions>
121-
</plugin>
122111
<plugin>
123112
<groupId>org.apache.maven.plugins</groupId>
124113
<artifactId>maven-assembly-plugin</artifactId>

pom.xml

Lines changed: 39 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,44 @@
168168
<tagNameFormat>@{project.version}</tagNameFormat>
169169
</configuration>
170170
</plugin>
171+
<plugin>
172+
<groupId>org.apache.maven.plugins</groupId>
173+
<artifactId>maven-javadoc-plugin</artifactId>
174+
<version>${maven-javadoc-plugin.version}</version>
175+
<executions>
176+
<execution>
177+
<id>attach-javadoc</id>
178+
<goals>
179+
<goal>jar</goal>
180+
</goals>
181+
</execution>
182+
</executions>
183+
</plugin>
184+
<plugin>
185+
<groupId>org.apache.maven.plugins</groupId>
186+
<artifactId>maven-source-plugin</artifactId>
187+
<version>${maven-source-plugin.version}</version>
188+
<executions>
189+
<execution>
190+
<id>attach-source</id>
191+
<goals>
192+
<goal>jar</goal>
193+
</goals>
194+
</execution>
195+
</executions>
196+
</plugin>
197+
198+
<plugin>
199+
<groupId>org.sonatype.plugins</groupId>
200+
<artifactId>nexus-staging-maven-plugin</artifactId>
201+
<version>${nexus-staging-maven-plugin.version}</version>
202+
<extensions>true</extensions>
203+
<configuration>
204+
<serverId>ossrh</serverId>
205+
<nexusUrl>https://s01.oss.sonatype.org</nexusUrl>
206+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
207+
</configuration>
208+
</plugin>
171209
<plugin>
172210
<groupId>org.apache.maven.plugins</groupId>
173211
<artifactId>maven-gpg-plugin</artifactId>
@@ -332,53 +370,6 @@
332370
</plugins>
333371
</build>
334372
</profile>
335-
<profile>
336-
<id>release</id>
337-
<build>
338-
<plugins>
339-
<!-- RELEASE PREP -->
340-
341-
<plugin>
342-
<groupId>org.apache.maven.plugins</groupId>
343-
<artifactId>maven-javadoc-plugin</artifactId>
344-
<version>${maven-javadoc-plugin.version}</version>
345-
<executions>
346-
<execution>
347-
<id>attach-javadoc</id>
348-
<goals>
349-
<goal>jar</goal>
350-
</goals>
351-
</execution>
352-
</executions>
353-
</plugin>
354-
<plugin>
355-
<groupId>org.apache.maven.plugins</groupId>
356-
<artifactId>maven-source-plugin</artifactId>
357-
<version>${maven-source-plugin.version}</version>
358-
<executions>
359-
<execution>
360-
<id>attach-source</id>
361-
<goals>
362-
<goal>jar</goal>
363-
</goals>
364-
</execution>
365-
</executions>
366-
</plugin>
367-
368-
<plugin>
369-
<groupId>org.sonatype.plugins</groupId>
370-
<artifactId>nexus-staging-maven-plugin</artifactId>
371-
<version>${nexus-staging-maven-plugin.version}</version>
372-
<extensions>true</extensions>
373-
<configuration>
374-
<serverId>ossrh</serverId>
375-
<nexusUrl>https://s01.oss.sonatype.org</nexusUrl>
376-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
377-
</configuration>
378-
</plugin>
379-
</plugins>
380-
</build>
381-
</profile>
382373
</profiles>
383374

384375
<scm>
@@ -395,7 +386,7 @@
395386
</snapshotRepository>
396387
<repository>
397388
<id>ossrh</id>
398-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
389+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
399390
</repository>
400391
</distributionManagement>
401392
</project>

0 commit comments

Comments
 (0)