Project

General

Profile

« Previous | Next » 

Revision 479b0055

Added by Andreas Kohlbecker over 7 years ago

simplifying dependencies in pom.xml (using scope 'compile' where appropriate)

View differences:

pom.xml
14 14
    <cdmlib.version>4.4.0-SNAPSHOT</cdmlib.version>
15 15
    <unitils.version>3.4.2</unitils.version>
16 16
    <spring.version>4.2.4.RELEASE</spring.version>
17
    <!-- 
18
        lucene.version must match the version as defined in cdmlib
19
    -->
17 20
    <lucene.version>5.4.1</lucene.version>
18 21
    <maven.compiler.source>1.8</maven.compiler.source>
19 22
    <maven.compiler.target>1.8</maven.compiler.target>
......
426 429
      <version>${cdmlib.version}</version>
427 430
      <scope>compile</scope>
428 431
    </dependency>    
429
    <!-- 
430
        further cdmlib-* dependencies
431
        which are only needed for running the vaadin application
432
        in the IDE.
433
        scope test is not transitive, so we have to add any 
434
        of the cdmlib artifacts 
435
     -->
436 432
    <dependency>
437 433
      <groupId>eu.etaxonomy</groupId>
438 434
      <artifactId>cdmlib-test</artifactId>
439 435
      <version>${cdmlib.version}</version>
440 436
      <scope>test</scope>
441 437
    </dependency>
442
    <dependency>
443
      <groupId>eu.etaxonomy</groupId>
444
      <artifactId>cdmlib-commons</artifactId>
445
      <version>${cdmlib.version}</version>
446
      <scope>test</scope>
447
    </dependency>
448
    <dependency>
449
      <groupId>eu.etaxonomy</groupId>
450
      <artifactId>cdmlib-model</artifactId>
451
      <version>${cdmlib.version}</version>
452
      <scope>test</scope>
453
    </dependency>
454
    <dependency>
455
      <groupId>eu.etaxonomy</groupId>
456
      <artifactId>cdmlib-persistence</artifactId>
457
      <version>${cdmlib.version}</version>
458
      <scope>test</scope>
459
    </dependency>
460
    <dependency>
461
      <groupId>eu.etaxonomy</groupId>
462
      <artifactId>cdmlib-remote</artifactId>
463
      <version>${cdmlib.version}</version>
464
      <scope>test</scope>
465
    </dependency>
466
    <dependency>
467
      <groupId>eu.etaxonomy</groupId>
468
      <artifactId>cdmlib-io</artifactId>
469
      <version>${cdmlib.version}</version>
470
      <scope>test</scope>
471
    </dependency>
472 438
    <dependency>
473 439
      <groupId>eu.etaxonomy</groupId>
474 440
      <artifactId>cdmlib-db</artifactId>
......
551 517
      <artifactId>contextmenu</artifactId>
552 518
      <version>4.5</version>
553 519
    </dependency>
554
    <dependency>
555
      <groupId>junit</groupId>
556
      <artifactId>junit</artifactId>
557
      <version>4.11</version>
558
      <scope>test</scope>
559
    </dependency>
560 520
    <dependency>
561 521
      <groupId>org.slf4j</groupId>
562 522
      <artifactId>slf4j-log4j12</artifactId>
......
574 534
      <artifactId>json</artifactId>
575 535
      <version>20151123</version>
576 536
    </dependency>
577
    <!-- lucene -->
578
    <dependency>
579
      <groupId>org.apache.lucene</groupId>
580
      <artifactId>lucene-core</artifactId>
581
      <version>${lucene.version}</version>
582
    </dependency>
583
    <dependency>
584
      <groupId>org.apache.lucene</groupId>
585
      <artifactId>lucene-suggest</artifactId>
586
      <version>${lucene.version}</version>
587
    </dependency>
588
    <dependency>
589
      <groupId>org.apache.lucene</groupId>
590
      <artifactId>lucene-analyzers-common</artifactId>
591
      <version>${lucene.version}</version>
592
    </dependency>
593
    <dependency>
594
      <groupId>org.apache.lucene</groupId>
595
      <artifactId>lucene-queryparser</artifactId>
596
      <version>${lucene.version}</version>
597
    </dependency>
598
    <dependency>
599
      <groupId>org.apache.lucene</groupId>
600
      <artifactId>lucene-highlighter</artifactId>
601
      <version>${lucene.version}</version>
602
    </dependency>
603
    <dependency>
604
      <groupId>org.apache.lucene</groupId>
605
      <artifactId>lucene-grouping</artifactId>
606
      <version>${lucene.version}</version>
607
    </dependency>
608
    <dependency>
609
      <groupId>org.apache.lucene</groupId>
610
      <artifactId>lucene-join</artifactId>
611
      <version>${lucene.version}</version>
612
    </dependency>
537
    <!-- 
538
        Need to manage the versions of these lucene artifacts
539
        as hibernate-search otherwise brings incompatible versions
540
    -->
613 541
    <dependency>
614 542
      <groupId>org.apache.lucene</groupId>
615 543
      <artifactId>lucene-backward-codecs</artifactId>
616 544
      <version>${lucene.version}</version>
617 545
    </dependency>
618
    <dependency>
619
      <groupId>org.apache.lucene</groupId>
620
      <artifactId>lucene-misc</artifactId>
621
      <version>${lucene.version}</version>
622
    </dependency>
623 546
    <dependency>
624 547
      <groupId>org.apache.lucene</groupId>
625 548
      <artifactId>lucene-facet</artifactId>

Also available in: Unified diff