pom.xml
the target repository where Maven should upload artifact.
Let's say we want to deploy artifact to the releases
repository:<distributionManagement>
<repository>
<id>my-domain-repository</id>
<url>http://repo.my-domain.com/releases</url>
</repository>
</distributionManagement>
<settings>
<servers>
<server>
<!-- Id has to match the id provided in pom.xml -->
<id>my-domain-repository</id>
<username>{token}</username>
<password>{secret}</password>
</server>
</servers>
</settings>
$ mvn deploy
Did you find misleading or deprecated content? Maybe you just feel this section misses important elements?
Copyright © 2023 dzikoysk with ❤ panda-lang