This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d2e8f3c47 ISIS-3279: convert JPA artifacts to Java Modules (JPMS)
5d2e8f3c47 is described below

commit 5d2e8f3c47347b752e4089150f084a91d1ef35d0
Author: Andi Huber <[email protected]>
AuthorDate: Wed Nov 16 08:30:28 2022 +0100

    ISIS-3279: convert JPA artifacts to Java Modules (JPMS)
---
 .../jpa/applib/src/main/java/module-info.java      | 36 ++++++++++++++++
 .../jpa/eclipselink/src/main/java/module-info.java | 45 ++++++++++++++++++++
 .../jpa/integration/src/main/java/module-info.java | 48 ++++++++++++++++++++++
 .../jpa/metamodel/src/main/java/module-info.java   | 35 ++++++++++++++++
 4 files changed, 164 insertions(+)

diff --git a/persistence/jpa/applib/src/main/java/module-info.java 
b/persistence/jpa/applib/src/main/java/module-info.java
new file mode 100644
index 0000000000..32ea064dbb
--- /dev/null
+++ b/persistence/jpa/applib/src/main/java/module-info.java
@@ -0,0 +1,36 @@
+/*
+ *  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.
+ */
+module org.apache.causeway.persistence.jpa.applib {
+    exports org.apache.causeway.persistence.jpa.applib;
+    exports org.apache.causeway.persistence.jpa.applib.services;
+    exports org.apache.causeway.persistence.jpa.applib.integration;
+    exports org.apache.causeway.persistence.jpa.applib.types;
+
+    requires jakarta.activation;
+    requires java.inject;
+    requires java.persistence;
+    requires lombok;
+    requires org.apache.causeway.applib;
+    requires org.apache.causeway.commons;
+    requires org.apache.causeway.core.config;
+    requires org.apache.causeway.core.metamodel;
+    requires org.apache.logging.log4j;
+    requires org.eclipse.persistence.core;
+    requires spring.context;
+}
\ No newline at end of file
diff --git a/persistence/jpa/eclipselink/src/main/java/module-info.java 
b/persistence/jpa/eclipselink/src/main/java/module-info.java
new file mode 100644
index 0000000000..fd7354ef62
--- /dev/null
+++ b/persistence/jpa/eclipselink/src/main/java/module-info.java
@@ -0,0 +1,45 @@
+/*
+ *  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.
+ */
+module org.apache.causeway.persistence.jpa.eclipselink {
+    exports org.apache.causeway.persistence.jpa.eclipselink.inject;
+    exports org.apache.causeway.persistence.jpa.eclipselink;
+    exports org.apache.causeway.persistence.jpa.eclipselink.config;
+
+    requires jakarta.el.api;
+    requires jakarta.enterprise.cdi.api;
+    requires java.annotation;
+    requires java.inject;
+    requires java.persistence;
+    requires java.sql;
+    requires lombok;
+    requires org.apache.causeway.applib;
+    requires org.apache.causeway.commons;
+    requires org.apache.causeway.core.config;
+    requires org.apache.causeway.persistence.jpa.integration;
+    requires org.apache.logging.log4j;
+    requires org.eclipse.persistence.core;
+    requires spring.beans;
+    requires spring.boot;
+    requires spring.boot.autoconfigure;
+    requires spring.context;
+    requires spring.core;
+    requires spring.jdbc;
+    requires spring.orm;
+    requires spring.tx;
+}
\ No newline at end of file
diff --git a/persistence/jpa/integration/src/main/java/module-info.java 
b/persistence/jpa/integration/src/main/java/module-info.java
new file mode 100644
index 0000000000..f1dd3b1c07
--- /dev/null
+++ b/persistence/jpa/integration/src/main/java/module-info.java
@@ -0,0 +1,48 @@
+/*
+ *  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.
+ */
+module org.apache.causeway.persistence.jpa.integration {
+    exports 
org.apache.causeway.persistence.jpa.integration.typeconverters.schema.v2;
+    exports org.apache.causeway.persistence.jpa.integration.entity;
+    exports org.apache.causeway.persistence.jpa.integration.services;
+    exports 
org.apache.causeway.persistence.jpa.integration.typeconverters.java.time;
+    exports 
org.apache.causeway.persistence.jpa.integration.typeconverters.java.util;
+    exports 
org.apache.causeway.persistence.jpa.integration.typeconverters.java.awt;
+    exports 
org.apache.causeway.persistence.jpa.integration.typeconverters.applib;
+    exports org.apache.causeway.persistence.jpa.integration;
+
+    requires java.desktop;
+    requires java.inject;
+    requires java.persistence;
+    requires lombok;
+    requires org.apache.causeway.applib;
+    requires org.apache.causeway.commons;
+    requires org.apache.causeway.core.config;
+    requires org.apache.causeway.core.metamodel;
+    requires org.apache.causeway.core.runtime;
+    requires org.apache.causeway.persistence.commons;
+    requires org.apache.causeway.persistence.jpa.applib;
+    requires org.apache.causeway.persistence.jpa.metamodel;
+    requires org.apache.causeway.schema;
+    requires org.apache.logging.log4j;
+    requires org.eclipse.persistence.core;
+    requires spring.boot.autoconfigure;
+    requires spring.context;
+    requires spring.core;
+    requires spring.data.jpa;
+}
\ No newline at end of file
diff --git a/persistence/jpa/metamodel/src/main/java/module-info.java 
b/persistence/jpa/metamodel/src/main/java/module-info.java
new file mode 100644
index 0000000000..ad5d858e20
--- /dev/null
+++ b/persistence/jpa/metamodel/src/main/java/module-info.java
@@ -0,0 +1,35 @@
+/*
+ *  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.
+ */
+module org.apache.causeway.persistence.jpa.metamodel {
+    exports 
org.apache.causeway.persistence.jpa.metamodel.facets.prop.transients;
+    exports org.apache.causeway.persistence.jpa.metamodel;
+    exports org.apache.causeway.persistence.jpa.metamodel.object.table;
+    exports org.apache.causeway.persistence.jpa.metamodel.facets.prop.column;
+
+    requires java.inject;
+    requires java.persistence;
+    requires lombok;
+    requires org.apache.causeway.applib;
+    requires org.apache.causeway.commons;
+    requires org.apache.causeway.core.config;
+    requires org.apache.causeway.core.metamodel;
+    requires org.apache.causeway.core.runtime;
+    requires org.apache.causeway.persistence.jpa.applib;
+    requires spring.context;
+}
\ No newline at end of file

Reply via email to