|
42 | 42 | <properties> |
43 | 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
44 | 44 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 45 | + <skipUTs>${skipTests}</skipUTs> |
45 | 46 | </properties> |
46 | 47 |
|
47 | 48 | <scm> |
48 | 49 | <connection>scm:git:https://github.com/firebase/firebase-admin-java.git</connection> |
49 | 50 | < developerConnection>scm:git:ssh:// [email protected]/firebase/firebase-admin-java.git</ developerConnection> |
50 | 51 | <url>http://github.com/firebase/firebase-admin-java</url> |
51 | | - <tag>HEAD</tag> |
52 | | - </scm> |
| 52 | + <tag>HEAD</tag> |
| 53 | + </scm> |
53 | 54 |
|
54 | 55 | <distributionManagement> |
55 | 56 | <snapshotRepository> |
|
80 | 81 | <plugins> |
81 | 82 | <plugin> |
82 | 83 | <!-- Generate API docs using Doclava for the developer site --> |
83 | | - <groupId>org.apache.maven.plugins</groupId> |
84 | 84 | <artifactId>maven-javadoc-plugin</artifactId> |
85 | 85 | <executions> |
86 | 86 | <execution> |
|
137 | 137 | </profile> |
138 | 138 | <profile> |
139 | 139 | <id>release</id> |
| 140 | + <properties> |
| 141 | + <!-- Prevent executing integration tests twice during a release --> |
| 142 | + <skipITs>true</skipITs> |
| 143 | + </properties> |
140 | 144 | <build> |
141 | 145 | <plugins> |
142 | 146 | <plugin> |
143 | | - <!-- Generate API docs using Doclava for the developer site --> |
144 | | - <groupId>org.apache.maven.plugins</groupId> |
145 | 147 | <artifactId>maven-javadoc-plugin</artifactId> |
146 | 148 | <executions> |
147 | 149 | <execution> |
|
167 | 169 | </configuration> |
168 | 170 | </plugin> |
169 | 171 | <plugin> |
170 | | - <groupId>org.apache.maven.plugins</groupId> |
171 | 172 | <artifactId>maven-source-plugin</artifactId> |
172 | 173 | <version>2.2.1</version> |
173 | 174 | <configuration> |
174 | 175 | <excludes> |
| 176 | + <!-- Exclude all files until we go open source --> |
175 | 177 | <exclude>com/**</exclude> |
176 | 178 | </excludes> |
177 | 179 | </configuration> |
|
185 | 187 | </executions> |
186 | 188 | </plugin> |
187 | 189 | <plugin> |
188 | | - <groupId>org.apache.maven.plugins</groupId> |
189 | 190 | <artifactId>maven-gpg-plugin</artifactId> |
190 | 191 | <version>1.5</version> |
191 | 192 | <executions> |
|
243 | 244 | <artifactId>maven-surefire-plugin</artifactId> |
244 | 245 | <version>2.19.1</version> |
245 | 246 | <configuration> |
246 | | - <skipTests>${skip.surefire.tests}</skipTests> |
| 247 | + <skipTests>${skipUTs}</skipTests> |
247 | 248 | </configuration> |
248 | 249 | </plugin> |
249 | 250 | <plugin> |
250 | 251 | <artifactId>maven-failsafe-plugin</artifactId> |
251 | 252 | <version>2.19.1</version> |
252 | | - <configuration> |
253 | | - <includes> |
254 | | - <include>**/*IT.java</include> |
255 | | - </includes> |
256 | | - </configuration> |
257 | 253 | <executions> |
258 | 254 | <execution> |
259 | 255 | <goals> |
|
264 | 260 | </executions> |
265 | 261 | </plugin> |
266 | 262 | <plugin> |
267 | | - <groupId>org.apache.maven.plugins</groupId> |
268 | 263 | <artifactId>maven-javadoc-plugin</artifactId> |
269 | 264 | <version>2.10.4</version> |
270 | 265 | </plugin> |
271 | 266 | <plugin> |
272 | | - <groupId>org.apache.maven.plugins</groupId> |
273 | 267 | <artifactId>maven-release-plugin</artifactId> |
274 | 268 | <version>2.5.3</version> |
275 | 269 | <configuration> |
|
0 commit comments