|
115 | 115 | <scope>test</scope> |
116 | 116 | </dependency> |
117 | 117 | </dependencies> |
| 118 | + <profiles> |
| 119 | + <profile> |
| 120 | + <id>integration-tests</id> |
| 121 | + <activation> |
| 122 | + <activeByDefault>true</activeByDefault> |
| 123 | + </activation> |
| 124 | + <build> |
| 125 | + <plugins> |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 129 | + <version>3.5.2</version> |
| 130 | + <configuration> |
| 131 | + <forkCount>10</forkCount> |
| 132 | + <reuseForks>false</reuseForks> |
| 133 | + <systemPropertyVariables> |
| 134 | + <spanner.test.instance>java-sample-integration-tests</spanner.test.instance> |
| 135 | + <spanner.test.instance.mr>java-client-mr-integration-tests</spanner.test.instance.mr> |
| 136 | + <spanner.test.instance.config>nam11</spanner.test.instance.config> |
| 137 | + <spanner.test.key.location>us-east1</spanner.test.key.location> |
| 138 | + <spanner.test.key.ring>cmek-test-key-ring</spanner.test.key.ring> |
| 139 | + <spanner.test.key.name>cmek-test-key</spanner.test.key.name> |
| 140 | + <spanner.sample.database>mysample</spanner.sample.database> |
| 141 | + <spanner.quickstart.database>quick-db</spanner.quickstart.database> |
| 142 | + </systemPropertyVariables> |
| 143 | + <excludes> |
| 144 | + <exclude>**/SpannerSampleIT.java</exclude> |
| 145 | + </excludes> |
| 146 | + </configuration> |
| 147 | + </plugin> |
| 148 | + </plugins> |
| 149 | + </build> |
| 150 | + </profile> |
| 151 | + <profile> |
| 152 | + <id>slow-tests</id> |
| 153 | + <build> |
| 154 | + <plugins> |
| 155 | + <plugin> |
| 156 | + <groupId>org.apache.maven.plugins</groupId> |
| 157 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 158 | + <version>3.5.2</version> |
| 159 | + <configuration> |
| 160 | + <forkCount>10</forkCount> |
| 161 | + <reuseForks>false</reuseForks> |
| 162 | + <systemPropertyVariables> |
| 163 | + <spanner.test.instance>java-sample-integration-tests</spanner.test.instance> |
| 164 | + <spanner.test.instance.mr>java-client-mr-integration-tests</spanner.test.instance.mr> |
| 165 | + <spanner.test.instance.config>nam11</spanner.test.instance.config> |
| 166 | + <spanner.test.key.location>us-east1</spanner.test.key.location> |
| 167 | + <spanner.test.key.ring>cmek-test-key-ring</spanner.test.key.ring> |
| 168 | + <spanner.test.key.name>cmek-test-key</spanner.test.key.name> |
| 169 | + <spanner.sample.database>mysample</spanner.sample.database> |
| 170 | + <spanner.quickstart.database>quick-db</spanner.quickstart.database> |
| 171 | + </systemPropertyVariables> |
| 172 | + <includes> |
| 173 | + <include>**/SpannerSampleIT.java</include> |
| 174 | + </includes> |
| 175 | + </configuration> |
| 176 | + </plugin> |
| 177 | + </plugins> |
| 178 | + </build> |
| 179 | + </profile> |
| 180 | + </profiles> |
118 | 181 | <build> |
119 | 182 | <plugins> |
120 | 183 | <plugin> |
|
172 | 235 | </archive> |
173 | 236 | </configuration> |
174 | 237 | </plugin> |
175 | | - <plugin> |
176 | | - <groupId>org.apache.maven.plugins</groupId> |
177 | | - <artifactId>maven-failsafe-plugin</artifactId> |
178 | | - <version>3.5.2</version> |
179 | | - <configuration> |
180 | | - <forkCount>10</forkCount> |
181 | | - <reuseForks>false</reuseForks> |
182 | | - <systemPropertyVariables> |
183 | | - <spanner.test.instance>java-sample-integration-tests</spanner.test.instance> |
184 | | - <spanner.test.instance.mr>java-client-mr-integration-tests</spanner.test.instance.mr> |
185 | | - <spanner.test.instance.config>nam11</spanner.test.instance.config> |
186 | | - <spanner.test.key.location>us-east1</spanner.test.key.location> |
187 | | - <spanner.test.key.ring>cmek-test-key-ring</spanner.test.key.ring> |
188 | | - <spanner.test.key.name>cmek-test-key</spanner.test.key.name> |
189 | | - <spanner.sample.database>mysample</spanner.sample.database> |
190 | | - <spanner.quickstart.database>quick-db</spanner.quickstart.database> |
191 | | - </systemPropertyVariables> |
192 | | - <excludes> |
193 | | - <exclude>**/SpannerSampleIT.java</exclude> |
194 | | - </excludes> |
195 | | - </configuration> |
196 | | - </plugin> |
197 | 238 | <plugin> |
198 | 239 | <groupId>org.apache.maven.plugins</groupId> |
199 | 240 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
0 commit comments