Skip to content

Commit

Permalink
publishing artifacts on github via .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
culmat committed Oct 27, 2014
1 parent 0740f46 commit cb398e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 34 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: java
before_script:
- git config --global user.name baopso
- git config --global user.email [email protected]
script: mvn clean package site
deploy:
provider: releases
api-key: "b0be1546ac1b924289b89b9c77241177cbc6c596"
file: "target/dashboard-plus-1.1.0.jar"
skip_cleanup: true
on:
tags: true
all_branches: true
30 changes: 0 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,36 +90,6 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<generateProjectInfo>false</generateProjectInfo>
<generateReports>false</generateReports>
<generateSitemap>false</generateSitemap>
<generatedSiteDirectory>false</generatedSiteDirectory>
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.10</version>
<configuration>
<oauth2Token>b0be1546ac1b924289b89b9c77241177cbc6c596</oauth2Token>
<repositoryOwner>baloise</repositoryOwner>
<repositoryName>dashboard-plus</repositoryName>
<message>Releasing plugin jar for ${project.version}</message>
<path>dashboard-plus-${project.version}.jar</path>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit cb398e2

Please sign in to comment.