Skip to content

Commit 2f9cde5

Browse files
authored
Add test dependencies to pom.xml (GoogleCloudPlatform#5763)
* Add test dependencies to pom.xml * ignore tests on package
1 parent 45f0e38 commit 2f9cde5

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

appengine-java11/cloudsql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cp ../../../appengine-java11/cloudsql/pom.xml ./
6262

6363
The following command will deploy the application to your Google Cloud project:
6464
```
65-
mvn clean package appengine:deploy
65+
mvn clean package appengine:deploy -DskipTests
6666
```
6767

6868
View your application:

appengine-java11/cloudsql/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,25 @@
8888
<version>5.0.0</version>
8989
<scope>provided</scope>
9090
</dependency>
91+
92+
<dependency>
93+
<groupId>org.mockito</groupId>
94+
<artifactId>mockito-core</artifactId>
95+
<version>3.11.2</version>
96+
<scope>test</scope>
97+
</dependency>
98+
<dependency>
99+
<groupId>junit</groupId>
100+
<artifactId>junit</artifactId>
101+
<version>4.13.2</version>
102+
<scope>test</scope>
103+
</dependency>
104+
<dependency>
105+
<groupId>com.google.truth</groupId>
106+
<artifactId>truth</artifactId>
107+
<version>1.1.3</version>
108+
<scope>test</scope>
109+
</dependency>
91110
</dependencies>
92111

93112
<build>

0 commit comments

Comments
 (0)