Skip to content

Commit

Permalink
adding distributionManagement section to java/pom.xml
Browse files Browse the repository at this point in the history
follow the error in publish workflow:
`failed: repository element was not specified in
the POM inside distributionManagement element`

adding distributionManagement section with snapshotRepository
and repository to java/pom.xml
  • Loading branch information
Annamikhlin authored and yaronkaikov committed Jul 15, 2024
1 parent 4748317 commit 1e1ef87
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@
</profile>
</profiles>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
Expand Down

0 comments on commit 1e1ef87

Please sign in to comment.