Skip to content

Commit

Permalink
Added bintray config to maven settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo.rodriguez.mier authored and michaelhaaf committed Dec 2, 2015
1 parent 0ad8aa5 commit e77f027
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 47 deletions.
35 changes: 29 additions & 6 deletions .config/maven-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,40 @@

<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>
<!-- Internal organization repository for snapshots -->
<server>
<id>citius-nexus-snapshots</id>
<username>${env.NEXUS_SNAPSHOT_USERNAME}</username>
<password>${env.NEXUS_SNAPSHOT_PASSWORD}</password>
</server>
<!-- Sonatype Maven repository for snapshots -->
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.SONATYPE_SNAPSHOT_USERNAME}</username>
<password>${env.SONATYPE_SNAPSHOT_PASSWORD}</password>
</server>
</servers>

<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-hipster4j-maven</id>
<name>bintray</name>
<url>http://dl.bintray.com/hipster4j/maven</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-hipster4j-maven</id>
<name>bintray-plugins</name>
<url>http://dl.bintray.com/hipster4j/maven</url>
</pluginRepository>
</pluginRepositories>
<id>bintray</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>bintray</activeProfile>
</activeProfiles>
</settings>
41 changes: 0 additions & 41 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,38 +151,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<dependencies>
<dependency>
<groupId>lt.velykis.maven.skins</groupId>
<artifactId>reflow-velocity-tools</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<!-- Reflow skin requires velocity 1.7 -->
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
<!--
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.6</version>
</dependency>
-->
<dependency>
<groupId>net.ju-n.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.0.0</version>
</dependency>


</dependencies>
<configuration>
<generateReports>true</generateReports>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<!-- Site deployment done using GitHub site plugin -->
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
Expand Down Expand Up @@ -307,18 +279,5 @@
</plugins>
</reporting>

<profiles>
<profile>
<id>citius-snapshot-deploy</id>
<!-- Deployment to the internal nexus server -->
<distributionManagement>
<snapshotRepository>
<id>citius-nexus-snapshots</id>
<name>Internal Snapshots</name>
<url>http://tec.citius.usc.es/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>

</project>

0 comments on commit e77f027

Please sign in to comment.