This commit is contained in:
caomeng5@huawei.com 2019-12-17 16:23:24 +08:00
parent 1028403e66
commit d3f98147bc
24 changed files with 1432 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Description>hibernate ${m}</Bundle-Description>
<Bundle-SymbolicName>org.hibernate.${m}</Bundle-SymbolicName>
<Bundle-Name>hibernate-${m}</Bundle-Name>
<Bundle-Vendor>Hibernate.org</Bundle-Vendor>
<Bundle-Version>${project.version}</Bundle-Version>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>

19
Bundle-Description.txt Normal file
View File

@ -0,0 +1,19 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Description>hibernate core</Bundle-Description>
<Bundle-SymbolicName>org.hibernate.core</Bundle-SymbolicName>
<Bundle-Name>hibernate-core</Bundle-Name>
<Bundle-Vendor>Hibernate.org</Bundle-Vendor>
<Bundle-Version>${project.version}</Bundle-Version>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>

15
Implementation.txt Normal file
View File

@ -0,0 +1,15 @@
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifest>
<addClasspath>false</addClasspath>
<mainClass>org.hibernate.Version</mainClass>
</manifest>
<manifestEntries>
<Implementation-Url>http://hibernate.org</Implementation-Url>
<Implementation-Vendor>Hibernate.org</Implementation-Vendor>
<Implementation-Vendor-Id>org.hibernate</Implementation-Vendor-Id>
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</archive>
</configuration>

202
LICENSE-2.0.txt Normal file
View File

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

10
grammars.txt Normal file
View File

@ -0,0 +1,10 @@
<configuration>
<grammars>*</grammars>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>

