|
40 | 40 | <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
41 | 41 | </license> |
42 | 42 | </licenses> |
43 | | - <developers> |
44 | | - <developer> |
45 | | - <id>firebase</id> |
46 | | - <name>Firebase</name> |
47 | | - <url>https://firebase.google.com/</url> |
48 | | - <organization>Firebase</organization> |
49 | | - <organizationUrl>https://firebase.google.com/</organizationUrl> |
50 | | - <roles> |
51 | | - <role>architect</role> |
52 | | - <role>developer</role> |
53 | | - </roles> |
54 | | - <timezone>-8</timezone> |
55 | | - </developer> |
56 | | - </developers> |
57 | 43 |
|
58 | 44 | <properties> |
59 | 45 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
60 | 46 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
61 | | - <skipUTs>${skipTests}</skipUTs> |
62 | 47 | <netty.version>4.1.37.Final</netty.version> |
63 | 48 | </properties> |
64 | 49 |
|
65 | 50 | <scm> |
66 | | - <connection>scm:git:https://github.com/firebase/firebase-admin-java.git</connection> |
67 | | - <developerConnection>scm:git:ssh://git@github.com/firebase/firebase-admin-java.git</developerConnection> |
68 | | - <url>http://github.com/firebase/firebase-admin-java</url> |
| 51 | + <connection>scm:git:https://github.com/metrolab/firebase-admin-java.git</connection> |
| 52 | + <developerConnection>scm:git:ssh://git@github.com/metrolab/firebase-admin-java.git</developerConnection> |
| 53 | + <url>http://github.com/metrolab/firebase-admin-java</url> |
69 | 54 | <tag>HEAD</tag> |
70 | 55 | </scm> |
71 | 56 |
|
72 | 57 | <distributionManagement> |
| 58 | + <repository> |
| 59 | + <id>central</id> |
| 60 | + <name>artifactory-01-releases</name> |
| 61 | + <url>http://artifactory.metrolab/artifactory/libs-release-local</url> |
| 62 | + </repository> |
73 | 63 | <snapshotRepository> |
74 | | - <id>ossrh</id> |
75 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 64 | + <id>snapshots</id> |
| 65 | + <name>artifactory-01-snapshots</name> |
| 66 | + <url>http://artifactory.metrolab/artifactory/libs-snapshot-local</url> |
76 | 67 | </snapshotRepository> |
77 | 68 | </distributionManagement> |
78 | 69 |
|
79 | | - <profiles> |
80 | | - <profile> |
81 | | -<!-- Disable Doclint on Java 8 and higher--> |
82 | | - <id>disable-java8-doclint</id> |
83 | | - <activation> |
84 | | - <jdk>[1.8,)</jdk> |
85 | | - </activation> |
86 | | - <properties> |
87 | | - <additionalparam>-Xdoclint:none</additionalparam> |
88 | | - </properties> |
89 | | - </profile> |
90 | | - <profile> |
91 | | - <id>devsite-apidocs</id> |
92 | | - <activation> |
93 | | - <property> |
94 | | - <name>devsite.template</name> |
95 | | - </property> |
96 | | - </activation> |
97 | | - <build> |
98 | | - <plugins> |
99 | | - <plugin> |
100 | | -<!-- Generate API docs using Doclava for the developer site--> |
101 | | - <artifactId>maven-javadoc-plugin</artifactId> |
102 | | - <executions> |
103 | | - <execution> |
104 | | - <phase>site</phase> |
105 | | - <goals> |
106 | | - <goal>aggregate</goal> |
107 | | - </goals> |
108 | | - </execution> |
109 | | - </executions> |
110 | | - <configuration> |
111 | | - <docletArtifact> |
112 | | - <groupId>com.google.doclava</groupId> |
113 | | - <artifactId>doclava</artifactId> |
114 | | - <version>1.0.6</version> |
115 | | - </docletArtifact> |
116 | | - <doclet>com.google.doclava.Doclava</doclet> |
117 | | - <bootclasspath>${sun.boot.class.path}</bootclasspath> |
118 | | - <additionalDependencies> |
119 | | - <additionalDependency> |
120 | | - <groupId>com.google.j2objc</groupId> |
121 | | - <artifactId>j2objc-annotations</artifactId> |
122 | | - <version>1.3</version> |
123 | | - </additionalDependency> |
124 | | - </additionalDependencies> |
125 | | - <additionalparam> |
126 | | - -hdf book.path /_book.yaml |
127 | | - -hdf project.path /_project.yaml |
128 | | - -hdf devsite.path /docs/reference/admin/java/reference/ |
129 | | - -d${project.build.directory}/apidocs |
130 | | - -templatedir${devsite.template} |
131 | | - -toroot /docs/reference/admin/java/reference/ |
132 | | - -yaml _toc.yaml |
133 | | - -warning 101 |
134 | | - </additionalparam> |
135 | | - <useStandardDocletOptions>false</useStandardDocletOptions> |
136 | | - <additionalJOption>-J-Xmx1024m</additionalJOption> |
137 | | - </configuration> |
138 | | - </plugin> |
139 | | - <plugin> |
140 | | -<!-- Update relative paths in generated API docs--> |
141 | | - <artifactId>maven-antrun-plugin</artifactId> |
142 | | - <version>1.7</version> |
143 | | - <executions> |
144 | | - <execution> |
145 | | - <phase>site</phase> |
146 | | - <goals> |
147 | | - <goal>run</goal> |
148 | | - </goals> |
149 | | - <configuration> |
150 | | - <target> |
151 | | - <echomessage="Updating relative links in API docs" /> |
152 | | - <replacedir="${project.build.directory}/apidocs"token="href="com"value="href="/docs/reference/admin/java/reference/com" /> |
153 | | - <copyfile="${project.build.directory}/apidocs/assets/_toc.yaml"todir="${project.build.directory}/apidocs/reference" /> |
154 | | - </target> |
155 | | - </configuration> |
156 | | - </execution> |
157 | | - </executions> |
158 | | - </plugin> |
159 | | - </plugins> |
160 | | - </build> |
161 | | - </profile> |
162 | | - <profile> |
163 | | - <id>release</id> |
164 | | - <properties> |
165 | | -<!-- Prevent executing integration tests twice during a release--> |
166 | | - <skipITs>true</skipITs> |
167 | | - </properties> |
168 | | - <build> |
169 | | - <plugins> |
170 | | - <plugin> |
171 | | - <artifactId>maven-javadoc-plugin</artifactId> |
172 | | - <executions> |
173 | | - <execution> |
174 | | - <phase>package</phase> |
175 | | - <goals> |
176 | | - <goal>jar</goal> |
177 | | - </goals> |
178 | | - </execution> |
179 | | - </executions> |
180 | | - <configuration> |
181 | | - <docletArtifact> |
182 | | - <groupId>com.google.doclava</groupId> |
183 | | - <artifactId>doclava</artifactId> |
184 | | - <version>1.0.6</version> |
185 | | - </docletArtifact> |
186 | | - <doclet>com.google.doclava.Doclava</doclet> |
187 | | - <bootclasspath>${sun.boot.class.path}</bootclasspath> |
188 | | - <additionalDependencies> |
189 | | - <additionalDependency> |
190 | | - <groupId>com.google.j2objc</groupId> |
191 | | - <artifactId>j2objc-annotations</artifactId> |
192 | | - <version>1.3</version> |
193 | | - </additionalDependency> |
194 | | - </additionalDependencies> |
195 | | - <additionalparam> |
196 | | - -warning 101 |
197 | | - </additionalparam> |
198 | | - <useStandardDocletOptions>false</useStandardDocletOptions> |
199 | | - <additionalJOption>-J-Xmx1024m</additionalJOption> |
200 | | - </configuration> |
201 | | - </plugin> |
202 | | - <plugin> |
203 | | - <artifactId>maven-source-plugin</artifactId> |
204 | | - <version>2.2.1</version> |
205 | | - <executions> |
206 | | - <execution> |
207 | | - <id>attach-sources</id> |
208 | | - <goals> |
209 | | - <goal>jar-no-fork</goal> |
210 | | - </goals> |
211 | | - </execution> |
212 | | - </executions> |
213 | | - </plugin> |
214 | | - <plugin> |
215 | | - <artifactId>maven-gpg-plugin</artifactId> |
216 | | - <version>1.5</version> |
217 | | - <executions> |
218 | | - <execution> |
219 | | - <id>sign-artifacts</id> |
220 | | - <phase>verify</phase> |
221 | | - <goals> |
222 | | - <goal>sign</goal> |
223 | | - </goals> |
224 | | - </execution> |
225 | | - </executions> |
226 | | - </plugin> |
227 | | - </plugins> |
228 | | - </build> |
229 | | - </profile> |
230 | | - <profile> |
231 | | - <id>code-coverage</id> |
232 | | - <activation> |
233 | | - <property> |
234 | | - <name>jacoco</name> |
235 | | - </property> |
236 | | - </activation> |
237 | | - <build> |
238 | | - <plugins> |
239 | | - <plugin> |
240 | | - <groupId>org.jacoco</groupId> |
241 | | - <artifactId>jacoco-maven-plugin</artifactId> |
242 | | - <version>0.7.9</version> |
243 | | - <executions> |
244 | | - <execution> |
245 | | - <id>pre-unit-test</id> |
246 | | - <goals> |
247 | | - <goal>prepare-agent</goal> |
248 | | - </goals> |
249 | | - </execution> |
250 | | - <execution> |
251 | | - <id>post-unit-test</id> |
252 | | - <phase>test</phase> |
253 | | - <goals> |
254 | | - <goal>report</goal> |
255 | | - </goals> |
256 | | - <configuration> |
257 | | -<!-- Sets the path to the file which contains the execution data.--> |
258 | | - <dataFile>target/jacoco.exec</dataFile> |
259 | | -<!-- Sets the output directory for the code coverage report.--> |
260 | | - <outputDirectory>target/jacoco-ut</outputDirectory> |
261 | | - </configuration> |
262 | | - </execution> |
263 | | - </executions> |
264 | | - </plugin> |
265 | | - <plugin> |
266 | | - <groupId>org.codehaus.mojo</groupId> |
267 | | - <artifactId>exec-maven-plugin</artifactId> |
268 | | - <version>1.6.0</version> |
269 | | - <executions> |
270 | | - <execution> |
271 | | - <phase>test</phase> |
272 | | - <goals> |
273 | | - <goal>java</goal> |
274 | | - </goals> |
275 | | - </execution> |
276 | | - </executions> |
277 | | - <configuration> |
278 | | - <mainClass>com.google.firebase.CodeCoverageReporter</mainClass> |
279 | | - <arguments> |
280 | | - <argument>target/jacoco-ut/jacoco.csv</argument> |
281 | | - </arguments> |
282 | | - <classpathScope>test</classpathScope> |
283 | | - </configuration> |
284 | | - </plugin> |
285 | | - </plugins> |
286 | | - </build> |
287 | | - </profile> |
288 | | - </profiles> |
289 | | - |
290 | 70 | <build> |
291 | 71 | <resources> |
292 | 72 | <resource> |
|
306 | 86 | <plugin> |
307 | 87 | <artifactId>maven-surefire-plugin</artifactId> |
308 | 88 | <version>2.19.1</version> |
309 | | - <configuration> |
310 | | - <skipTests>${skipUTs}</skipTests> |
311 | | - </configuration> |
312 | 89 | </plugin> |
313 | 90 | <plugin> |
314 | 91 | <artifactId>maven-javadoc-plugin</artifactId> |
|
324 | 101 | <goals>deploy</goals> |
325 | 102 | </configuration> |
326 | 103 | </plugin> |
327 | | - <plugin> |
328 | | - <groupId>org.sonatype.plugins</groupId> |
329 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
330 | | - <version>1.6.7</version> |
331 | | - <extensions>true</extensions> |
332 | | - <configuration> |
333 | | - <serverId>ossrh</serverId> |
334 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
335 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
336 | | - </configuration> |
337 | | - </plugin> |
338 | 104 | </plugins> |
339 | 105 | </build> |
340 | 106 |
|
341 | | - <reporting> |
342 | | - <plugins> |
343 | | - <plugin> |
344 | | - <artifactId>maven-project-info-reports-plugin</artifactId> |
345 | | - <version>2.9</version> |
346 | | - <reportSets> |
347 | | - <reportSet> |
348 | | - <configuration> |
349 | | -<!-- Disable additional Maven reports, since we do not use them.--> |
350 | | - <skip>true</skip> |
351 | | - </configuration> |
352 | | - </reportSet> |
353 | | - </reportSets> |
354 | | - </plugin> |
355 | | - </plugins> |
356 | | - </reporting> |
357 | 107 |
|
358 | 108 | <dependencies> |
359 | 109 | <!-- Google Cloud Platform dependencies--> |
|