Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6596940

Browse files
authored
Move to CircleCI V2 (#9)
* DELIVER-591 Move to CircleCI V2* Added suggested plugin
1 parentd6f44f1 commit6596940

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

‎.circleci/config.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version:2
2+
jobs:
3+
build:
4+
working_directory:~/castlabs-java-api
5+
docker:
6+
-image:circleci/openjdk:8-jdk-browsers
7+
steps:
8+
-checkout
9+
-restore_cache:# restore the saved cache after the first run or if `pom.xml` has changed
10+
key:castlabs-java-api-{{ checksum "pom.xml" }}
11+
-run:mvn dependency:go-offline
12+
-save_cache:
13+
paths:
14+
-~/.m2
15+
key:circleci-demo-java-spring-{{ checksum "pom.xml" }}
16+
-run:mvn test

‎pom.xml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@
8888
</execution>
8989
</executions>
9090
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-surefire-plugin</artifactId>
94+
<version>2.22.1</version>
95+
<configuration>
96+
<useSystemClassLoader>false</useSystemClassLoader>
97+
</configuration>
98+
</plugin>
9199
</plugins>
92100
</build>
93101
<dependencies>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp