- 修改 shouldVerifyCacheManager_withMaximumIntegerTtl 为 shouldVerifyCacheManager_withMaximumAllowedTtl - 使用正确的最大TTL值(10080分钟,7天)而不是 Integer.MAX_VALUE - 新增 shouldThrowException_whenTtlExceedsMaximum 测试验证边界检查 - 所有1266个测试用例通过 - 覆盖率: 指令81.89%, 行88.48%, 分支51.55% docs: 添加项目状态报告 - 生成 PROJECT_STATUS_REPORT.md 详细记录项目当前状态 - 包含质量指标、已完成功能、待办事项和技术债务
360 lines
15 KiB
XML
360 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2018, 2022 Oracle and/or its affiliates. All rights reserved.
|
|
|
|
This program and the accompanying materials are made available under the
|
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
http://www.eclipse.org/legal/epl-2.0,
|
|
or the Eclipse Distribution License v. 1.0 which is available at
|
|
http://www.eclipse.org/org/documents/edl-v10.php.
|
|
|
|
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
|
|
|
|
-->
|
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.eclipse.ee4j</groupId>
|
|
<artifactId>project</artifactId>
|
|
<version>1.0.7</version>
|
|
<relativePath/>
|
|
</parent>
|
|
|
|
<groupId>jakarta.persistence</groupId>
|
|
<artifactId>jakarta.persistence-api</artifactId>
|
|
<version>3.1.0</version>
|
|
|
|
<name>Jakarta Persistence API</name>
|
|
<url>https://github.com/eclipse-ee4j/jpa-api</url>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/eclipse-ee4j/jpa-api.git</connection>
|
|
<developerConnection>scm:git:git@github.com:eclipse-ee4j/jpa-api.git</developerConnection>
|
|
<url>https://github.com/eclipse-ee4j/jpa-api.git</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Eclipse Public License v. 2.0</name>
|
|
<url>http://www.eclipse.org/legal/epl-2.0</url>
|
|
<distribution>repo</distribution>
|
|
<comments>Standard Eclipse Licence</comments>
|
|
</license>
|
|
<license>
|
|
<name>Eclipse Distribution License v. 1.0</name>
|
|
<url>http://www.eclipse.org/org/documents/edl-v10.php</url>
|
|
<distribution>repo</distribution>
|
|
<comments>Standard Eclipse Distribution License</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>lukasj</id>
|
|
<name>Lukas Jungmann</name>
|
|
<organization>Oracle, Inc.</organization>
|
|
<roles>
|
|
<role>lead</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<issueManagement>
|
|
<system>IssueTracker</system>
|
|
<url>https://github.com/eclipse-ee4j/jpa-api/issues</url>
|
|
</issueManagement>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>Community discussions</name>
|
|
<subscribe>https://accounts.eclipse.org/mailing-list/jpa-dev</subscribe>
|
|
<unsubscribe>https://accounts.eclipse.org/mailing-list/jpa-dev</unsubscribe>
|
|
<post>jpa-dev@eclipse.org</post>
|
|
<archive>https://dev.eclipse.org/mhonarc/lists/jpa-dev/</archive>
|
|
<otherArchives>
|
|
<otherArchive>http://dev.eclipse.org/mhonarc/lists/jpa-dev/maillist.rss</otherArchive>
|
|
</otherArchives>
|
|
</mailingList>
|
|
</mailingLists>
|
|
|
|
<properties>
|
|
<copyright.exclude>${project.basedir}/copyright-exclude</copyright.exclude>
|
|
<copyright.ignoreyear>false</copyright.ignoreyear>
|
|
<copyright.scmonly>true</copyright.scmonly>
|
|
<copyright.template>${project.basedir}/copyright-template</copyright.template>
|
|
<copyright.update>false</copyright.update>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<spec.non.final>false</spec.non.final>
|
|
<spec.version>3.1</spec.version>
|
|
<spec.build>01</spec.build>
|
|
<spec.impl.version>3.1.0</spec.impl.version>
|
|
<spec.api.package>jakarta.persistence</spec.api.package>
|
|
<spec.new.spec.version>3.1</spec.new.spec.version>
|
|
<legal.doc.source>${project.basedir}/..</legal.doc.source>
|
|
<vendor.name>Eclipse Foundation</vendor.name>
|
|
</properties>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.glassfish.build</groupId>
|
|
<artifactId>spec-version-maven-plugin</artifactId>
|
|
<version>2.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.9.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>5.1.4</version>
|
|
<configuration>
|
|
<instructions>
|
|
<_noextraheaders>true</_noextraheaders>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.glassfish.copyright</groupId>
|
|
<artifactId>glassfish-copyright-maven-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-legal-resource</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>add-resource</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resources>
|
|
<resource>
|
|
<directory>${legal.doc.source}</directory>
|
|
<includes>
|
|
<include>NOTICE.md</include>
|
|
<include>LICENSE.md</include>
|
|
</includes>
|
|
<targetPath>META-INF</targetPath>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>currentyear-property</id>
|
|
<goals>
|
|
<goal>timestamp-property</goal>
|
|
</goals>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<name>current.year</name>
|
|
<locale>en,US</locale>
|
|
<pattern>yyyy</pattern>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<configuration>
|
|
<rules>
|
|
<requireJavaVersion>
|
|
<version>[11,)</version>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>display-info</goal>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.glassfish.copyright</groupId>
|
|
<artifactId>glassfish-copyright-maven-plugin</artifactId>
|
|
<configuration>
|
|
<templateFile>${copyright.template}</templateFile>
|
|
<excludeFile>${copyright.exclude}</excludeFile>
|
|
<!-- skip files not under SCM-->
|
|
<scmOnly>${copyright.scmonly}</scmOnly>
|
|
<!-- for use with repair -->
|
|
<update>${copyright.update}</update>
|
|
<!-- check that year is correct -->
|
|
<ignoreYear>${copyright.ignoreyear}</ignoreYear>
|
|
<quiet>false</quiet>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.glassfish.build</groupId>
|
|
<artifactId>spec-version-maven-plugin</artifactId>
|
|
<configuration>
|
|
<specMode>jakarta</specMode>
|
|
<spec>
|
|
<nonFinal>${spec.non.final}</nonFinal>
|
|
<jarType>api</jarType>
|
|
<specVersion>${spec.version}</specVersion>
|
|
<specBuild>${spec.build}</specBuild>
|
|
<specImplVersion>${spec.impl.version}</specImplVersion>
|
|
<apiPackage>${spec.api.package}</apiPackage>
|
|
<newSpecVersion>${spec.new.spec.version}</newSpecVersion>
|
|
</spec>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>set-spec-properties</goal>
|
|
<!-- TODO:
|
|
glassfish-spec-version-maven-plugin needs to be updated
|
|
in order to check 'jakarta.' prefixed values in manifest entries
|
|
-->
|
|
<!--<goal>check-module</goal>-->
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<release>11</release>
|
|
<compilerArgs>
|
|
<arg>-Xlint:all</arg>
|
|
</compilerArgs>
|
|
<showWarnings>true</showWarnings>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<configuration>
|
|
<niceManifest>true</niceManifest>
|
|
<instructions>
|
|
<Bundle-Description>Jakarta Persistence ${spec.specification.version} API jar</Bundle-Description>
|
|
<Bundle-Name>Jakarta Persistence API jar</Bundle-Name>
|
|
<Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
|
|
<Bundle-Version>${spec.bundle.version}</Bundle-Version>
|
|
<Extension-Name>${spec.extension.name}</Extension-Name>
|
|
<Implementation-Version>${spec.implementation.version}</Implementation-Version>
|
|
<Specification-Vendor>${vendor.name}</Specification-Vendor>
|
|
<Specification-Version>${spec.specification.version}</Specification-Version>
|
|
</instructions>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>osgi-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultEntries>false</addDefaultEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultEntries>false</addDefaultEntries>
|
|
</manifest>
|
|
</archive>
|
|
<release>11</release>
|
|
<quiet>true</quiet>
|
|
<notimestamp>true</notimestamp>
|
|
<docfilessubdirs>true</docfilessubdirs>
|
|
<description>Jakarta Persistence API documentation</description>
|
|
<doctitle>Jakarta Persistence API documentation</doctitle>
|
|
<windowtitle>Jakarta Persistence API documentation</windowtitle>
|
|
<header><![CDATA[<br>Jakarta Persistence API v${project.version}]]>
|
|
</header>
|
|
<bottom><![CDATA[<br>
|
|
Comments to: <a href="mailto:jpa-dev@eclipse.org">jpa-dev@eclipse.org</a>.<br>
|
|
Copyright © 2019, ${current.year} Eclipse Foundation. All rights reserved.<br>
|
|
Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
|
|
</bottom>
|
|
<groups>
|
|
<group>
|
|
<title>Jakarta Persistence API Packages</title>
|
|
<packages>jakarta.persistence*</packages>
|
|
</group>
|
|
</groups>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|