Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
Merge pull request #195 from spotify/run-missinglink-on-ci-and-release
Browse files Browse the repository at this point in the history
only run missinglink on CI
  • Loading branch information
danielnorberg authored Dec 3, 2018
2 parents 5a41c92 + ac432c0 commit fd5d331
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
environment:
# Maven heap size
MAVEN_OPTS: -Xmx1024m -Xms1024m
command: mvn -B verify scala:doc-jar -Pcoverage
command: mvn -B verify scala:doc-jar -Pcoverage -Pmissinglink
- run: bash <(curl -s https://codecov.io/bash)

test_jdk10:
Expand All @@ -41,7 +41,7 @@ jobs:
key: v1-deps-jdk10-{{ checksum "pom.xml" }}
paths:
- ~/.m2
- run: mvn -B verify scala:doc-jar
- run: mvn -B verify scala:doc-jar -Pmissinglink

workflows:
version: 2
Expand Down
15 changes: 11 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,6 @@
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>missinglink-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -548,6 +544,17 @@
</plugins>
</build>
</profile>
<profile>
<id>missinglink</id>
<build>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>missinglink-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<distributionManagement>
Expand Down

0 comments on commit fd5d331

Please sign in to comment.