Skip to content

Instantly share code, notes, and snippets.

@lcriadof
Created January 20, 2022 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lcriadof/41be81e34f0d37069d02ceee4422f110 to your computer and use it in GitHub Desktop.
Save lcriadof/41be81e34f0d37069d02ceee4422f110 to your computer and use it in GitHub Desktop.
ejemplo de fichero settings.xml para publicar en MAVEN CENTRAL
Este fichero es un ejemplo para publicar en MAVEN CENTRAL
<?xml version="1.0" encoding="UTF-8"?>
<!-- Este fichero contiene acceso y claves, es un fichero que no se puede subir a ningún repositorio, solo es para publicar en MAVEN CENTRAL -->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>ossrh</id>
<username>EL MISMO USUARIO QUE EN JIRA</username>
<password>LA MISMA CLAVE QUE EN JIRA</password>
</server>
</servers>
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>LA FRASE USADA AL GENERAR CLAVES KLEOPATRA/GPG</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment