settings.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
  3. <servers>
  4. <server>
  5. <id>sonatype-nexus-snapshots</id>
  6. <username>${env.SONATYPE_USER}</username>
  7. <password>${env.SONATYPE_PASSWORD}</password>
  8. </server>
  9. <server>
  10. <id>sonatype-nexus-staging</id>
  11. <username>${env.SONATYPE_USER}</username>
  12. <password>${env.SONATYPE_PASSWORD}</password>
  13. </server>
  14. </servers>
  15. <profiles>
  16. <profile>
  17. <id>ci</id>
  18. <repositories>
  19. <repository>
  20. <id>sonatype-staging</id>
  21. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  22. <layout>default</layout>
  23. <releases>
  24. <enabled>true</enabled>
  25. </releases>
  26. </repository>
  27. </repositories>
  28. </profile>
  29. <profile>
  30. <id>signing</id>
  31. <properties>
  32. <gpg.executable>gpg</gpg.executable>
  33. <gpg.keyname>${env.GPG_KEY_NAME}</gpg.keyname>
  34. <gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
  35. </properties>
  36. </profile>
  37. </profiles>
  38. <activeProfiles>
  39. <activeProfile>ci</activeProfile>
  40. <activeProfile>signing</activeProfile>
  41. </activeProfiles>
  42. </settings>