Skip to content

Bintray Maven settings

Roman Ivanov edited this page Nov 5, 2019 · 2 revisions

Needed for automated deployment of binaries to Bintray

<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>bintray</id>
	    <username>YourBintrayAccount</username>
	    <password>YourBintrayApiToken</password>
            <!-- Get it here: https://bintray.com/profile/edit (section API Key) -->
	</server>
    </servers>
	  
    <profiles>
        <profile>
	    <id>bintray</id>
            <repositories>
                <repository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>central</id>
                    <name>bintray</name>
                    <url>http://jcenter.bintray.com</url>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>central</id>
                    <name>bintray-plugins</name>
                    <url>http://jcenter.bintray.com</url>
                </pluginRepository>		
            </pluginRepositories>
        </profile>
    </profiles>
</settings>
Clone this wiki locally