Skip to content

Commit

Permalink
Clean up and trying to get the deployment to central to run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Cory authored and Matthew Cory committed Apr 16, 2016
1 parent 14ccf35 commit e473e67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 66 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
@@ -1,11 +1,11 @@
language: java
sudo: false
jdk:
- oraclejdk8
install:
- mvn --settings .travis/settings.xml install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
before_install:
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust

deploy:
-
provider: script
Expand All @@ -14,13 +14,14 @@ deploy:
on:
repo: SlothLabs/kotlin-mail
branch: master
jdk: oraclejdk8
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: SlothLabs/kotlin-mail
tags: true

jdk: oraclejdk8
after_success:
- bash <(curl -s https://codecov.io/bash)
63 changes: 0 additions & 63 deletions pom.xml
Expand Up @@ -211,8 +211,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<configuration>
</configuration>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -260,66 +258,5 @@
</configuration>
</plugin>
</plugins>

</build>

<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-extras</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit e473e67

Please sign in to comment.