Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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