~ubuntu-branches/ubuntu/trusty/ehcache/trusty

« back to all changes in this revision

Viewing changes to pom.xml

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-05-06 14:53:07 UTC
  • mfrom: (1.1.7) (2.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130506145307-v5bhw5yu70re00l3
Tags: 2.6.7-1
* Team upload.
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
  <parent>
6
6
    <groupId>net.sf.ehcache</groupId>
7
7
    <artifactId>ehcache-parent</artifactId>
8
 
    <version>2.3</version>
 
8
    <version>2.4</version>
 
9
    <relativePath/>
9
10
  </parent>
10
11
 
11
12
  <artifactId>ehcache-core</artifactId>
12
13
  <packaging>jar</packaging>
13
 
  <version>2.5.0</version>
 
14
  <version>2.6.7</version>
14
15
 
15
16
  <name>Ehcache Core</name>
16
17
  <description>This is the ehcache core module. Pair it with other modules for added functionality.</description>
46
47
      <version>1.6.1</version>
47
48
      <scope>compile</scope>
48
49
    </dependency>
 
50
    
 
51
    <!-- packaged into the main jar using shade plugin. Its dependency is removed in the final pom 
 
52
    <dependency>
 
53
      <groupId>net.sf.ehcache</groupId>
 
54
      <artifactId>ehcache-rest-agent</artifactId>
 
55
      <version>${project.version}</version>
 
56
    </dependency-->    
49
57
 
50
58
    <!-- With slf4j, users must choose a concrete logging implementation
51
59
      at deploy time, which they provide The maven dependency declarations are
79
87
    <dependency>
80
88
      <groupId>javax.servlet</groupId>
81
89
      <artifactId>servlet-api</artifactId>
 
90
      <version>2.4</version>
82
91
      <scope>provided</scope>
83
92
    </dependency>
84
93
    <dependency>
88
97
      <scope>provided</scope>
89
98
    </dependency>
90
99
    <dependency>
91
 
      <groupId>org.codehaus.btm</groupId>
92
 
      <artifactId>btm</artifactId>
93
 
      <version>2.0.1</version>
94
 
      <scope>test</scope>
95
 
    </dependency>
96
 
    <dependency>
97
100
      <groupId>javax.transaction</groupId>
98
101
      <artifactId>jta</artifactId>
99
102
      <version>1.1</version>
102
105
    <dependency>
103
106
      <groupId>net.sf.ehcache</groupId>
104
107
      <artifactId>sizeof-agent</artifactId>
105
 
      <version>1.0.0</version>
 
108
      <version>1.0.1</version>
106
109
      <scope>provided</scope>
107
 
    </dependency>
 
110
    </dependency>    
108
111
 
109
112
    <!-- Test scope -->
110
113
    <dependency>
 
114
      <groupId>org.codehaus.btm</groupId>
 
115
      <artifactId>btm</artifactId>
 
116
      <version>2.0.1</version>
 
117
      <scope>test</scope>
 
118
    </dependency>    
 
119
    <dependency>
111
120
      <groupId>net.sf.hibernate</groupId>
112
121
      <artifactId>hibernate</artifactId>
113
 
      <scope>test</scope>
114
 
    </dependency>
115
 
    <dependency>
116
 
      <groupId>junit</groupId>
117
 
      <artifactId>junit-dep</artifactId>
118
 
      <version>4.5</version>
119
 
      <scope>test</scope>
120
 
    </dependency>
 
122
      <version>2.1.8</version>
 
123
      <exclusions>
 
124
        <exclusion>
 
125
          <groupId>javax.transaction</groupId>
 
126
          <artifactId>jta</artifactId>
 
127
        </exclusion>
 
128
        <exclusion>
 
129
          <groupId>javax.security</groupId>
 
130
          <artifactId>jacc</artifactId>
 
131
        </exclusion>
 
132
        <exclusion>
 
133
          <groupId>net.sf.ehcache</groupId>
 
134
          <artifactId>ehcache</artifactId>
 
135
        </exclusion>
 
136
      </exclusions>
 
137
      <scope>provided</scope>
 
138
    </dependency>   
121
139
    <dependency>
122
140
      <groupId>org.hamcrest</groupId>
123
141
      <artifactId>hamcrest-core</artifactId>
129
147
      <artifactId>hamcrest-library</artifactId>
130
148
      <version>1.2</version>
131
149
      <scope>test</scope>
132
 
    </dependency>
 
150
    </dependency>      
 
151
    <dependency>
 
152
      <groupId>junit</groupId>
 
153
      <artifactId>junit</artifactId>
 
154
      <version>4.10</version>
 
155
      <scope>test</scope>
 
156
    </dependency>   
133
157
    <dependency>
134
158
      <groupId>dom4j</groupId>
135
159
      <artifactId>dom4j</artifactId>
 
160
      <version>1.6.1</version>
136
161
      <scope>test</scope>
137
162
    </dependency>
138
163
    <dependency>
213
238
        <artifactId>maven-compiler-plugin</artifactId>
214
239
        <version>2.3.2</version>
215
240
        <configuration>
216
 
          <source>1.5</source>
217
 
          <target>1.5</target>
 
241
          <source>1.6</source>
 
242
          <target>1.6</target>
218
243
        </configuration>
219
 
        <executions>
220
 
          <execution>
221
 
            <id>compile_for_javadoc</id>
222
 
            <phase>pre-site</phase>
223
 
            <goals>
224
 
              <goal>compile</goal>
225
 
            </goals>
226
 
          </execution>
227
 
        </executions>
228
244
      </plugin>
229
245
 
230
246
      <plugin>
238
254
            </manifestEntries>
239
255
          </archive>
240
256
        </configuration>
 
257
        <executions>
 
258
          <execution>
 
259
            <id>test-jar</id>
 
260
            <goals>
 
261
              <goal>test-jar</goal>
 
262
            </goals>
 
263
          </execution>
 
264
        </executions>
241
265
      </plugin>
242
 
 
243
266
      <plugin>
244
267
        <groupId>org.apache.maven.plugins</groupId>
245
268
        <artifactId>maven-javadoc-plugin</artifactId>
248
271
        <configuration>
249
272
          <skip>${skipJavadoc}</skip>
250
273
          <author>true</author>
251
 
          <bottom>true</bottom>
252
274
          <!--<destDir>${project.build.directory}/site/javadoc</destDir> -->
253
275
          <header><![CDATA[<a href="/" target="_top">ehcache</a>]]></header>
254
276
          <minmemory>128m</minmemory>
277
299
              <!--${ydoc.home}/lib/ydoc.jar -umlautogen -->
278
300
              <!--</additionalparam> -->
279
301
              <author>true</author>
280
 
              <bottom>true</bottom>
281
302
              <!--<destDir>${project.build.directory}/site/javadoc</destDir> -->
282
303
              <header><![CDATA[<a href="/" target="_top">ehcache</a>]]></header>
283
304
              <minmemory>128m</minmemory>
292
313
        </executions>
293
314
      </plugin>
294
315
 
 
316
      <!--plugin>
 
317
        <groupId>org.apache.maven.plugins</groupId>
 
318
        <artifactId>maven-shade-plugin</artifactId>
 
319
        <version>1.7.1</version>
 
320
        <configuration>
 
321
          <artifactSet>
 
322
            <includes>
 
323
              <include>net.sf.ehcache:ehcache-rest-agent</include>
 
324
            </includes>
 
325
          </artifactSet>       
 
326
          <filters>
 
327
            <filter>
 
328
              <artifact>*:*</artifact>
 
329
              <excludes>
 
330
                <exclude>**/license.txt</exclude>
 
331
                <exclude>**/thirdpartylicenses.txt</exclude>
 
332
              </excludes>
 
333
            </filter>             
 
334
          </filters>    
 
335
          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
 
336
          <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>            
 
337
        </configuration>
 
338
        <executions>
 
339
          <execution>
 
340
            <id>shade-jar</id>
 
341
            <phase>package</phase>
 
342
            <goals>
 
343
              <goal>shade</goal>
 
344
            </goals>
 
345
          </execution>
 
346
        </executions>
 
347
      </plugin--> 
 
348
      
295
349
      <plugin>
296
350
        <groupId>org.codehaus.gmaven</groupId>
297
351
        <artifactId>gmaven-plugin</artifactId>
347
401
 
348
402
      <plugin>
349
403
        <groupId>org.apache.maven.plugins</groupId>
350
 
        <artifactId>maven-pdf-plugin</artifactId>
351
 
        <version>1.1</version>
352
 
        <executions>
353
 
          <execution>
354
 
            <id>pdf</id>
355
 
            <phase>pre-site</phase>
356
 
            <goals>
357
 
              <goal>pdf</goal>
358
 
            </goals>
359
 
            <configuration>
360
 
              <outputDirectory>target/site/documentation</outputDirectory>
361
 
              <includeReports>false</includeReports>
362
 
            </configuration>
363
 
          </execution>
364
 
        </executions>
365
 
      </plugin>
366
 
 
367
 
      <plugin>
368
 
        <groupId>org.apache.maven.plugins</groupId>
369
404
        <artifactId>maven-source-plugin</artifactId>
370
405
        <version>2.0.3</version>
371
406
      </plugin>
433
468
        <version>2.7</version>
434
469
        <executions>
435
470
          <execution>
436
 
            <phase>install</phase>
 
471
            <phase>verify</phase>
437
472
            <goals>
438
473
              <goal>checkstyle</goal>
439
474
            </goals>
445
480
          <headerLocation>${basedir}/checkstyle/ClassHeader.txt</headerLocation>
446
481
          <skip>${skipCheckstyle}</skip>
447
482
          <enableRSS>false</enableRSS>
448
 
          <linkXRef>true</linkXRef>
 
483
          <linkXRef>false</linkXRef>
449
484
          <consoleOutput>true</consoleOutput>
450
485
          <failsOnError>true</failsOnError>
451
486
          <failOnViolation>true</failOnViolation>
454
489
        </configuration>
455
490
      </plugin>
456
491
 
457
 
 
458
 
      <!-- Use this to specify a different template. It also needs a local
459
 
        copy of maven-base.css -->
460
 
      <plugin>
461
 
        <groupId>org.apache.maven.plugins</groupId>
462
 
        <artifactId>maven-site-plugin</artifactId>
463
 
        <version>2.1</version>
464
 
        <configuration>
465
 
          <templateFile>${basedir}/src/site/default-site-ehcache.vm
466
 
          </templateFile>
467
 
          <inputEncoding>UTF-8</inputEncoding>
468
 
          <outputEncoding>UTF-8</outputEncoding>
469
 
        </configuration>
470
 
        <dependencies>
471
 
          <dependency>
472
 
            <groupId>org.apache.maven.doxia</groupId>
473
 
            <artifactId>doxia-module-confluence</artifactId>
474
 
            <version>1.1.3</version>
475
 
          </dependency>
476
 
        </dependencies>
477
 
      </plugin>
478
 
 
479
492
      <plugin>
480
493
        <groupId>org.codehaus.mojo</groupId>
481
494
        <artifactId>xml-maven-plugin</artifactId>
504
517
      </plugin>
505
518
 
506
519
      <plugin>
 
520
        <groupId>org.apache.maven.plugins</groupId>
507
521
        <artifactId>maven-assembly-plugin</artifactId>
508
 
        <version>2.2-beta-5</version>
 
522
        <version>2.3</version>
509
523
        <configuration>
510
524
          <filters>
511
525
            <filter>${basedir}/src/assemble/filter.properties</filter>
653
667
 
654
668
  <profiles>
655
669
    <profile>
656
 
      <id>site</id>
657
 
      <build>
658
 
        <plugins>
659
 
          <plugin>
660
 
            <groupId>org.apache.maven.plugins</groupId>
661
 
            <artifactId>maven-antrun-plugin</artifactId>
662
 
            <version>1.3</version>
663
 
            <executions>
664
 
              <!--execution>
665
 
                <id>rmic</id>
666
 
                <phase>compile</phase>
667
 
                <configuration>
668
 
                  <tasks>
669
 
                    <rmic base="${project.build.outputDirectory}"
670
 
                      includes="**/RMICachePeer.class" compiler="forking">
671
 
                    </rmic>
672
 
                  </tasks>
673
 
                </configuration>
674
 
                <goals>
675
 
                  <goal>run</goal>
676
 
                </goals>
677
 
              </execution-->
678
 
 
679
 
              <execution>
680
 
                <id>show_toc</id>
681
 
                <phase>pre-site</phase>
682
 
                <configuration>
683
 
                  <tasks>
684
 
                    <ant target="show_toc"/>
685
 
                  </tasks>
686
 
                </configuration>
687
 
                <goals>
688
 
                  <goal>run</goal>
689
 
                </goals>
690
 
              </execution>
691
 
 
692
 
              <execution>
693
 
                <id>hide_toc</id>
694
 
                <phase>site</phase>
695
 
                <configuration>
696
 
                  <tasks>
697
 
                    <ant target="hide_toc"/>
698
 
                  </tasks>
699
 
                </configuration>
700
 
                <goals>
701
 
                  <goal>run</goal>
702
 
                </goals>
703
 
              </execution>
704
 
 
705
 
              <execution>
706
 
                <id>copy_files</id>
707
 
                <phase>compile</phase>
708
 
                <configuration>
709
 
                  <tasks>
710
 
                    <ant target="copy_files"/>
711
 
                  </tasks>
712
 
                </configuration>
713
 
                <goals>
714
 
                  <goal>run</goal>
715
 
                </goals>
716
 
              </execution>
717
 
 
718
 
              <execution>
719
 
                <id>copy_image_files</id>
720
 
                <phase>compile</phase>
721
 
                <configuration>
722
 
                  <tasks>
723
 
                    <ant target="copy_image_files"/>
724
 
                  </tasks>
725
 
                </configuration>
726
 
                <goals>
727
 
                  <goal>run</goal>
728
 
                </goals>
729
 
              </execution>
730
 
            </executions>
731
 
          </plugin>
732
 
        </plugins>
733
 
      </build>
734
 
    </profile>
735
 
    <profile>
736
670
      <id>staging</id>
737
671
      <build>
738
672
        <plugins>
831
765
        </property>
832
766
      </activation>
833
767
      <properties>
834
 
        <tests.supplemental.args>-XXfullSystemGC</tests.supplemental.args>
 
768
        <tests.supplemental.args>-XXfullSystemGC -Xverbose:systemgc</tests.supplemental.args>
835
769
      </properties>
836
770
    </profile>
837
771
 
877
811
    </profile>
878
812
  </profiles>
879
813
 
880
 
 
881
 
  <!-- Reports & Site Note: mvn site does not work. Use build-site.sh instead -->
882
 
  <reporting>
883
 
    <plugins>
884
 
 
885
 
      <!--Reports -->
886
 
      <plugin>
887
 
        <groupId>org.apache.maven.plugins</groupId>
888
 
        <artifactId>maven-project-info-reports-plugin</artifactId>
889
 
        <version>2.1.2</version>
890
 
        <reportSets>
891
 
          <reportSet>
892
 
            <reports>
893
 
              <report>project-team</report>
894
 
              <report>mailing-list</report>
895
 
              <report>issue-tracking</report>
896
 
              <report>license</report>
897
 
              <report>scm</report>
898
 
            </reports>
899
 
          </reportSet>
900
 
        </reportSets>
901
 
      </plugin>
902
 
 
903
 
      <!--Manual Changelist -->
904
 
      <plugin>
905
 
        <groupId>org.apache.maven.plugins</groupId>
906
 
        <artifactId>maven-changes-plugin</artifactId>
907
 
        <version>2.3</version>
908
 
        <configuration>
909
 
          <issueLinkTemplatePerSystem>
910
 
            <JIRA>https://jira.terracotta.org/jira/browse/%ISSUE%</JIRA>
911
 
          </issueLinkTemplatePerSystem>
912
 
        </configuration>
913
 
 
914
 
        <reportSets>
915
 
          <reportSet>
916
 
            <reports>
917
 
              <report>changes-report</report>
918
 
            </reports>
919
 
          </reportSet>
920
 
        </reportSets>
921
 
      </plugin>
922
 
 
923
 
      <!--Java Cross Reference (JXR) -->
924
 
      <plugin>
925
 
        <groupId>org.codehaus.mojo</groupId>
926
 
        <artifactId>jxr-maven-plugin</artifactId>
927
 
        <version>2.0-beta-1</version>
928
 
        <configuration>
929
 
          <outputDirectory>${project.build.directory}/site</outputDirectory>
930
 
          <docTitle>ehcache</docTitle>
931
 
        </configuration>
932
 
      </plugin>
933
 
 
934
 
 
935
 
    </plugins>
936
 
  </reporting>
937
 
 
938
814
  <!-- The JBoss repository is only here to satisfy the 'provided' dependency
939
815
    on hibernate-core -->
940
816
  <repositories>