[hibernate-hql] Initial import

Marek Goldmann goldmann at fedoraproject.org
Fri Oct 18 17:28:08 UTC 2013


commit 621137971c2f041d6c6c0c47b92df3f3066127a9
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date:   Fri Oct 18 19:23:23 2013 +0200

    Initial import

 .gitignore                            |    1 +
 hibernate-hql-lucene-1.0.0.Alpha5.pom |  115 +++++++++++++++++++++++++++++++++
 hibernate-hql-parser-1.0.0.Alpha5.pom |  103 +++++++++++++++++++++++++++++
 hibernate-hql.spec                    |   68 +++++++++++++++++++
 pom.xml                               |   18 +++++
 sources                               |    1 +
 6 files changed, 306 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9868a30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/1.0.0.Alpha5.tar.gz
diff --git a/hibernate-hql-lucene-1.0.0.Alpha5.pom b/hibernate-hql-lucene-1.0.0.Alpha5.pom
new file mode 100644
index 0000000..2120f81
--- /dev/null
+++ b/hibernate-hql-lucene-1.0.0.Alpha5.pom
@@ -0,0 +1,115 @@
+<?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.hql</groupId>
+  <artifactId>hibernate-hql-lucene</artifactId>
+  <version>1.0.0.Alpha5</version>
+  <dependencies>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-search-engine</artifactId>
+      <version>4.4.0.Beta1</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate.javax.persistence</groupId>
+      <artifactId>hibernate-jpa-2.0-api</artifactId>
+      <version>1.0.1.Final</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate.hql</groupId>
+      <artifactId>hibernate-hql-parser</artifactId>
+      <version>1.0.0.Alpha5</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.logging</groupId>
+      <artifactId>jboss-logging</artifactId>
+      <version>3.1.1.GA</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  <name>Hibernate HQL/JP-QL Walker for Lucene</name>
+  <description>Creates Lucene query objects from HQL/JP-QL queries</description>
+  <url>http://ogm.hibernate.org/</url>
+  <inceptionYear>2012</inceptionYear>
+  <organization>
+    <name>Hibernate.org</name>
+    <url>http://www.hibernate.org/</url>
+  </organization>
+  <issueManagement>
+    <system>jira</system>
+    <url>https://hibernate.atlassian.net/browse/HQLPARSER</url>
+  </issueManagement>
+  <scm>
+    <url>http://github.com/hibernate/hibernate-hql-parser</url>
+    <connection>scm:git:http://github.com/hibernate/hibernate-hql-parser.git</connection>
+    <developerConnection>scm:git:git at github.com:hibernate/hibernate-hql-parser.git</developerConnection>
+  </scm>
+  <licenses>
+    <license>
+      <name>GNU Lesser General Public License</name>
+      <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
+      <comments>See also http://hibernate.org/license</comments>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <ciManagement>
+    <system>jenkins</system>
+    <url>http://ci.hibernate.org/</url>
+  </ciManagement>
+  <developers>
+    <developer>
+      <id>sannegrinovero</id>
+      <name>Sanne Grinovero</name>
+      <organization>Red Hat, Inc.</organization>
+      <email>sanne at hibernate.org</email>
+      <url>http://in.relation.to/Bloggers/Sanne</url>
+    </developer>
+    <developer>
+      <id>sebersole</id>
+      <name>Steve Ebersole</name>
+      <organization>Red Hat, Inc.</organization>
+      <email>steve at hibernate.org</email>
+      <url>http://in.relation.to/Bloggers/Steve</url>
+    </developer>
+    <developer>
+      <id>gunnarmorling</id>
+      <name>Gunnar Morling</name>
+      <organization>Red Hat, Inc.</organization>
+      <email>gunnar at hibernate.org</email>
+      <url>http://in.relation.to/Bloggers/Gunnar</url>
+    </developer>
+  </developers>
+  <mailingLists>
+    <mailingList>
+      <name>Hibernate Announcements</name>
+      <post>hibernate-announce at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-announce</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-announce</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Hibernate Commit Notifications</name>
+      <post>hibernate-commits at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-commits</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-commits</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-commits/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Hibernate Developers</name>
+      <post>hibernate-dev at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-dev</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-dev</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Hibernate Issue Notifications</name>
+      <post>hibernate-issues at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-issues</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-issues</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-issues/</archive>
+    </mailingList>
+  </mailingLists>
+</project>
diff --git a/hibernate-hql-parser-1.0.0.Alpha5.pom b/hibernate-hql-parser-1.0.0.Alpha5.pom
new file mode 100644
index 0000000..ed340de
--- /dev/null
+++ b/hibernate-hql-parser-1.0.0.Alpha5.pom
@@ -0,0 +1,103 @@
+<?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.hql</groupId>
+  <artifactId>hibernate-hql-parser</artifactId>
+  <version>1.0.0.Alpha5</version>
+  <dependencies>
+    <dependency>
+      <groupId>org.antlr</groupId>
+      <artifactId>antlr-runtime</artifactId>
+      <version>3.4</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.logging</groupId>
+      <artifactId>jboss-logging</artifactId>
+      <version>3.1.1.GA</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  <name>Hibernate HQL/JP-QL Parser</name>
+  <description>Extensible parser for HQL/JP-QL queries</description>
+  <url>http://ogm.hibernate.org/</url>
+  <inceptionYear>2012</inceptionYear>
+  <organization>
+    <name>Hibernate.org</name>
+    <url>http://www.hibernate.org/</url>
+  </organization>
+  <issueManagement>
+    <system>jira</system>
+    <url>https://hibernate.atlassian.net/browse/HQLPARSER</url>
+  </issueManagement>
+  <scm>
+    <url>http://github.com/hibernate/hibernate-hql-parser</url>
+    <connection>scm:git:http://github.com/hibernate/hibernate-hql-parser.git</connection>
+    <developerConnection>scm:git:git at github.com:hibernate/hibernate-hql-parser.git</developerConnection>
+  </scm>
+  <licenses>
+    <license>
+      <name>GNU Lesser General Public License</name>
+      <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
+      <comments>See also http://hibernate.org/license</comments>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <ciManagement>
+    <system>jenkins</system>
+    <url>http://ci.hibernate.org/</url>
+  </ciManagement>
+  <developers>
+    <developer>
+      <id>sannegrinovero</id>
+      <name>Sanne Grinovero</name>
+      <organization>Red Hat, Inc.</organization>
+      <email>sanne at hibernate.org</email>
+      <url>http://in.relation.to/Bloggers/Sanne</url>
+    </developer>
+    <developer>
+      <id>sebersole</id>
+      <name>Steve Ebersole</name>
+      <organization>Red Hat, Inc.</organization>
+      <email>steve at hibernate.org</email>
+      <url>http://in.relation.to/Bloggers/Steve</url>
+    </developer>
+    <developer>
+      <id>gunnarmorling</id>
+      <name>Gunnar Morling</name>
+      <organization>Red Hat, Inc.</organization>
+      <email>gunnar at hibernate.org</email>
+      <url>http://in.relation.to/Bloggers/Gunnar</url>
+    </developer>
+  </developers>
+  <mailingLists>
+    <mailingList>
+      <name>Hibernate Announcements</name>
+      <post>hibernate-announce at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-announce</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-announce</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Hibernate Commit Notifications</name>
+      <post>hibernate-commits at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-commits</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-commits</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-commits/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Hibernate Developers</name>
+      <post>hibernate-dev at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-dev</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-dev</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Hibernate Issue Notifications</name>
+      <post>hibernate-issues at lists.jboss.org</post>
+      <subscribe>https://lists.jboss.org/mailman/listinfo/hibernate-issues</subscribe>
+      <unsubscribe>https://lists.jboss.org/mailman/listinfo/hibernate-issues</unsubscribe>
+      <archive>http://lists.jboss.org/pipermail/hibernate-issues/</archive>
+    </mailingList>
+  </mailingLists>
+</project>
diff --git a/hibernate-hql.spec b/hibernate-hql.spec
new file mode 100644
index 0000000..106b7a4
--- /dev/null
+++ b/hibernate-hql.spec
@@ -0,0 +1,68 @@
+%global namedreltag .Alpha5
+%global namedversion %{version}%{?namedreltag}
+
+Name:             hibernate-hql
+Version:          1.0.0
+Release:          0.1%{namedreltag}%{dist}
+Summary:          Hibernate Query Parser
+License:          LGPLv2
+Url:              https://github.com/hibernate/hibernate-hql-parser
+Source0:          https://github.com/hibernate/hibernate-hql-parser/archive/%{namedversion}.tar.gz
+
+Source1:          pom.xml
+Source2:          https://repository.jboss.org/nexus/service/local/repositories/releases/content/org/hibernate/hql/hibernate-hql-parser/%{namedversion}/hibernate-hql-parser-%{namedversion}.pom
+Source3:          https://repository.jboss.org/nexus/service/local/repositories/releases/content/org/hibernate/hql/hibernate-hql-lucene/%{namedversion}/hibernate-hql-lucene-%{namedversion}.pom
+
+BuildRequires:    maven-local
+BuildRequires:    jboss-logging
+BuildRequires:    antlr3-java
+BuildRequires:    antlr3-tool
+BuildRequires:    junit
+BuildRequires:    hibernate-jpa-2.0-api
+BuildRequires:    hibernate-search
+BuildRequires:    lucene-contrib
+
+BuildArch:        noarch
+
+%description
+Experimental new parser for HQL and JP-QL queries, to convert these into SQL
+and other different targets such as Lucene queries, Map/Reduce queries for
+NoSQL stores, make it possible to perform more sophisticated SQL
+transformations.
+
+%package javadoc
+Summary:          Javadocs for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n hibernate-hql-parser-%{namedversion}
+
+cp %{SOURCE1} pom.xml
+cp %{SOURCE2} parser/pom.xml
+cp %{SOURCE3} lucene/pom.xml
+
+%pom_xpath_set pom:version "%{namedversion}" pom.xml
+
+%pom_add_plugin "org.antlr:antlr3-maven-plugin" parser/pom.xml
+%pom_xpath_inject "pom:plugins/pom:plugin[pom:artifactId = 'antlr3-maven-plugin']" "<executions><execution><phase>generate-sources</phase><goals><goal>antlr</goal></goals><configuration><sourceDirectory>src/main/antlr</sourceDirectory></configuration></execution></executions>" parser/pom.xml
+
+%build
+%mvn_build -f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc license.txt copyright.txt README.md
+
+%files javadoc -f .mfiles-javadoc
+%doc license.txt
+
+%changelog
+* Thu Oct 10 2013 Marek Goldmann <mgoldman at redhat.com> - 1.0.0-0.1.Alpha5
+- Initial import
+
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..902b1a6
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.hibernate.hql</groupId>
+    <artifactId>hibernate-hql-parent</artifactId>
+    <version>VERSION</version>
+    <packaging>pom</packaging>
+    <name>Hibernate HQL/JP-QL Parent</name>
+    <description>Hibernate HQL/JP-QL</description>
+
+    <modules>
+      <module>parser</module>
+      <module>lucene</module>
+    </modules>
+  
+</project>
diff --git a/sources b/sources
index e69de29..b108404 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+52f7eb824db836ef34d3730e4871e355  1.0.0.Alpha5.tar.gz


More information about the scm-commits mailing list