4 Star 3 Fork 2

Gitee 极速下载/cache2k

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/headissue/cache2k
克隆/下载
pom.xml 24.39 KB
一键复制 编辑 原始数据 按行查看 历史
Jens Wilke 提交于 2022-02-11 16:08 +08:00 . update JaCoCo version
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.cache2k</groupId>
<artifactId>cache2k-parent</artifactId>
<packaging>pom</packaging>
<version>2.8-SNAPSHOT</version>
<!-- This name is also used as header for the cache2k.org homepage -->
<name>cache2k Java Caching</name>
<description>A light weight and high performance Java caching library. Android and Java 6 compatible.</description>
<url>https://cache2k.org</url>
<inceptionYear>2000</inceptionYear>
<organization>
<name>headissue GmbH, Munich</name>
<url>https://headissue.com</url>
</organization>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/cache2k/cache2k/issues</url>
</issueManagement>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:cache2k/cache2k.git</connection>
<developerConnection>scm:git:git@github.com:cache2k/cache2k.git</developerConnection>
<url>https://github.com/cache2k/cache2k.git</url>
</scm>
<developers>
<developer>
<name>Jens Wilke</name>
<timezone>+1</timezone>
</developer>
</developers>
<modules>
<module>cache2k-java11-parent</module>
<module>cache2k-api</module>
<module>cache2k-core</module>
<module>cache2k-jmx</module>
<module>cache2k-config</module>
<module>cache2k-schema</module>
<module>cache2k-addon</module>
<!-- not deployed on OSS central -->
<module>cache2k-testsuite</module>
<module>test-parent</module>
<module>cache2k-jcache-tests</module>
<module>test-init</module>
<module>test-kotlin</module>
<!-- only active with jdk11
<module>test-init-java11</module>
-->
<module>documentation</module>
<module>cache2k-testing</module>
<module>build-config</module>
<!-- other, maybe deployed later -->
<module>cache2k-pinpoint</module>
<!-- other, deployed -->
<module>cache2k-spring</module>
<module>cache2k-micrometer</module>
<module>cache2k-jcache</module>
<!-- a deployed module must be last for the
nexus staging deploy / OSS release -->
</modules>
<properties>
<series>latest</series>
<buildNumber>undefined</buildNumber>
<timestamp>0</timestamp>
<gitBranch>unknown</gitBranch>
<gitSha1>unknown</gitSha1>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jcache.version>1.1.0</jcache.version>
<jacoco-maven-plugin-version>0.8.7</jacoco-maven-plugin-version>
<junit4.version>4.13.2</junit4.version>
<junit5.version>5.8.2</junit5.version>
<assertj.version>3.21.0</assertj.version>
<h7e.recycle.test.coverage>jacoco-instrument</h7e.recycle.test.coverage>
<android.plugin.version>4.5.0</android.plugin.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<useIncrementalCompilation>false</useIncrementalCompilation>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<licenseName>apache_v2</licenseName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
<X-Git-Branch>${gitBranch}</X-Git-Branch>
<X-Git-SHA1>${gitSha1}</X-Git-SHA1>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
Always exclude long running timing tests. Run tests in parallel.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
<excludedGroups>org.cache2k.testing.category.StorageTests,org.cache2k.testing.category.TimingTests,org.cache2k.testing.category.ExclusiveTests</excludedGroups>
<!-- Also run tests in inner classes,https://github.com/junit-team/junit5/issues/1377 -->
<excludes>
<exclude/>
</excludes>
<runOrder>random</runOrder>
<!-- some tests are waiting for timer events, more threads per core is useful -->
<parallel>classes</parallel>
<threadCount>2</threadCount>
<perCoreThreadCount>true</perCoreThreadCount>
<systemPropertyVariables>
<org.cache2k.sharpExpirySafetyGapMillis>7654</org.cache2k.sharpExpirySafetyGapMillis>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<!-- needed for the special site theme -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<source>8</source>
<!-- javadoc 11 fails without it -->
<detectJavaApiLink>false</detectJavaApiLink>
<additionalJOption>-Xdoclint:all</additionalJOption>
<additionalJOption>-Xdoclint:-missing</additionalJOption>
<!-- no aggregation, we want to have docs on the API package alone -->
<!--
<linksource>true</linksource>
-->
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<!-- javadoc on Java 11 says, error fetching link. Unclear why.
<link>https://cache2k.org/docs/jcache/1.1.0/apidocs/cache-api/</link>
-->
</links>
<quiet>true</quiet>
<bottom>
<![CDATA[<a href="http://cache2k.org" target="_blank">cache2k</a> API documentation. Copyright &#169; {inceptionYear}&#x2013;{currentYear} <a href="http://headissue.com" target="_blank">headissue GmbH, Munich</a>.]]>
</bottom>
<detectOfflineLinks>false</detectOfflineLinks>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<configuration>
<executable>gpg2</executable>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- taken from sonatype oss parent -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- taken from sonatype oss parent -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.8</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version>
<!-- dependency means the jar needs to be installed. use absolute project path instead.
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>build-config</artifactId>
<version>${pom.version}</version>
</dependency>
</dependencies>
-->
</plugin>
</plugins>
<extensions>
<!-- Needed for scpexe deploy -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
</extension>
</extensions>
</build>
<distributionManagement>
<site>
<id>cache2k</id>
<url>file:/tmp/cache2k-site</url>
</site>
</distributionManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<reports>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- javadoc 11 fails without it -->
<detectJavaApiLink>false</detectJavaApiLink>
<!-- COPY OF BUILD SECTION -->
<additionalJOption>-Xdoclint:all</additionalJOption>
<additionalJOption>-Xdoclint:-missing</additionalJOption>
<!--
<linksource>true</linksource>
-->
<!--
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<link>https://cache2k.org/docs/jcache/1.1.0/apidocs/cache-api/</link>
</links>
-->
<quiet>true</quiet>
<bottom>
<![CDATA[<a href="http://cache2k.org" target="_blank">cache2k</a> API documentation. Copyright &#169; {inceptionYear}&#x2013;{currentYear} <a href="http://headissue.com" target="_blank">headissue GmbH, Munich</a>.]]>
</bottom>
<detectOfflineLinks>false</detectOfflineLinks> </configuration>
<reportSets>
<reportSet>
<id>html</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<profiles>
<!-- profile used for the oss release via sonatype. This is taken from
oss-parent-9.pom -->
<profile>
<id>sonatype-oss-release</id>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- sign artifact, see:
https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven
override sonatype key signing to configure correct key name
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<keyname>D37F5C87</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- skip remote stating lets us inspect the locally staged artifacts first
-->
<skipRemoteStaging>true</skipRemoteStaging>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>11</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- enabling the jacoco agent for running the tests. results are written to target/jacoco.exec -->
<profile>
<id>jacoco-instrument</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin-version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- profile to merge a report for the total test coverage. use it with
mvn -Pjacoco-merge jacoco:merge jacoco:report -->
<profile>
<id>jacoco-merge</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin-version}</version>
<configuration>
<excludes>
<exclude>org/cache2k/testsuite/**/*</exclude>
</excludes>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<includes>
<include>**/*.exec</include>
</includes>
</fileSet>
</fileSets>
<destFile>${project.build.directory}/jacoco.exec</destFile>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!--
profile for doing static analysis, normal reports are switched off
run with: mvn -Pstatic-analysis site
-->
<profile>
<id>static-analysis</id>
<!-- pmd gets called directly via pmd:pmd, which uses the configuration in the build scope
and not the reporting scope used by site builds.
we don't use the site build, since this generates documentation etc. and we want
like to generate the static analytics metrics separately.
-->
<build>
<plugins>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.7</version>
<configuration>
<targetJdk>1.8</targetJdk>
<linkXRef>false</linkXRef>
<rulesets>
<ruleset>${user.dir}/config/pmd-rulesets.xml</ruleset>
</rulesets>
<skipEmptyReport>false</skipEmptyReport>
<excludes>
<COMMENT>exclusions for code from JSR107 TCK</COMMENT>
<exclude>org/jsr107/**/*.java</exclude>
<exclude>domain/*.java</exclude>
</excludes>
</configuration>
</plugin>
-->
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<!-- Seems not to be set in Jenkins maven environment -->
<configLocation>${maven.multiModuleProjectDirectory}/build-config/src/main/resources/cache2k/checkstyle.xml</configLocation>
</configuration>
</plugin>
<!-- skip normal project info -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
<reportSets>
<reportSet>
<reports>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</profile>
<!-- fast tests are run with coverage -->
<profile>
<id>fast-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- we only exclude, so TCK tests or unmarked tests run also -->
<configuration>
<excludedGroups>org.cache2k.testing.category.StorageTests,org.cache2k.testing.category.SlowTests,org.cache2k.testing.category.TimingTests,org.cache2k.testing.category.ExclusiveTests</excludedGroups>
<!-- jacoco instrumentation is not working GC debugging....
<argLine>-Xmx256m -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails</argLine>
-->
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>fast-tests-real-clock</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- we only exclude, so TCK tests or unmarked tests run also -->
<configuration>
<excludedGroups>org.cache2k.testing.category.StorageTests,org.cache2k.testing.category.SlowTests,org.cache2k.testing.category.TimingTests,org.cache2k.testing.category.ExclusiveTests</excludedGroups>
<systemPropertyVariables>
<disableSimulatedClock>true</disableSimulatedClock>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>slow-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<groups>org.cache2k.testing.category.SlowTests</groups>
<parallel>classes</parallel>
<perCoreThreadCount>true</perCoreThreadCount>
<threadCount>4</threadCount>
<!-- use forks
<forkCount>4C</forkCount>
<reuseForks>true</reuseForks>
<threadCount>1</threadCount>
<perCoreThreadCount>false</perCoreThreadCount>
-->
<!-- Reduce heap memory to detect leaks. -->
<!--
<argLine>-Xmx128m -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError="kill -3 %p"</argLine>
-->
<!-- make this test more verbose to investigate a VM crash
<argLine>-Xmx128m -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:OnOutOfMemoryError="kill -3 %p"</argLine>
<argLine>-XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGC -XX:+PrintCompilation</argLine>
<argLine>-XX:+PrintGC</argLine>
-->
<!--
Use a lower safety gap, since some tests will use a time value for expiry higher then
the safety gap.
-->
<systemPropertyVariables>
<org.cache2k.sharpExpirySafetyGapMillis>1234</org.cache2k.sharpExpirySafetyGapMillis>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<modules>
<module>test-init-java11</module>
</modules>
</profile>
<profile>
<id>NullAway</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne -Xep:NullAway:ERROR
-XepOpt:NullAway:AnnotatedPackages=org.cache2k
-XepOpt:NullAway:UnannotatedSubPackages=org.cache2k.pinpoint,org.cache2k.core,org.cache2k.test,org.cache2k.jcache,org.cache2k.extra
</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.4.0</version>
</path>
<!-- https://github.com/uber/NullAway/wiki/Configuration#maven -->
<path>
<groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId>
<version>0.8.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/cache2k.git
git@gitee.com:mirrors/cache2k.git
mirrors
cache2k
cache2k
master

搜索帮助