Binary file not shown.

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.2.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate/c3p0 Integration</name>
<description>Integration for c3p0 Connection pooling into Hibernate O/RM</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,51 @@
<executions>
<execution>
<id>hibernate-configuration</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<schemaIncludes>
<include>cfg/legacy-configuration-4.0.xsd</include>
</schemaIncludes>
<bindingIncludes>
<include>hbm-configuration-bindings.xjb</include>
</bindingIncludes>
<generatePackage>org.hibernate.boot.jaxb.cfg.spi</generatePackage>
<generateDirectory>${project.build.directory}/generated-sources/hibernate-configuration</generateDirectory>
</configuration>
</execution>
<execution>
<id>hibernate-mapping</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<schemaIncludes>
<include>mapping/legacy-mapping-4.0.xsd</include>
</schemaIncludes>
<bindingIncludes>
<include>hbm-mapping-bindings.xjb</include>
</bindingIncludes>
<generatePackage>org.hibernate.boot.jaxb.hbm.spi</generatePackage>
<generateDirectory>${project.build.directory}/generated-sources/hibernate-mapping</generateDirectory>
<args>
<arg>-Xinheritance</arg>
<arg>-Xsimplify</arg>
</args>
</configuration>
</execution>
</executions>
<configuration>
<schemaDirectory>src/main/resources/org/hibernate/xsd</schemaDirectory>
<bindingDirectory>src/main/xjb</bindingDirectory>
<extension>true</extension>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<version>0.6.3</version>
</plugin>
</plugins>
</configuration>

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.18.1-GA</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jandex</artifactId>
<version>2.0.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>5.0.1.Final</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Core Hibernate O/RM functionality</name>
<description>The core O/RM functionality as provided by Hibernate</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.4.3</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate/Ehcache Integration</name>
<description>Integration for Ehcache into Hibernate as a second-level caching service</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>5.0.1.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.18.1-GA</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate JPA Support</name>
<description>Hibernate O/RM implementation of the JPA specification</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-envers</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>ENtity VERSioning support</name>
<description>ENtity VERSioning support</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-hikaricp</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java6</artifactId>
<version>2.3.3</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate/HikariCP Integration</name>
<description>Integration for HikariCP into Hibernate O/RM</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-infinispan</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-core</artifactId>
<version>7.2.5.Final</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate/Infinispan Integration</name>
<description>Integration for Infinispan into Hibernate as a second-level caching service</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-java8</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Java8-specific Hibernate O/RM functionality</name>
<description>Support for Java8-specific features - mainly Java8 Date/Time (JSR 310)</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-osgi</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.3.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>4.3.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate OSGi Support</name>
<description>Support for running Hibernate O/RM in OSGi environments</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
<version>5.0.10.Final</version>
<packaging>pom</packaging>
<name>Hibernate Parent</name>
<modules>
<module>hibernate-c3p0</module>
<module>hibernate-core</module>
<module>hibernate-ehcache</module>
<module>hibernate-entitymanager</module>
<module>hibernate-envers</module>
<module>hibernate-hikaricp</module>
<module>hibernate-infinispan</module>
<module>hibernate-java8</module>
<module>hibernate-osgi</module>
<module>hibernate-proxool</module>
<module>hibernate-spatial</module>
<module>hibernate-testing</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<encoding>UTF-8</encoding>
<aggregate>true</aggregate>
<breakiterator>true</breakiterator>
<doctitle>Hibernate JavaDoc ${project.version}</doctitle>
<header>Hibernate JavaDocs</header>
<quiet>true</quiet>
<stylesheetfile>${basedir}/shared/javadoc/stylesheet.css</stylesheetfile>
<overview>${basedir}/shared/javadoc/overview.html</overview>
<javadocDirectory>${basedir}/shared/javadoc</javadocDirectory>
<excludePackageNames>*.jaxb.*:*.internal.log:org.hibernate.annotations:org.hibernate.cfg.*</excludePackageNames>
<additionalparam>-Xdoclint:none</additionalparam>
<groups>
<group>
<title>API</title>
<packages>org.hibernate:org.hibernate.boot:org.hibernate.boot.model:org.hibernate.boot.model.naming:org.hibernate.boot.model.relational:org.hibernate.boot.registry:org.hibernate.boot.registry.selector:org.hibernate.cache:org.hibernate.cache.ehcache:org.hibernate.cache.ehcache.management.impl:org.hibernate.cache.infinispan:org.hibernate.cache.infinispan.access:org.hibernate.cache.infinispan.collection:org.hibernate.cache.infinispan.entity:org.hibernate.cache.infinispan.impl:org.hibernate.cache.infinispan.naturalid:org.hibernate.cache.infinispan.query:org.hibernate.cache.infinispan.timestamp:org.hibernate.cache.infinispan.tm:org.hibernate.cache.infinispan.util:org.hibernate.classic:org.hibernate.context:org.hibernate.criterion:org.hibernate.dialect:org.hibernate.dialect.function:org.hibernate.dialect.identity:org.hibernate.dialect.lock:org.hibernate.dialect.pagination:org.hibernate.dialect.unique:org.hibernate.ejb:org.hibernate.ejb.packaging:org.hibernate.engine:org.hibernate.engine.jdbc:org.hibernate.engine.jndi:org.hibernate.engine.profile:org.hibernate.envers:org.hibernate.envers.configuration:org.hibernate.envers.enhanced:org.hibernate.envers.exception:org.hibernate.envers.query:org.hibernate.envers.query.criteria:org.hibernate.envers.query.order:org.hibernate.envers.query.projection:org.hibernate.envers.strategy:org.hibernate.envers.tools:org.hibernate.exception:org.hibernate.id:org.hibernate.id.enhanced:org.hibernate.id.factory:org.hibernate.id.insert:org.hibernate.id.uuid:org.hibernate.jdbc:org.hibernate.jpa:org.hibernate.jpa.criteria:org.hibernate.jpa.criteria.compile:org.hibernate.jpa.criteria.expression:org.hibernate.jpa.criteria.expression.function:org.hibernate.jpa.criteria.path:org.hibernate.jpa.criteria.predicate:org.hibernate.loader:org.hibernate.loader.collection:org.hibernate.loader.collection.plan:org.hibernate.loader.criteria:org.hibernate.loader.custom:org.hibernate.loader.custom.sql:org.hibernate.loader.entity:org.hibernate.loader.entity.plan:org.hibernate.loader.hql:org.hibernate.lob:org.hibernate.mapping:org.hibernate.metadata:org.hibernate.osgi:org.hibernate.param:org.hibernate.persister.collection:org.hibernate.persister.entity:org.hibernate.pretty:org.hibernate.procedure:org.hibernate.proxy:org.hibernate.proxy.map:org.hibernate.proxy.pojo:org.hibernate.proxy.pojo.javassist:org.hibernate.resource.jdbc:org.hibernate.resource.transaction:org.hibernate.result:org.hibernate.service:org.hibernate.spatial:org.hibernate.spatial.criterion:org.hibernate.spatial.dialect.h2geodb:org.hibernate.spatial.dialect.mysql:org.hibernate.spatial.dialect.oracle:org.hibernate.spatial.dialect.oracle.criterion:org.hibernate.spatial.dialect.postgis:org.hibernate.spatial.dialect.sqlserver:org.hibernate.spatial.integration:org.hibernate.spatial.jts:org.hibernate.sql:org.hibernate.sql.ordering.antlr:org.hibernate.stat:org.hibernate.tool.enhance:org.hibernate.tool.hbm2ddl:org.hibernate.tool.instrument:org.hibernate.tool.instrument.javassist:org.hibernate.transform:org.hibernate.tuple:org.hibernate.tuple.component:org.hibernate.tuple.entity:org.hibernate.type:org.hibernate.type.descriptor:org.hibernate.type.descriptor.converter:org.hibernate.type.descriptor.java:org.hibernate.type.descriptor.sql:org.hibernate.usertype</packages>
</group>
<group>
<title>SPI</title>
<packages>*.spi.*</packages>
</group>
<group>
<title>Internal</title>
<packages>*.internal.*</packages>
</group>
<group>
<title>Testing Support</title>
<packages>org.hibernate.testing*</packages>
</group>
</groups>
<links>
<link>http://docs.oracle.com/javase/6/docs/api/</link>
<link>http://docs.oracle.com/javaee/6/api/</link>
</links>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<excludePackageNames>*.jaxb.*:*.internal.log</excludePackageNames>
</configuration>
</plugin>
</plugins>
</reporting>
</project>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-proxool</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>proxool</groupId>
<artifactId>proxool</artifactId>
<version>0.8.3</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate/Proxool Integration</name>
<description>Integration for Proxool Connection pooling into Hibernate O/RM</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-spatial</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>8.4-701.jdbc4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.geolatte</groupId>
<artifactId>geolatte-geom</artifactId>
<version>1.0.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Integrate support for Spatial/GIS data into Hibernate O/RM</name>
<description>Integrate support for Spatial/GIS data into Hibernate O/RM</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-testing</artifactId>
<version>5.0.10.Final</version>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.10.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.byteman</groupId>
<artifactId>byteman</artifactId>
<version>2.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.byteman</groupId>
<artifactId>byteman-install</artifactId>
<version>2.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.byteman</groupId>
<artifactId>byteman-bmunit</artifactId>
<version>2.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.experlog</groupId>
<artifactId>xapool</artifactId>
<version>1.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.jbossts</groupId>
<artifactId>jbossjta</artifactId>
<version>4.16.4.Final</version>
<scope>compile</scope>
</dependency>
</dependencies>
<name>Hibernate ORM Testing</name>
<description>Support for testing Hibernate ORM functionality</description>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<comments>See discussion at http://hibernate.org/license for more details.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<scm>
<url>http://github.com/hibernate/hibernate-orm</url>
<connection>scm:git:http://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
</scm>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
</project>

