FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move version numbering into parent pom · xquery/DataflowJavaSDK@f86a22d · GitHub

Repository navigation

Commit f86a22d

Browse files
authored andcommitted
Move version numbering into parent pom
----Release Notes---- [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=107989908
1 parent 3a559b3 commit f86a22d

3 files changed

Lines changed: 52 additions & 54 deletions

File tree

‎examples/pom.xml‎

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,7 @@
368368
<dependency>
369369
<groupId>com.google.api-client</groupId>
370370
<artifactId>google-api-client</artifactId>
371-
<!-- If updating version, please update the javadoc offlineLink -->
372-
<version>1.20.0</version>
371+
<version>${google-clients.version}</version>
373372
<exclusions>
374373
<!-- Exclude an old version of guava that is being pulled
375374
in by a transitive dependency google-api-client 1.20.0 -->
@@ -383,7 +382,7 @@
383382
<dependency>
384383
<groupId>com.google.apis</groupId>
385384
<artifactId>google-api-services-dataflow</artifactId>
386-
<version>v1b3-rev8-1.20.0</version>
385+
<version>${dataflow.version}</version>
387386
<exclusions>
388387
<!-- Exclude an old version of guava that is being pulled
389388
in by a transitive dependency google-api-client 1.20.0 -->
@@ -397,8 +396,7 @@
397396
<dependency>
398397
<groupId>com.google.apis</groupId>
399398
<artifactId>google-api-services-bigquery</artifactId>
400-
<!-- If updating version, please update the javadoc offlineLink -->
401-
<version>v2-rev238-1.20.0</version>
399+
<version>${bigquery.version}</version>
402400
<exclusions>
403401
<!-- Exclude an old version of guava that is being pulled
404402
in by a transitive dependency google-api-client 1.20.0 -->
@@ -412,7 +410,7 @@
412410
<dependency>
413411
<groupId>com.google.http-client</groupId>
414412
<artifactId>google-http-client</artifactId>
415-
<version>1.20.0</version>
413+
<version>${google-clients.version}</version>
416414
<exclusions>
417415
<!-- Exclude an old version of guava that is being pulled
418416
in by a transitive dependency google-api-client 1.20.0 -->
@@ -426,15 +424,13 @@
426424
<dependency>
427425
<groupId>org.apache.avro</groupId>
428426
<artifactId>avro</artifactId>
429-
<!-- If updating version, please update the javadoc offlineLink -->
430-
<version>1.7.7</version>
427+
<version>${avro.version}</version>
431428
</dependency>
432429

433430
<dependency>
434431
<groupId>com.google.apis</groupId>
435432
<artifactId>google-api-services-datastore-protobuf</artifactId>
436-
<!-- If updating version, please update the javadoc offlineLink -->
437-
<version>v1beta2-rev1-2.1.2</version>
433+
<version>${datastore.version}</version>
438434
<exclusions>
439435
<!-- Exclude an old version of guava that is being pulled
440436
in by a transitive dependency google-api-client 1.20.0 -->
@@ -448,7 +444,7 @@
448444
<dependency>
449445
<groupId>com.google.apis</groupId>
450446
<artifactId>google-api-services-pubsub</artifactId>
451-
<version>v1-rev3-1.20.0</version>
447+
<version>${pubsub.version}</version>
452448
<exclusions>
453449
<!-- Exclude an old version of guava that is being pulled
454450
in by a transitive dependency google-api-client 1.20.0 -->
@@ -462,27 +458,25 @@
462458
<dependency>
463459
<groupId>com.google.guava</groupId>
464460
<artifactId>guava</artifactId>
465-
<!-- If updating version, please update the javadoc offlineLink -->
466-
<version>18.0</version>
461+
<version>${guava.version}</version>
467462
</dependency>
468463

469464
<dependency>
470465
<groupId>joda-time</groupId>
471466
<artifactId>joda-time</artifactId>
472-
<!-- If updating version, please update the javadoc offlineLink -->
473-
<version>2.4</version>
467+
<version>${joda.version}</version>
474468
</dependency>
475469

476470
<dependency>
477471
<groupId>org.slf4j</groupId>
478472
<artifactId>slf4j-api</artifactId>
479-
<version>1.7.7</version>
473+
<version>${slf4j.version}</version>
480474
</dependency>
481475

482476
<dependency>
483477
<groupId>org.slf4j</groupId>
484478
<artifactId>slf4j-jdk14</artifactId>
485-
<version>1.7.7</version>
479+
<version>${slf4j.version}</version>
486480
<scope>runtime</scope>
487481
</dependency>
488482

@@ -492,14 +486,13 @@
492486
<dependency>
493487
<groupId>org.hamcrest</groupId>
494488
<artifactId>hamcrest-all</artifactId>
495-
<!-- If updating version, please update the javadoc offlineLink -->
496-
<version>1.3</version>
489+
<version>${hamcrest.version}</version>
497490
</dependency>
498491

499492
<dependency>
500493
<groupId>junit</groupId>
501494
<artifactId>junit</artifactId>
502-
<version>4.11</version>
495+
<version>${junit.version}</version>
503496
</dependency>
504497
</dependencies>
505498
</project>

‎pom.xml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@
6565
<properties>
6666
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6767
<dataflow.javadoc_opts></dataflow.javadoc_opts>
68+
69+
<!-- If updating dependencies, please update any relevant javadoc offlineLinks -->
70+
<avro.version>1.7.7</avro.version>
71+
<bigquery.version>v2-rev238-1.20.0</bigquery.version>
72+
<dataflow.version>v1b3-rev10-1.20.0</dataflow.version>
73+
<datastore.version>v1beta2-rev1-3.0.2</datastore.version>
74+
<google-clients.version>1.20.0</google-clients.version>
75+
<guava.version>18.0</guava.version>
76+
<hamcrest.version>1.3</hamcrest.version>
77+
<jackson.version>2.4.2</jackson.version>
78+
<joda.version>2.4</joda.version>
79+
<junit.version>4.11</junit.version>
80+
<protobuf.version>2.5.0</protobuf.version>
81+
<pubsub.version>v1-rev3-1.20.0</pubsub.version>
82+
<slf4j.version>1.7.7</slf4j.version>
83+
<storage.version>v1-rev25-1.19.1</storage.version>
6884
</properties>
6985

7086
<packaging>pom</packaging>
@@ -227,7 +243,7 @@
227243
<pluginExecutionFilter>
228244
<groupId>org.apache.avro</groupId>
229245
<artifactId>avro-maven-plugin</artifactId>
230-
<versionRange>[1.7.7,)</versionRange>
246+
<versionRange>${avro.version}</versionRange>
231247
<goals>
232248
<goal>schema</goal>
233249
</goals>

‎sdk/pom.xml‎

Lines changed: 22 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
<plugin>
371371
<groupId>org.apache.avro</groupId>
372372
<artifactId>avro-maven-plugin</artifactId>
373-
<version>1.7.7</version>
373+
<version>${avro.version}</version>
374374
<executions>
375375
<execution>
376376
<id>schemas</id>
@@ -416,7 +416,7 @@
416416
<dependency>
417417
<groupId>com.google.apis</groupId>
418418
<artifactId>google-api-services-dataflow</artifactId>
419-
<version>v1b3-rev10-1.20.0</version>
419+
<version>${dataflow.version}</version>
420420
<exclusions>
421421
<!-- Exclude an old version of guava that is being pulled
422422
in by a transitive dependency google-api-client 1.19.0 -->
@@ -436,8 +436,7 @@
436436
<dependency>
437437
<groupId>com.google.api-client</groupId>
438438
<artifactId>google-api-client</artifactId>
439-
<!-- If updating version, please update the javadoc offlineLink -->
440-
<version>1.20.0</version>
439+
<version>${google-clients.version}</version>
441440
<exclusions>
442441
<exclusion>
443442
<groupId>com.google.guava</groupId>
@@ -449,8 +448,7 @@
449448
<dependency>
450449
<groupId>com.google.apis</groupId>
451450
<artifactId>google-api-services-bigquery</artifactId>
452-
<!-- If updating version, please update the javadoc offlineLink -->
453-
<version>v2-rev238-1.20.0</version>
451+
<version>${bigquery.version}</version>
454452
<exclusions>
455453
<!-- Exclude an old version of guava that is being pulled
456454
in by a transitive dependency google-api-client 1.20.0 -->
@@ -464,7 +462,7 @@
464462
<dependency>
465463
<groupId>com.google.apis</groupId>
466464
<artifactId>google-api-services-pubsub</artifactId>
467-
<version>v1-rev3-1.20.0</version>
465+
<version>${pubsub.version}</version>
468466
<exclusions>
469467
<!-- Exclude an old version of guava that is being pulled
470468
in by a transitive dependency google-api-client 1.20.0 -->
@@ -478,7 +476,7 @@
478476
<dependency>
479477
<groupId>com.google.apis</groupId>
480478
<artifactId>google-api-services-storage</artifactId>
481-
<version>v1-rev25-1.19.1</version>
479+
<version>${storage.version}</version>
482480
<exclusions>
483481
<!-- Exclude an old version of guava that is being pulled
484482
in by a transitive dependency google-api-client 1.20.0 -->
@@ -492,7 +490,7 @@
492490
<dependency>
493491
<groupId>com.google.http-client</groupId>
494492
<artifactId>google-http-client-jackson2</artifactId>
495-
<version>1.20.0</version>
493+
<version>${google-clients.version}</version>
496494
<exclusions>
497495
<!-- Exclude an old version of guava that is being pulled
498496
in by a transitive dependency google-api-client 1.20.0 -->
@@ -506,14 +504,13 @@
506504
<dependency>
507505
<groupId>com.google.http-client</groupId>
508506
<artifactId>google-http-client</artifactId>
509-
<version>1.20.0</version>
507+
<version>${google-clients.version}</version>
510508
</dependency>
511509

512510
<dependency>
513511
<groupId>com.google.oauth-client</groupId>
514512
<artifactId>google-oauth-client-java6</artifactId>
515-
<!-- If updating version, please update the javadoc offlineLink -->
516-
<version>1.20.0</version>
513+
<version>${google-clients.version}</version>
517514
<exclusions>
518515
<!-- Exclude an old version of guava that is being pulled
519516
in by a transitive dependency google-api-client 1.20.0 -->
@@ -527,8 +524,7 @@
527524
<dependency>
528525
<groupId>com.google.oauth-client</groupId>
529526
<artifactId>google-oauth-client</artifactId>
530-
<!-- If updating version, please update the javadoc offlineLink -->
531-
<version>1.20.0</version>
527+
<version>${google-clients.version}</version>
532528
<exclusions>
533529
<!-- Exclude an old version of guava that is being pulled
534530
in by a transitive dependency google-api-client 1.20.0 -->
@@ -542,8 +538,7 @@
542538
<dependency>
543539
<groupId>com.google.apis</groupId>
544540
<artifactId>google-api-services-datastore-protobuf</artifactId>
545-
<!-- If updating version, please update the javadoc offlineLink -->
546-
<version>v1beta2-rev1-3.0.2</version>
541+
<version>${datastore.version}</version>
547542
<exclusions>
548543
<!-- Exclude an old version of guava that is being pulled
549544
in by a transitive dependency google-api-client 1.19.0 -->
@@ -570,47 +565,43 @@
570565
<groupId>com.google.guava</groupId>
571566
<artifactId>guava</artifactId>
572567
<!-- If updating version, please update the javadoc offlineLink -->
573-
<version>18.0</version>
568+
<version>${guava.version}</version>
574569
</dependency>
575570

576571
<dependency>
577572
<groupId>com.google.protobuf</groupId>
578573
<artifactId>protobuf-java</artifactId>
579-
<version>2.5.0</version>
574+
<version>${protobuf.version}</version>
580575
</dependency>
581576

582577
<dependency>
583578
<groupId>com.fasterxml.jackson.core</groupId>
584579
<artifactId>jackson-core</artifactId>
585-
<!-- If updating version, please update the javadoc offlineLink -->
586-
<version>2.4.2</version>
580+
<version>${jackson.version}</version>
587581
</dependency>
588582

589583
<dependency>
590584
<groupId>com.fasterxml.jackson.core</groupId>
591585
<artifactId>jackson-annotations</artifactId>
592-
<!-- If updating version, please update the javadoc offlineLink -->
593-
<version>2.4.2</version>
586+
<version>${jackson.version}</version>
594587
</dependency>
595588

596589
<dependency>
597590
<groupId>com.fasterxml.jackson.core</groupId>
598591
<artifactId>jackson-databind</artifactId>
599-
<!-- If updating version, please update the javadoc offlineLink -->
600-
<version>2.4.2</version>
592+
<version>${jackson.version}</version>
601593
</dependency>
602594

603595
<dependency>
604596
<groupId>org.slf4j</groupId>
605597
<artifactId>slf4j-api</artifactId>
606-
<version>1.7.7</version>
598+
<version>${slf4j.version}</version>
607599
</dependency>
608600

609601
<dependency>
610602
<groupId>org.apache.avro</groupId>
611603
<artifactId>avro</artifactId>
612-
<!-- If updating version, please update the javadoc offlineLink -->
613-
<version>1.7.7</version>
604+
<version>${avro.version}</version>
614605
</dependency>
615606

616607
<dependency>
@@ -622,8 +613,7 @@
622613
<dependency>
623614
<groupId>joda-time</groupId>
624615
<artifactId>joda-time</artifactId>
625-
<!-- If updating version, please update the javadoc offlineLink -->
626-
<version>2.4</version>
616+
<version>${joda.version}</version>
627617
</dependency>
628618

629619
<dependency>
@@ -685,22 +675,21 @@
685675
<dependency>
686676
<groupId>org.hamcrest</groupId>
687677
<artifactId>hamcrest-all</artifactId>
688-
<!-- If updating version, please update the javadoc offlineLink -->
689-
<version>1.3</version>
678+
<version>${hamcrest.version}</version>
690679
<scope>provided</scope>
691680
</dependency>
692681

693682
<dependency>
694683
<groupId>junit</groupId>
695684
<artifactId>junit</artifactId>
696-
<version>4.11</version>
685+
<version>${junit.version}</version>
697686
<scope>provided</scope>
698687
</dependency>
699688

700689
<dependency>
701690
<groupId>org.slf4j</groupId>
702691
<artifactId>slf4j-jdk14</artifactId>
703-
<version>1.7.7</version>
692+
<version>${slf4j.version}</version>
704693
<scope>test</scope>
705694
</dependency>
706695

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL