|
19 | 19 |
|
20 | 20 | <parent> |
21 | 21 | <groupId>org.basepom</groupId> |
22 | | - <artifactId>basepom-minimal</artifactId> |
23 | | - <version>55</version> |
| 22 | + <artifactId>basepom-oss</artifactId> |
| 23 | + <version>63</version> |
24 | 24 | </parent> |
25 | 25 |
|
26 | 26 | <scm> |
|
32 | 32 |
|
33 | 33 | <groupId>com.opentable.components</groupId> |
34 | 34 | <artifactId>otj-pg-embedded</artifactId> |
35 | | - <version>1.1.1-SNAPSHOT</version> |
| 35 | + <version>1.1.2-SNAPSHOT</version> |
36 | 36 | <description>Embedded PostgreSQL driver</description> |
| 37 | + <url>https://github.com/opentable/otj-pg-embedded</url> |
37 | 38 |
|
38 | 39 | <properties> |
39 | | - <dep.plugin.gpg.version>3.1.0</dep.plugin.gpg.version> |
40 | | - <dep.plugin.license.version>4.2</dep.plugin.license.version> |
41 | | - <basepom.check.phase-license>validate</basepom.check.phase-license> <!-- this is overriding basepom default --> |
42 | | - <basepom.license.skip-existing>true</basepom.license.skip-existing> |
43 | | - <basepom.release.profiles>basepom.oss-release,oss-build</basepom.release.profiles> |
44 | | - |
45 | | - <basepom.check.skip-license>${basepom.check.skip-extended}</basepom.check.skip-license> |
46 | | - <basepom.check.fail-license>${basepom.check.fail-extended}</basepom.check.fail-license> |
47 | 40 | <basepom.check.skip-spotbugs>true</basepom.check.skip-spotbugs> |
48 | 41 | <project.build.targetJdk>11</project.build.targetJdk> |
49 | 42 | <maven.compiler.target>${project.build.targetJdk}</maven.compiler.target> |
|
64 | 57 | <basepom.check.skip-javadoc>false</basepom.check.skip-javadoc> |
65 | 58 | <basepom.check.fail-javadoc>false</basepom.check.fail-javadoc> |
66 | 59 | <moduleName>com.opentable.components.otj.pg.embedded</moduleName> |
| 60 | + <basepom.central-publishing.repo-id>ot-central</basepom.central-publishing.repo-id> |
| 61 | + <basepom.deploy.snapshot.repo-id>opentable.snapshot</basepom.deploy.snapshot.repo-id> |
| 62 | + <basepom.deploy.snapshot.url>https://artifactory.otenv.com/snapshots</basepom.deploy.snapshot.url> |
| 63 | + <basepom.release.profiles>basepom.central-release</basepom.release.profiles> |
67 | 64 | </properties> |
68 | 65 |
|
69 | 66 | <licenses> |
|
75 | 72 | </license> |
76 | 73 | </licenses> |
77 | 74 |
|
| 75 | + <developers> |
| 76 | + <developer> |
| 77 | + <id>opentable</id> |
| 78 | + <name>OpenTable</name> |
| 79 | + <url>https://github.com/opentable</url> |
| 80 | + </developer> |
| 81 | + </developers> |
| 82 | + |
78 | 83 | <dependencies> |
79 | 84 | <dependency> |
80 | 85 | <groupId>org.slf4j</groupId> |
|
94 | 99 | <scope>runtime</scope> |
95 | 100 | </dependency> |
96 | 101 |
|
97 | | - |
98 | | - |
99 | 102 | <dependency> |
100 | 103 | <groupId>org.flywaydb</groupId> |
101 | 104 | <artifactId>flyway-core</artifactId> |
|
217 | 220 | </plugins> |
218 | 221 | </build> |
219 | 222 |
|
220 | | - <profiles> |
221 | | - <profile> |
222 | | - <id>oss-build</id> |
223 | | - <activation> |
224 | | - <file> |
225 | | - <exists>.oss-build</exists> |
226 | | - </file> |
227 | | - </activation> |
228 | | - |
229 | | - <!-- note the main difference is released artifacts go to oss.sonatype instead of internal --> |
230 | | - <distributionManagement> |
231 | | - <snapshotRepository> |
232 | | - <id>opentable.snapshot</id> |
233 | | - <name>opentable-snapshots</name> |
234 | | - <uniqueVersion>true</uniqueVersion> |
235 | | - <url>https://artifactory.otenv.com/snapshots</url> |
236 | | - </snapshotRepository> |
237 | | - <repository> |
238 | | - <id>sonatype-nexus-staging</id> |
239 | | - <name>Nexus Release Repository</name> |
240 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
241 | | - </repository> |
242 | | - </distributionManagement> |
243 | | - <build> |
244 | | - <pluginManagement> |
245 | | - <plugins> |
246 | | - <plugin> |
247 | | - <groupId>org.apache.maven.plugins</groupId> |
248 | | - <artifactId>maven-release-plugin</artifactId> |
249 | | - <configuration> |
250 | | - <!-- activate some basepom stuff, this binds the profile below --> |
251 | | - <releaseProfiles>${basepom.release.profiles}</releaseProfiles> |
252 | | - </configuration> |
253 | | - </plugin> |
254 | | - |
255 | | - <!-- checks for valid OSS license stuff and headers --> |
256 | | - <plugin> |
257 | | - <groupId>com.mycila</groupId> |
258 | | - <artifactId>license-maven-plugin</artifactId> |
259 | | - <version>${dep.plugin.license.version}</version> |
260 | | - <dependencies> |
261 | | - <dependency> |
262 | | - <groupId>org.basepom</groupId> |
263 | | - <artifactId>basepom-policy</artifactId> |
264 | | - <version>${dep.basepom-policy.version}</version> |
265 | | - </dependency> |
266 | | - </dependencies> |
267 | | - <configuration> |
268 | | - <skip>${basepom.check.skip-license}</skip> |
269 | | - <skipExistingHeaders>${basepom.license.skip-existing}</skipExistingHeaders> |
270 | | - <failIfMissing>${basepom.check.fail-license}</failIfMissing> |
271 | | - <header>license/basepom-apache-license-header.txt</header> |
272 | | - <headerDefinitions> |
273 | | - <headerDefinition>license/xml-prefix.xml</headerDefinition> |
274 | | - </headerDefinitions> |
275 | | - <mapping> |
276 | | - <xml>XML_PREFIX</xml> |
277 | | - <java>SLASHSTAR_STYLE</java> |
278 | | - <yaml>SCRIPT_STYLE</yaml> |
279 | | - </mapping> |
280 | | - <strictCheck>true</strictCheck> |
281 | | - <aggregate>true</aggregate> |
282 | | - <useDefaultExcludes>true</useDefaultExcludes> |
283 | | - <encoding>${project.build.sourceEncoding}</encoding> |
284 | | - <excludes> |
285 | | - <exclude>.*/**</exclude> |
286 | | - <exclude>**/*.md</exclude> |
287 | | - <exclude>**/*.rst</exclude> |
288 | | - <exclude>**/*.adoc</exclude> |
289 | | - <exclude>**/*.sh</exclude> |
290 | | - <exclude>**/*.txt</exclude> |
291 | | - <exclude>**/*.thrift</exclude> |
292 | | - <exclude>**/*.proto</exclude> |
293 | | - <exclude>**/*.g</exclude> |
294 | | - <exclude>**/*.releaseBackup</exclude> |
295 | | - <exclude>**/*.vm</exclude> |
296 | | - <exclude>**/*.st</exclude> |
297 | | - <exclude>**/*.raw</exclude> |
298 | | - <exclude>**/*.ser</exclude> |
299 | | - <exclude>**/src/license/**</exclude> |
300 | | - </excludes> |
301 | | - <includes> |
302 | | - <include>src/**</include> |
303 | | - <include>**/pom.xml</include> |
304 | | - </includes> |
305 | | - </configuration> |
306 | | - </plugin> |
307 | | - |
308 | | - <!-- sign with gpg --> |
309 | | - <plugin> |
310 | | - <groupId>org.apache.maven.plugins</groupId> |
311 | | - <artifactId>maven-gpg-plugin</artifactId> |
312 | | - <version>${dep.plugin.gpg.version}</version> |
313 | | - <configuration> |
314 | | - <useAgent>true</useAgent> |
315 | | - </configuration> |
316 | | - </plugin> |
317 | | - </plugins> |
318 | | - </pluginManagement> |
319 | | - |
320 | | - <!-- more license checking. One day I'll know why both of these --> |
321 | | - <plugins> |
322 | | - <plugin> |
323 | | - <groupId>com.mycila</groupId> |
324 | | - <artifactId>license-maven-plugin</artifactId> |
325 | | - <executions> |
326 | | - <execution> |
327 | | - <id>basepom.default</id> |
328 | | - <phase>${basepom.check.phase-license}</phase> |
329 | | - <goals> |
330 | | - <goal>check</goal> |
331 | | - </goals> |
332 | | - </execution> |
333 | | - </executions> |
334 | | - </plugin> |
335 | | - </plugins> |
336 | | - </build> |
337 | | - </profile> |
338 | | - |
339 | | - <!-- Active during OSS release:perform --> |
340 | | - <profile> |
341 | | - <id>basepom.oss-release</id> |
342 | | - <properties> |
343 | | - <!-- tests run in the preparation step of the release --> |
344 | | - <skipTests>true</skipTests> |
345 | | - </properties> |
346 | | - <build> |
347 | | - <plugins> |
348 | | - <!-- oss requires a javadoc jar. Build one when releasing. --> |
349 | | - <plugin> |
350 | | - <groupId>org.apache.maven.plugins</groupId> |
351 | | - <artifactId>maven-javadoc-plugin</artifactId> |
352 | | - <executions> |
353 | | - <execution> |
354 | | - <id>attach-javadocs</id> |
355 | | - <phase>package</phase> |
356 | | - <goals> |
357 | | - <goal>jar</goal> |
358 | | - </goals> |
359 | | - </execution> |
360 | | - </executions> |
361 | | - </plugin> |
362 | | - <!-- if necessary, build a scaladoc jar. Disabled by default. --> |
363 | | -<!-- <plugin>--> |
364 | | -<!-- <groupId>net.alchim31.maven</groupId>--> |
365 | | -<!-- <artifactId>scala-maven-plugin</artifactId>--> |
366 | | -<!-- <executions>--> |
367 | | -<!-- <execution>--> |
368 | | -<!-- <id>attach-scaladocs</id>--> |
369 | | -<!-- <phase>package</phase>--> |
370 | | -<!-- <configuration>--> |
371 | | -<!-- <skip>${basepom.oss.skip-scala-doc}</skip>--> |
372 | | -<!-- </configuration>--> |
373 | | -<!-- <goals>--> |
374 | | -<!-- <goal>doc-jar</goal>--> |
375 | | -<!-- </goals>--> |
376 | | -<!-- </execution>--> |
377 | | -<!-- </executions>--> |
378 | | -<!-- </plugin>--> |
379 | | - <!-- Sign artifacts using gpg for oss upload --> |
380 | | - <plugin> |
381 | | - <groupId>org.apache.maven.plugins</groupId> |
382 | | - <artifactId>maven-gpg-plugin</artifactId> |
383 | | - <executions> |
384 | | - <execution> |
385 | | - <id>basepom.sign-artifacts</id> |
386 | | - <phase>verify</phase> |
387 | | - <goals> |
388 | | - <goal>sign</goal> |
389 | | - </goals> |
390 | | - </execution> |
391 | | - </executions> |
392 | | - </plugin> |
393 | | - </plugins> |
394 | | - </build> |
395 | | - </profile> |
396 | | - </profiles> |
397 | 223 | </project> |
0 commit comments