167
hibernate.spec Normal file
View File

@ -0,0 +1,167 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
%global pom_url http://repo1.maven.org/maven2/org/hibernate
Name: hibernate
Summary: an easy-to-use and powerful object relational persistence framework for Java applications
Version: 5.0.10
Release: 6
License: LGPLv2+ and ASL 2.0
URL: http://www.hibernate.org/
Source0: https://github.com/hibernate/hibernate-orm/archive/%{version}/%{name}-%{namedversion}.tar.gz
Source1: %{pom_url}/hibernate-c3p0/%{namedversion}/hibernate-c3p0-%{namedversion}.pom
Source2: %{pom_url}/hibernate-core/%{namedversion}/hibernate-core-%{namedversion}.pom
Source3: %{pom_url}/hibernate-ehcache/%{namedversion}/hibernate-ehcache-%{namedversion}.pom
Source4: %{pom_url}/hibernate-entitymanager/%{namedversion}/hibernate-entitymanager-%{namedversion}.pom
Source5: %{pom_url}/hibernate-envers/%{namedversion}/hibernate-envers-%{namedversion}.pom
Source6: %{pom_url}/hibernate-hikaricp/%{namedversion}/hibernate-hikaricp-%{namedversion}.pom
Source7: %{pom_url}/hibernate-infinispan/%{namedversion}/hibernate-infinispan-%{namedversion}.pom
Source8: %{pom_url}/hibernate-java8/%{namedversion}/hibernate-java8-%{namedversion}.pom
Source9: %{pom_url}/hibernate-osgi/%{namedversion}/hibernate-osgi-%{namedversion}.pom
Source10: %{pom_url}/hibernate-proxool/%{namedversion}/hibernate-proxool-%{namedversion}.pom
Source11: %{pom_url}/hibernate-spatial/%{namedversion}/hibernate-spatial-%{namedversion}.pom
Source12: %{pom_url}/hibernate-testing/%{namedversion}/hibernate-testing-%{namedversion}.pom
Source50: hibernate-parent-%{namedversion}.pom
Source60: http://www.apache.org/licenses/LICENSE-2.0.txt
Source61: logging-processor.txt
Source62: hibernate-configuration.txt
Source63: grammars.txt
Source64: target-source.txt
Source65: Bundle-Description.txt
Source66: Implementation.txt
Source67: Bundle-Description-Name.txt
Source68: manifestFile.txt
BuildRequires: maven-local mvn(antlr:antlr) mvn(com.experlog:xapool) mvn(com.fasterxml:classmate)
BuildRequires: mvn(com.mchange:c3p0) mvn(com.zaxxer:HikariCP) mvn(dom4j:dom4j) mvn(java_cup:java_cup)
BuildRequires: mvn(javax.enterprise:cdi-api) mvn(javax.validation:validation-api) mvn(junit:junit)
BuildRequires: mvn(net.sf.ehcache:ehcache-core) mvn(org.apache.ant:ant) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec) mvn(org.codehaus.mojo:antlr-maven-plugin)
BuildRequires: mvn(org.bsc.maven:maven-processor-plugin) mvn(org.apache.geronimo.specs:specs-parent:pom:)
BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi) mvn(org.hibernate.common:hibernate-commons-annotations)
BuildRequires: mvn(org.hibernate.javax.persistence:hibernate-jpa-2.1-api) mvn(org.javassist:javassist)
BuildRequires: mvn(org.jboss:jandex) mvn(org.jboss.byteman:byteman-bmunit) mvn(org.jboss.byteman:byteman)
BuildRequires: mvn(org.jboss.byteman:byteman-install) mvn(org.jboss.logging:jboss-logging-annotations)
BuildRequires: mvn(org.jboss.logging:jboss-logging) mvn(org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec)
BuildRequires: mvn(org.jboss.logging:jboss-logging-processor) mvn(org.jboss.narayana.jta:jta)
BuildRequires: mvn(org.jvnet.jaxb2.maven2:maven-jaxb22-plugin) mvn(proxool:proxool)
BuildRequires: mvn(org.rhq.helpers:rhq-pluginAnnotations) mvn(org.jvnet.jaxb2_commons:jaxb2-basics)
BuildRequires: mvn(org.infinispan:infinispan-core) >= 7.2.1
BuildArch: noarch
%description
Hibernate is a powerful, high-performance, feature-rich and very popular ORM solution for Java.
Hibernate facilitates development of persistent objects based on the common Java object model to
mirror the underlying database structure. This approach progresses the business performance to
some extent, advances development efficiency exceedingly and obtains preferable economical
efficiency and practicability.
Provides: %{name}-core = %{version}-%{release}
Provides: %{name}-c3p0 = %{version}-%{release}
Provides: %{name}-ehcache = %{version}-%{release}
Provides: %{name}-entitymanager = %{version}-%{release}
Provides: %{name}-envers = %{version}-%{release}
Provides: %{name}-hikaricp = %{version}-%{release}
Provides: %{name}-infinispan = %{version}-%{release}
Provides: %{name}-java8 = %{version}-%{release}
Provides: %{name}-osgi = %{version}-%{release}
Provides: %{name}-parent = %{version}-%{release}
Provides: %{name}-proxool = %{version}-%{release}
Provides: %{name}-spatial = %{version}-%{release}
Provides: %{name}-testing = %{version}-%{release}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-core < %{version}-%{release}
Obsoletes: %{name}-c3p0 < %{version}-%{release}
Obsoletes: %{name}-ehcache < %{version}-%{release}
Obsoletes: %{name}-entitymanager < %{version}-%{release}
Obsoletes: %{name}-envers < %{version}-%{release}
Obsoletes: %{name}-hikaricp < %{version}-%{release}
Obsoletes: %{name}-infinispan < %{version}-%{release}
Obsoletes: %{name}-java8 < %{version}-%{release}
Obsoletes: %{name}-osgi < %{version}-%{release}
Obsoletes: %{name}-parent < %{version}-%{release}
Obsoletes: %{name}-proxool < %{version}-%{release}
Obsoletes: %{name}-spatial < %{version}-%{release}
Obsoletes: %{name}-testing < %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%prep
%autosetup -p1 -n %{name}-orm-%{version}
find . -name "*.jar" -delete
find . -name "*.class" -delete
rm -r documentation/*
cp -p %{SOURCE1} hibernate-c3p0/pom.xml
cp -p %{SOURCE2} hibernate-core/pom.xml
cp -p %{SOURCE3} hibernate-ehcache/pom.xml
cp -p %{SOURCE4} hibernate-entitymanager/pom.xml
cp -p %{SOURCE5} hibernate-envers/pom.xml
cp -p %{SOURCE6} hibernate-hikaricp/pom.xml
cp -p %{SOURCE7} hibernate-infinispan/pom.xml
cp -p %{SOURCE8} hibernate-java8/pom.xml
cp -p %{SOURCE9} hibernate-osgi/pom.xml
cp -p %{SOURCE10} hibernate-proxool/pom.xml
cp -p %{SOURCE11} hibernate-spatial/pom.xml
cp -p %{SOURCE12} hibernate-testing/pom.xml
cp -p %{SOURCE50} pom.xml
cp -p %{SOURCE60} .
sed -i 's/\r//' LICENSE-2.0.txt
for m in entitymanager envers core; do
%pom_add_plugin org.bsc.maven:maven-processor-plugin:2.2.4 hibernate-${m} "`cat %{SOURCE61}`"
done
pushd hibernate-core
%pom_add_plugin "org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:0.12.3" . "`cat %{SOURCE62}`"
%pom_add_plugin "org.codehaus.mojo:antlr-maven-plugin:2.2" . "`cat %{SOURCE63}`"
%pom_add_plugin "org.apache.maven.plugins:maven-compiler-plugin:3.3" . "`cat %{SOURCE64}`"
%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.5.4 . "`cat %{SOURCE65}`"
%pom_add_plugin org.apache.maven.plugins:maven-jar-plugin:2.6 . "`cat %{SOURCE66}`"
%pom_add_dep "com.fasterxml:classmate:1.1.0"
%pom_add_dep "javax.validation:validation-api:1.1.0.Final"
%pom_add_dep "org.apache.ant:ant:1.9.4:provided"
%pom_add_dep "org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec:1.0.2.Final"
%pom_add_dep "junit:junit:4.12:test"
%pom_add_dep "org.hibernate:hibernate-testing:%{namedversion}:test"
popd
%pom_add_dep "javax.enterprise:cdi-api:1.2" hibernate-entitymanager
%pom_change_dep "com.zaxxer:HikariCP-java6" "com.zaxxer:HikariCP:2.4.0" hibernate-hikaricp
%pom_change_dep "org.osgi:org.osgi.core" "org.eclipse.osgi:org.eclipse.osgi:3.10.102.v20160416-2200" hibernate-osgi
%pom_remove_dep "org.osgi:org.osgi.compendium" hibernate-osgi
%pom_change_dep "org.jboss.jbossts:jbossjta" "org.jboss.narayana.jta:jta" hibernate-testing
for m in c3p0 ehcache entitymanager envers hikaricp infinispan java8 osgi proxool spatial testing; do
%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.5.4 hibernate-${m} "`cat %{SOURCE67}`"
%pom_add_plugin org.apache.maven.plugins:maven-jar-plugin:2.6 hibernate-${m} "`cat %{SOURCE68}`"
done
for f in $(grep -e 'Pedersen\|Lichtmaier\|Chanfreau\|Benke\|Carlos\|CREATE\ SCHEMA' --include *.java -r -l | sort | uniq); do
native2ascii -encoding UTF8 ${f} ${f}
done
%pom_disable_module hibernate-spatial
%build
%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files
%dir %{_datadir}
%{_datadir}/*
%doc changelog.txt README.md migration-guide.adoc
%license lgpl.txt LICENSE-2.0.txt
%doc hibernate-osgi/README.md
%changelog
* Fri Dec 13 2019 caomeng<caomeng5@huawei.com> - 5.0.10-6
- Package init

22
logging-processor.txt Normal file
View File

@ -0,0 +1,22 @@
<configuration>
<defaultOutputDirectory>\${project.build.directory}/generated-sources/logging</defaultOutputDirectory>
<processors>
<processor>org.jboss.logging.processor.apt.LoggingToolsProcessor</processor>
</processors>
</configuration>
<executions>
<execution>
<id>process</id>
<phase>generate-sources</phase>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-processor</artifactId>
<version>2.0.1.Final</version>
</dependency>
</dependencies>

11
manifestFile.txt Normal file
View File

@ -0,0 +1,11 @@
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Implementation-Url>http://hibernate.org</Implementation-Url>
<Implementation-Vendor>Hibernate.org</Implementation-Vendor>
<Implementation-Vendor-Id>org.hibernate</Implementation-Vendor-Id>
<Implementation-Version>${project.version}</Implementation-Version>
</manifestEntries>
</archive>
</configuration>

5
target-source.txt Normal file
View File

@ -0,0 +1,5 @@
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
<inherited>true</inherited>