You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2025/01/10 08:01:39 UTC
(causeway) 01/01: CAUSEWAY-3849: adds jdbc artifact stub
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch 3849-spring.data.jdbc
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 8c8c040772712b472ad97b264642c774ef4d0719
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Jan 10 09:01:33 2025 +0100
CAUSEWAY-3849: adds jdbc artifact stub
---
core/pom.xml | 1 +
persistence/jdbc/pom.xml | 43 ++++++++++++++++++++++
.../jdbc/CausewayModulePersistenceJdbc.java | 29 +++++++++++++++
3 files changed, 73 insertions(+)
diff --git a/core/pom.xml b/core/pom.xml
index 13d7ae42ff3..f4054fb3e80 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -309,6 +309,7 @@
<module>../viewers/graphql</module>
<module>../persistence/commons</module>
+ <module>../persistence/jdbc</module>
<module>../persistence/jdo</module>
<module>../persistence/jpa</module>
<module>../persistence/querydsl</module>
diff --git a/persistence/jdbc/pom.xml b/persistence/jdbc/pom.xml
new file mode 100644
index 00000000000..82348db7810
--- /dev/null
+++ b/persistence/jdbc/pom.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
+contributor
+ license agreements. See the NOTICE file distributed with this work for
+additional
+ information regarding copyright ownership. The ASF licenses this file to
+ you 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. -->
+<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>
+
+ <parent>
+ <groupId>org.apache.causeway.core</groupId>
+ <artifactId>causeway-core</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ <relativePath>../../core/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.causeway.persistence</groupId>
+ <artifactId>causeway-persistence-jdbc</artifactId>
+
+ <name>Apache Causeway Persistence - JDBC</name>
+ <description>
+ Apache Causeway's Spring Data JDBC integration
+ </description>
+
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.causeway.persistence</groupId>
+ <artifactId>causeway-persistence-commons</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
diff --git a/persistence/jdbc/src/main/java/org/apache/causeway/persistence/jdbc/CausewayModulePersistenceJdbc.java b/persistence/jdbc/src/main/java/org/apache/causeway/persistence/jdbc/CausewayModulePersistenceJdbc.java
new file mode 100644
index 00000000000..371d0e463a3
--- /dev/null
+++ b/persistence/jdbc/src/main/java/org/apache/causeway/persistence/jdbc/CausewayModulePersistenceJdbc.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.causeway.persistence.jdbc;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Import;
+
+@Configuration
+@Import({
+})
+public class CausewayModulePersistenceJdbc {
+ public static final String NAMESPACE = "causeway.persistence.jdbc";
+}