You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2022/06/20 06:47:08 UTC

[openmeetings] branch java11-modules updated (48afe3149 -> f820c5897)

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

solomax pushed a change to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


 discard 48afe3149 Merge branch 'master' into java11-modules
 discard 990c4048e Build fixed
 discard 9bdf00590 Merge branch 'master' into java11-modules
 discard 72ea7bf85 Code clean-up
 discard 20027412d The build is green
 discard a7e96f8b9 Merge branch 'master' into java11-modules
 discard 7f6f9fdb5 Merge branch 'master' into java11-modules
 discard c824bb40d Merge branch 'master' into java11-modules Some errors are fixed
 discard 6c00af6ff Some more work on modules
 discard 0bd41ba2c Merge branch 'master' into java11-modules
 discard 49cf5a31e Another attempt to fix the build
 discard b81a11b9d some compilation errors are resolved
 discard 37fb8cc3a Merge branch 'master' into java11-modules
 discard 88b016c05 OpenJpa modules were changed
 discard d003535fe Simple-xml is dropped
 discard dcf7215bf Merge branch 'master' into java11-modules
 discard c37124c56 no jira: project is partially converted to use java11 modules
     new 34aa8b093 no jira: project is partially converted to use java11 modules
     new 3ec2f1716 Simple-xml is dropped
     new 3010d32f2 OpenJpa modules were changed
     new 9ef84a5ed some compilation errors are resolved
     new 866f54c83 Another attempt to fix the build
     new 7512ccf75 Some more work on modules
     new c269442f3 The build is green
     new ab2655112 Code clean-up
     new f820c5897 Build fixed

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (48afe3149)
            \
             N -- N -- N   refs/heads/java11-modules (f820c5897)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 openmeetings-core/src/main/java/module-info.java   | 22 +++-------
 .../org/apache/openmeetings/core/remote/KRoom.java |  2 +-
 .../core/util/ChatWebSocketHelper.java             |  2 +-
 .../openmeetings/core/util/WebSocketHelper.java    |  2 +-
 .../openmeetings/core/remote/BaseMockedTest.java   |  2 +-
 .../core/remote/TestRecordingFlowMocked.java       |  2 +-
 .../core/remote/TestRoomFlowMocked.java            |  2 +-
 openmeetings-db/src/main/java/module-info.java     | 14 +++---
 .../apache/openmeetings/{db => }/IApplication.java |  2 +-
 .../apache/openmeetings/{db => }/IWebSession.java  |  2 +-
 .../db/dao/basic/ConfigurationDao.java             |  2 +-
 .../openmeetings/db/util/ApplicationHelper.java    |  4 +-
 .../src/main/java/module-info.java                 | 31 --------------
 .../apache/openmeetings/backup/BackupExport.java   |  5 ++-
 .../java/org/apache/openmeetings/cli/Admin.java    |  5 ++-
 .../src/main/java/module-info.java                 | 37 ----------------
 .../openmeetings/service/mail/EmailManager.java    |  2 +-
 .../mail/template/AbstractTemplatePanel.java       |  4 +-
 .../subject/AppointmentReminderTemplate.java       |  2 +-
 .../mail/template/subject/AppointmentTemplate.java |  2 +-
 .../subject/CanceledAppointmentTemplate.java       |  2 +-
 .../subject/CreatedAppointmentTemplate.java        |  2 +-
 .../subject/InvitedAppointmentTemplate.java        |  2 +-
 .../subject/UpdatedAppointmentTemplate.java        |  2 +-
 .../service/room/InvitationManager.java            |  2 +-
 openmeetings-util/src/main/java/module-info.java   | 31 +++++++-------
 .../java/module-info.test}                         |  9 ++--
 openmeetings-web/src/main/java/module-info.java    | 50 ----------------------
 .../web/admin/connection/ConnectionsPanel.java     |  2 +-
 .../openmeetings/web/admin/groups/GroupsPanel.java |  2 +-
 .../openmeetings/web/admin/labels/LangPanel.java   |  2 +-
 .../openmeetings/web/admin/rooms/RoomForm.java     |  2 +-
 .../openmeetings/web/admin/users/UserForm.java     |  4 +-
 .../openmeetings/web/admin/users/UsersPanel.java   |  2 +-
 .../apache/openmeetings/web/app/Application.java   |  2 +-
 .../web/app/Application.properties.xml             |  2 +-
 .../web/app/Application_ar.properties.xml          |  2 +-
 .../web/app/Application_bg.properties.xml          |  2 +-
 .../web/app/Application_bn.properties.xml          |  2 +-
 .../web/app/Application_ca.properties.xml          |  2 +-
 .../web/app/Application_cs.properties.xml          |  2 +-
 .../web/app/Application_da.properties.xml          |  2 +-
 .../web/app/Application_el.properties.xml          |  2 +-
 .../web/app/Application_fi.properties.xml          |  2 +-
 .../web/app/Application_gl.properties.xml          |  2 +-
 .../web/app/Application_he.properties.xml          |  2 +-
 .../web/app/Application_hi.properties.xml          |  2 +-
 .../web/app/Application_id.properties.xml          |  2 +-
 .../web/app/Application_ko.properties.xml          |  2 +-
 .../web/app/Application_ku.properties.xml          |  2 +-
 .../web/app/Application_lo.properties.xml          |  2 +-
 .../web/app/Application_nl.properties.xml          |  2 +-
 .../web/app/Application_pl.properties.xml          |  2 +-
 .../web/app/Application_pt.properties.xml          |  2 +-
 .../web/app/Application_pt_BR.properties.xml       |  2 +-
 .../web/app/Application_sk.properties.xml          |  2 +-
 .../web/app/Application_ta.properties.xml          |  2 +-
 .../web/app/Application_th.properties.xml          |  2 +-
 .../web/app/Application_tk.properties.xml          |  2 +-
 .../web/app/Application_tr.properties.xml          |  2 +-
 .../web/app/Application_ur.properties.xml          |  2 +-
 .../web/app/Application_zh_TW.properties.xml       |  2 +-
 .../apache/openmeetings/web/app/WebSession.java    |  2 +-
 .../openmeetings/web/app/WhiteboardManager.java    |  2 +-
 .../openmeetings/web/common/GeneralUserForm.java   |  2 +-
 .../web/common/tree/FileTreePanel.java             | 12 +++---
 .../web/common/tree/OmTreeProvider.java            |  2 +-
 .../apache/openmeetings/web/pages/BasePage.java    |  2 +-
 .../web/pages/auth/ForgetPasswordDialog.java       |  2 +-
 .../web/pages/install/InstallWizard.java           |  8 ++--
 .../apache/openmeetings/web/room/RoomPanel.java    |  4 +-
 .../web/room/RoomResourceReference.java            |  2 +-
 .../openmeetings/web/room/menu/ActionsSubMenu.java |  2 +-
 .../openmeetings/web/room/menu/RoomMenuPanel.java  | 10 ++---
 .../web/room/sidebar/RoomFilePanel.java            |  2 +-
 .../web/room/wb/WbWebSocketHelper.java             |  2 +-
 .../openmeetings/web/room/wb/WsMessageWb.java      |  2 +-
 .../openmeetings/web/room/wb/WsMessageWbFile.java  |  2 +-
 .../web/user/calendar/AppointmentDialog.java       |  2 +-
 .../apache/openmeetings/web/user/chat/Chat.java    |  4 +-
 .../dashboard/admin/AdminCleanupInfoDialog.java    |  2 +-
 .../web/user/profile/InvitationsPanel.java         |  2 +-
 .../web/user/profile/UserSearchPanel.java          |  2 +-
 .../web/user/profile/WidgetsPanel.java             |  4 +-
 .../web/user/record/RecordingsPanel.java           |  2 +-
 .../openmeetings/web/user/rooms/RoomListPanel.java |  2 +-
 .../openmeetings/web/user/rooms/RoomsPanel.java    |  2 +-
 .../web/user/rooms/RoomsSelectorPanel.java         |  4 +-
 .../web/util/GroupLogoResourceReference.java       |  4 +-
 .../web/util/ProfileImageResourceReference.java    |  9 ++--
 .../web/util/UserDashboardPersister.java           |  2 +-
 .../util/logging/OpenMeetingsMetricsServlet.java   |  3 +-
 .../web/util/logging/TomcatGenericExports.java     |  1 -
 .../{web/test => }/AbstractOmServerTest.java       |  4 +-
 .../{web/test => }/AbstractWicketTesterTest.java   |  4 +-
 .../openmeetings/{web/test => }/IsolatedTest.java  |  2 +-
 .../openmeetings/{web/test => }/RegularTest.java   |  2 +-
 .../{web/test => }/backup/AbstractTestImport.java  |  6 +--
 .../{web/test => }/backup/TestExport.java          |  9 ++--
 .../{web/test => }/backup/TestImport.java          |  5 +--
 .../{web/test => }/backup/TestImportCalendar.java  |  4 +-
 .../{web/test => }/backup/TestImportConfig.java    |  4 +-
 .../{web/test => }/backup/TestImportOld.java       |  3 +-
 .../{web/test => }/backup/TestImportRoom.java      |  4 +-
 .../{web/test => }/backup/TestImportUser.java      |  5 +--
 .../calendar/TestAppointmentAddAppointment.java    |  2 +-
 .../calendar/TestAppointmentSchedulerTask.java     |  2 +-
 .../calendar/TestDatabaseStructureAppointment.java |  2 +-
 ...TestDatabaseStructureGetAppointmentByRange.java |  2 +-
 .../openmeetings/calendar/TestGetAppointment.java  |  2 +-
 .../openmeetings/calendar/TestOmCalendar.java      |  2 +-
 .../openmeetings/calendar/TestSendIcalMessage.java |  2 +-
 .../openmeetings/{cmdline => cli}/TestAdmin.java   | 16 +++----
 .../openmeetings/{cmdline => cli}/TestPatcher.java |  9 ++--
 .../org/apache/openmeetings/config/TestConfig.java |  2 +-
 .../openmeetings/core/file/TestFileProcessor.java  |  2 +-
 .../{web/test/db => db/dao}/TestFileDao.java       |  4 +-
 .../{web/test/db => db/dao}/TestRoomDao.java       |  4 +-
 .../apache/openmeetings/domain/TestAddGroup.java   |  2 +-
 .../domain/TestUserGroupAggregation.java           |  2 +-
 .../openmeetings/invitiation/TestInvitation.java   |  2 +-
 .../org/apache/openmeetings/ldap/TestLdap.java     |  4 +-
 .../mail/template}/TestEmailTemplate.java          | 10 +----
 .../mail/template/subject}/TestSubjTemplate.java   | 12 +-----
 .../test/job => service/scheduler}/TestJob.java    |  6 +--
 .../apache/openmeetings/smoke/TestSmokeBasic.java  |  2 +-
 .../apache/openmeetings/user/TestUserContact.java  |  4 +-
 .../apache/openmeetings/user/TestUserCount.java    |  2 +-
 .../apache/openmeetings/user/TestUserGroup.java    |  2 +-
 .../org/apache/openmeetings/userdata/TestAuth.java |  2 +-
 .../apache/openmeetings/userdata/TestLogin.java    |  2 +-
 .../openmeetings/{web => }/util/TestDateTime.java  |  6 +--
 .../{web => }/util/TestStoredFile.java             |  5 +--
 .../org/apache/openmeetings/web/TestCalendar.java  |  4 +-
 .../org/apache/openmeetings/web/TestMainAreas.java |  4 +-
 .../org/apache/openmeetings/web/TestMainMenu.java  |  4 +-
 .../openmeetings/web/app/TestApplication.java      |  2 +-
 .../web/app/TestApplicationMocked.java             |  2 +-
 .../web/app/TestOmAuthenticationStrategy.java      |  2 +-
 .../web/app/TestUserManagerMocked.java             |  2 +-
 .../openmeetings/web/app/TestWebSession.java       |  2 +-
 .../openmeetings/web/pages/TestHashPage.java       |  2 +-
 .../openmeetings/web/pages/auth/TestLoginUI.java   |  2 +-
 .../web/pages/install/TestInstall.java             | 22 +++++-----
 .../webservice/AbstractWebServiceTest.java         |  8 ++--
 .../webservice/CreateTomcatExtension.java          |  2 +-
 .../webservice/TestCalendarService.java            | 12 +++---
 .../openmeetings/webservice/TestErrorService.java  |  2 +-
 .../openmeetings/webservice/TestFileService.java   |  6 +--
 .../openmeetings/webservice/TestGroupService.java  |  4 +-
 .../webservice/TestRecordingService.java           |  2 +-
 .../openmeetings/webservice/TestUserService.java   | 10 ++---
 openmeetings-web/src/test/jetty/web.xml            |  2 +-
 .../apache/openmeetings/backup/config/configs.xml  |  4 +-
 .../openmeetings/backup/config/skip/configs.xml    |  4 +-
 .../src/main/java/module-info.java                 | 30 -------------
 pom.xml                                            | 10 +++++
 157 files changed, 279 insertions(+), 450 deletions(-)
 rename openmeetings-db/src/main/java/org/apache/openmeetings/{db => }/IApplication.java (98%)
 rename openmeetings-db/src/main/java/org/apache/openmeetings/{db => }/IWebSession.java (96%)
 delete mode 100644 openmeetings-install/src/main/java/module-info.java
 delete mode 100644 openmeetings-service/src/main/java/module-info.java
 copy openmeetings-util/src/{main/java/org/apache/openmeetings/util/ws/IClusterWsMessage.java => test/java/module-info.test} (82%)
 delete mode 100644 openmeetings-web/src/main/java/module-info.java
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/AbstractOmServerTest.java (99%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/AbstractWicketTesterTest.java (99%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/IsolatedTest.java (96%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/RegularTest.java (96%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/AbstractTestImport.java (90%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestExport.java (93%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestImport.java (97%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestImportCalendar.java (95%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestImportConfig.java (96%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestImportOld.java (97%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestImportRoom.java (94%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test => }/backup/TestImportUser.java (95%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{cmdline => cli}/TestAdmin.java (88%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{cmdline => cli}/TestPatcher.java (91%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test/db => db/dao}/TestFileDao.java (95%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test/db => db/dao}/TestRoomDao.java (96%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/service/mail => service/mail/template}/TestEmailTemplate.java (80%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/service/mail => service/mail/template/subject}/TestSubjTemplate.java (80%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web/test/job => service/scheduler}/TestJob.java (95%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web => }/util/TestDateTime.java (97%)
 rename openmeetings-web/src/test/java/org/apache/openmeetings/{web => }/util/TestStoredFile.java (90%)
 delete mode 100644 openmeetings-webservice/src/main/java/module-info.java


[openmeetings] 06/09: Some more work on modules

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 7512ccf75a83699f00d081c314d060700e23d7ba
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Fri Jul 23 10:22:37 2021 +0700

    Some more work on modules
---
 openmeetings-db/src/main/java/module-info.java   |  4 +--
 openmeetings-util/src/main/java/module-info.java | 37 ++++++++++++------------
 openmeetings-util/src/test/java/module-info.test | 25 ++++++++++++++++
 pom.xml                                          | 10 +++++++
 4 files changed, 55 insertions(+), 21 deletions(-)

diff --git a/openmeetings-db/src/main/java/module-info.java b/openmeetings-db/src/main/java/module-info.java
index 671932f9f..aa1690d87 100644
--- a/openmeetings-db/src/main/java/module-info.java
+++ b/openmeetings-db/src/main/java/module-info.java
@@ -49,8 +49,8 @@ module apache.openmeetings.db {
 	exports org.apache.openmeetings.db.util.ws;
 
 	requires transitive apache.openmeetings.util;
-	requires transitive wicket.request;
-	requires transitive wicket.native.websocket.core;
+	requires transitive org.apache.wicket.request;
+	requires transitive org.apache.wicket.websocket.core;
 	requires transitive spring.beans;
 	requires transitive spring.web;
 	requires transitive spring.core;
diff --git a/openmeetings-util/src/main/java/module-info.java b/openmeetings-util/src/main/java/module-info.java
index 3032e41b1..ecd52506e 100644
--- a/openmeetings-util/src/main/java/module-info.java
+++ b/openmeetings-util/src/main/java/module-info.java
@@ -16,34 +16,33 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-module apache.openmeetings.util {
-	exports org.apache.openmeetings.util;
-	exports org.apache.openmeetings.util.crypt;
-	exports org.apache.openmeetings.util.mail;
-	exports org.apache.openmeetings.util.process;
-	exports org.apache.openmeetings.util.ws;
-	exports org.apache.openmeetings.util.logging;
-
-	requires transitive javax.servlet.api;
-
-	requires transitive wicket.util;
-	requires transitive wicket.core;
-	requires transitive wicket.extensions;
+module org.apache.openmeetings.util {
+	requires transitive org.apache.wicket.util;
+	requires transitive org.apache.wicket.core;
+	requires transitive org.apache.wicket.extensions;
 
 	requires transitive org.apache.commons.codec;
 	requires transitive org.apache.commons.lang3;
 
 	requires transitive com.github.openjson;
 	requires transitive org.slf4j;
-	requires transitive logback.classic;
-	requires transitive logback.core;
-	requires transitive dom4j;
-	requires transitive jcip.annotations;
 	requires transitive org.bouncycastle.provider;
-	requires transitive java.activation;
+	requires transitive jakarta.activation;
 	requires transitive org.mnode.ical4j.core;
-	requires transitive tika.core;
 	requires org.aspectj.tools;
+	requires transitive javax.servlet.api;
+	requires transitive tika.core;
 	requires transitive spring.context;
+	requires transitive logback.classic;
+	requires transitive logback.core;
+	requires transitive dom4j;
+	requires transitive jcip.annotations;
 	requires simpleclient;
+
+	exports org.apache.openmeetings.util;
+	exports org.apache.openmeetings.util.crypt;
+	exports org.apache.openmeetings.util.mail;
+	exports org.apache.openmeetings.util.process;
+	exports org.apache.openmeetings.util.ws;
+	exports org.apache.openmeetings.util.logging;
 }
diff --git a/openmeetings-util/src/test/java/module-info.test b/openmeetings-util/src/test/java/module-info.test
new file mode 100644
index 000000000..5987c837c
--- /dev/null
+++ b/openmeetings-util/src/test/java/module-info.test
@@ -0,0 +1,25 @@
+/*
+ * 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.openmeetings.util.test {
+	requires transitive org.apache.openmeetings.util;
+
+	//tests
+	requires org.junit.jupiter.engine;
+	requires org.junit.jupiter.api;
+}
diff --git a/pom.xml b/pom.xml
index 81d463fb9..94facc6d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -649,6 +649,16 @@
 				<artifactId>wicket-spring</artifactId>
 				<version>${wicket.version}</version>
 			</dependency>
+			<dependency>
+				<groupId>org.wicketstuff</groupId>
+				<artifactId>wicketstuff-datastore-hazelcast</artifactId>
+				<version>${wicketstuff.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>com.googlecode.wicket-jquery-ui</groupId>
+				<artifactId>wicket-jquery-ui-calendar</artifactId>
+				<version>${wicket-jquery-ui.version}</version>
+			</dependency>
 			<dependency>
 				<groupId>javax.servlet</groupId>
 				<artifactId>javax.servlet-api</artifactId>


[openmeetings] 05/09: Another attempt to fix the build

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 866f54c83eab7b57e290c2478e576695b7606662
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Jul 3 18:07:33 2021 +0700

    Another attempt to fix the build
---
 openmeetings-core/src/main/java/module-info.java | 3 ---
 openmeetings-db/src/main/java/module-info.java   | 1 -
 openmeetings-util/src/main/java/module-info.java | 2 +-
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/openmeetings-core/src/main/java/module-info.java b/openmeetings-core/src/main/java/module-info.java
index 7b874cd9c..6495df2b8 100644
--- a/openmeetings-core/src/main/java/module-info.java
+++ b/openmeetings-core/src/main/java/module-info.java
@@ -22,8 +22,6 @@ module apache.openmeetings.core {
 
 	requires transitive org.apache.commons.io;
 
-	requires transitive spring.context;
-
 	requires kurento.client;
 	requires kurento.commons;
 	requires kurento.jsonrpc.client;
@@ -36,7 +34,6 @@ module apache.openmeetings.core {
 	requires jodconverter.core;
 	requires jodconverter.local;
 	requires org.apache.directory.ldap.api.all;
-	requires tika.core;
 	requires tika.parsers;
 	requires javax.inject;
 	requires wicket.ioc;
diff --git a/openmeetings-db/src/main/java/module-info.java b/openmeetings-db/src/main/java/module-info.java
index d8849cf89..671932f9f 100644
--- a/openmeetings-db/src/main/java/module-info.java
+++ b/openmeetings-db/src/main/java/module-info.java
@@ -56,7 +56,6 @@ module apache.openmeetings.db {
 	requires transitive spring.core;
 
 	requires spring.tx;
-	requires spring.context;
 	requires javax.persistence;
 	requires openjpa;
 	requires java.xml.bind;
diff --git a/openmeetings-util/src/main/java/module-info.java b/openmeetings-util/src/main/java/module-info.java
index 65ecb4f2b..3032e41b1 100644
--- a/openmeetings-util/src/main/java/module-info.java
+++ b/openmeetings-util/src/main/java/module-info.java
@@ -44,6 +44,6 @@ module apache.openmeetings.util {
 	requires transitive org.mnode.ical4j.core;
 	requires transitive tika.core;
 	requires org.aspectj.tools;
-	requires spring.context;
+	requires transitive spring.context;
 	requires simpleclient;
 }


[openmeetings] 08/09: Code clean-up

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit ab2655112bd6bacaa032e9f04c23ebf713f7c88e
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Thu Apr 21 16:52:42 2022 +0700

    Code clean-up
---
 .../src/test/java/org/apache/openmeetings/backup/TestExport.java  | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java b/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java
index 5e51cb8de..6325193a4 100644
--- a/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java
+++ b/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java
@@ -64,14 +64,6 @@ class TestExport extends AbstractOmServerTest {
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
 		Marshaller marshaller = jc.createMarshaller();
 		marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
-		/* FIXME TODO
-		marshaller.setProperty(CharacterEscapeHandler.class.getName(), new CharacterEscapeHandler() {
-			@Override
-			public void escape(char[] ac, int i, int j, boolean flag, Writer writer) throws IOException {
-				writer.write(ac, i, j);
-			}
-		});
-		*/
 		StringWriter writer = new StringWriter();
 		marshaller.marshal(u, writer);
 		Assertions.assertNotNull(writer.getBuffer());


[openmeetings] 01/09: no jira: project is partially converted to use java11 modules

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 34aa8b0939ef4af4b5117986a37bc1f7a7fd36c8
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue Feb 18 00:32:32 2020 +0700

    no jira: project is partially converted to use java11 modules
---
 openmeetings-core/src/main/java/module-info.java   | 40 +++++++++++++
 openmeetings-db/src/main/java/module-info.java     | 66 ++++++++++++++++++++++
 .../apache/openmeetings/db/dao/label/LabelDao.java |  4 +-
 openmeetings-util/src/main/java/module-info.java   | 45 +++++++++++++++
 4 files changed, 153 insertions(+), 2 deletions(-)

diff --git a/openmeetings-core/src/main/java/module-info.java b/openmeetings-core/src/main/java/module-info.java
new file mode 100644
index 000000000..833be8717
--- /dev/null
+++ b/openmeetings-core/src/main/java/module-info.java
@@ -0,0 +1,40 @@
+/*
+ * 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 apache.openmeetings.core {
+	requires transitive apache.openmeetings.db;
+
+	requires transitive org.apache.commons.io;
+
+	requires transitive spring.context;
+
+	requires kurento.client;
+	requires kurento.commons;
+	requires kurento.jsonrpc.client;
+	requires java.activation;
+	requires com.google.gson;
+	requires java.mail;
+	requires api.all;
+	requires org.apache.tika.parsers;
+	requires java.xml;
+	requires xstream;
+
+	requires jodconverter.core;
+	requires jodconverter.local;
+}
diff --git a/openmeetings-db/src/main/java/module-info.java b/openmeetings-db/src/main/java/module-info.java
new file mode 100644
index 000000000..2d01a8c92
--- /dev/null
+++ b/openmeetings-db/src/main/java/module-info.java
@@ -0,0 +1,66 @@
+/*
+ * 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 apache.openmeetings.db {
+	exports org.apache.openmeetings;
+	exports org.apache.openmeetings.db.dao;
+	exports org.apache.openmeetings.db.dao.basic;
+	exports org.apache.openmeetings.db.dao.calendar;
+	exports org.apache.openmeetings.db.dao.file;
+	exports org.apache.openmeetings.db.dao.label;
+	exports org.apache.openmeetings.db.dao.log;
+	exports org.apache.openmeetings.db.dao.record;
+	exports org.apache.openmeetings.db.dao.room;
+	exports org.apache.openmeetings.db.dao.server;
+	exports org.apache.openmeetings.db.dao.user;
+	exports org.apache.openmeetings.db.dto.basic;
+	exports org.apache.openmeetings.db.dto.calendar;
+	exports org.apache.openmeetings.db.dto.file;
+	exports org.apache.openmeetings.db.dto.record;
+	exports org.apache.openmeetings.db.dto.room;
+	exports org.apache.openmeetings.db.dto.user;
+	exports org.apache.openmeetings.db.entity;
+	exports org.apache.openmeetings.db.entity.basic;
+	exports org.apache.openmeetings.db.entity.calendar;
+	exports org.apache.openmeetings.db.entity.file;
+	exports org.apache.openmeetings.db.entity.label;
+	exports org.apache.openmeetings.db.entity.log;
+	exports org.apache.openmeetings.db.entity.record;
+	exports org.apache.openmeetings.db.entity.room;
+	exports org.apache.openmeetings.db.entity.server;
+	exports org.apache.openmeetings.db.entity.user;
+	exports org.apache.openmeetings.db.manager;
+	exports org.apache.openmeetings.db.util;
+	exports org.apache.openmeetings.db.util.ws;
+
+	requires transitive apache.openmeetings.util;
+	requires transitive org.apache.wicket.request;
+	requires transitive org.apache.wicket.websocket.core;
+	requires transitive spring.beans;
+	requires transitive simple.xml;
+	requires transitive spring.web;
+	requires transitive spring.core;
+
+	requires spring.tx;
+	requires spring.context;
+	requires java.persistence;
+	requires openjpa;
+	requires asterisk.java;
+	requires java.xml.bind;
+	requires org.apache.commons.text;
+}
diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/label/LabelDao.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/label/LabelDao.java
index 5c7db7d25..8560f8727 100644
--- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/label/LabelDao.java
+++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/label/LabelDao.java
@@ -46,7 +46,6 @@ import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.stream.Collectors;
 
-import org.apache.commons.collections4.CollectionUtils;
 import org.apache.openmeetings.db.dao.IDataProviderDao;
 import org.apache.openmeetings.db.entity.label.OmLanguage;
 import org.apache.openmeetings.db.entity.label.StringLabel;
@@ -193,7 +192,8 @@ public class LabelDao implements IDataProviderDao<StringLabel>{
 		}
 		List<StringLabel> result = new ArrayList<>(labelCache.containsKey(l) ? labelCache.get(l) : new ArrayList<StringLabel>());
 		if (!Strings.isEmpty(search)) {
-			CollectionUtils.filter(result, o -> o != null && (o.getKey().contains(search) || o.getValue().contains(search)));
+			result = result.stream().filter(o -> o != null && (o.getKey().contains(search) || o.getValue().contains(search)))
+					.collect(Collectors.toList());
 		}
 		return result;
 	}
diff --git a/openmeetings-util/src/main/java/module-info.java b/openmeetings-util/src/main/java/module-info.java
new file mode 100644
index 000000000..72dfb3c61
--- /dev/null
+++ b/openmeetings-util/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 apache.openmeetings.util {
+	exports org.apache.openmeetings.util;
+	exports org.apache.openmeetings.util.crypt;
+	exports org.apache.openmeetings.util.mail;
+	exports org.apache.openmeetings.util.process;
+	exports org.apache.openmeetings.util.ws;
+
+	requires transitive javax.servlet.api;
+
+	requires transitive org.apache.wicket.util;
+	requires transitive org.apache.wicket.core;
+	requires transitive org.apache.wicket.extensions;
+
+	requires transitive org.apache.commons.codec;
+	requires transitive org.apache.commons.lang3;
+	requires transitive org.apache.tika.core;
+
+	requires transitive com.github.openjson;
+	requires transitive org.slf4j;
+	requires transitive logback.classic;
+	requires transitive logback.core;
+	requires transitive dom4j;
+	requires transitive jcip.annotations;
+	requires transitive org.bouncycastle.provider;
+	requires transitive java.activation;
+	requires transitive org.mnode.ical4j.core;
+}


[openmeetings] 09/09: Build fixed

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit f820c58971e0c53324d96c9d444390becdda6765
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue May 17 10:51:32 2022 +0700

    Build fixed
---
 .../src/main/java/org/apache/openmeetings/backup/BackupImport.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java b/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java
index 0f518a1b3..8e5a82359 100644
--- a/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java
+++ b/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java
@@ -501,7 +501,7 @@ public class BackupImport {
 		}
 	}
 
-	void cleanup() {
+	public void cleanup() {
 		ldapMap.clear();
 		oauthMap.clear();
 		userMap.clear();


[openmeetings] 02/09: Simple-xml is dropped

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 3ec2f1716c695ac832c6b09e027468c1f412322a
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Mar 14 11:03:03 2020 +0700

    Simple-xml is dropped
---
 openmeetings-db/src/main/java/module-info.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/openmeetings-db/src/main/java/module-info.java b/openmeetings-db/src/main/java/module-info.java
index 2d01a8c92..b42eb42a0 100644
--- a/openmeetings-db/src/main/java/module-info.java
+++ b/openmeetings-db/src/main/java/module-info.java
@@ -52,7 +52,6 @@ module apache.openmeetings.db {
 	requires transitive org.apache.wicket.request;
 	requires transitive org.apache.wicket.websocket.core;
 	requires transitive spring.beans;
-	requires transitive simple.xml;
 	requires transitive spring.web;
 	requires transitive spring.core;
 


[openmeetings] 03/09: OpenJpa modules were changed

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 3010d32f2e09dbc6d4f76a7a07f3a41d50b494e0
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sun Mar 15 15:24:33 2020 +0700

    OpenJpa modules were changed
---
 openmeetings-db/src/main/java/module-info.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openmeetings-db/src/main/java/module-info.java b/openmeetings-db/src/main/java/module-info.java
index b42eb42a0..120187f78 100644
--- a/openmeetings-db/src/main/java/module-info.java
+++ b/openmeetings-db/src/main/java/module-info.java
@@ -57,7 +57,7 @@ module apache.openmeetings.db {
 
 	requires spring.tx;
 	requires spring.context;
-	requires java.persistence;
+	requires javax.persistence;
 	requires openjpa;
 	requires asterisk.java;
 	requires java.xml.bind;


[openmeetings] 07/09: The build is green

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit c269442f34c45f754feedf9537ce7b38e74f2a43
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Thu Apr 21 15:52:27 2022 +0700

    The build is green
---
 .../openmeetings/db/util/ApplicationHelper.java    |  6 ++-
 .../apache/openmeetings/backup/BackupImport.java   | 46 +++++++++++++++-------
 .../service/scheduler/ReminderJob.java             |  4 +-
 .../openmeetings/util/OMContextListener.java       |  2 +-
 .../org/apache/openmeetings/backup/TestExport.java |  6 +--
 .../mail/template/subject/TestSubjTemplate.java    |  2 +-
 pom.xml                                            |  4 +-
 7 files changed, 44 insertions(+), 26 deletions(-)

diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/util/ApplicationHelper.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/util/ApplicationHelper.java
index d63c6c20a..89f3bee09 100644
--- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/util/ApplicationHelper.java
+++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/util/ApplicationHelper.java
@@ -123,7 +123,11 @@ public class ApplicationHelper {
 			} catch(IllegalStateException e) {
 				app.setServletContext(new MockServletContext(app, null));
 			}
-			app.setConfigurationType(RuntimeConfigurationType.DEPLOYMENT);
+			try {
+				app.setConfigurationType(RuntimeConfigurationType.DEPLOYMENT);
+			} catch (IllegalStateException e) {
+				// no-op, might be already set
+			}
 			OMContextListener omcl = new OMContextListener();
 			omcl.contextInitialized(new ServletContextEvent(app.getServletContext()));
 			ThreadContext.setApplication(app);
diff --git a/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java b/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java
index 7e9af5d50..0f518a1b3 100644
--- a/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java
+++ b/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java
@@ -518,7 +518,8 @@ public class BackupImport {
 		messageFolderMap.put(TRASH_FOLDER_ID, TRASH_FOLDER_ID);
 	}
 
-	static BackupVersion getVersion(File base) {
+	// public for testing
+	public static BackupVersion getVersion(File base) {
 		List<BackupVersion> list = new ArrayList<>(1);
 		readList(base, "version.xml", VERSION_LIST_NODE, VERSION_NODE, BackupVersion.class, list::add, true);
 		return list.isEmpty() ? new BackupVersion() : list.get(0);
@@ -527,7 +528,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Configs
 	 */
-	void importConfigs(File base) throws Exception {
+	// public for testing
+	public void importConfigs(File base) throws Exception {
 		final Map<Integer, String> keyMap = new HashMap<>();
 		Arrays.stream(KeyEvent.class.getDeclaredFields())
 				.filter(fld -> fld.getName().startsWith("VK_"))
@@ -590,7 +592,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Groups
 	 */
-	void importGroups(File base) throws Exception {
+	// public for testing
+	public void importGroups(File base) throws Exception {
 		log.info("Configs import complete, starting group import");
 		readList(base, "organizations.xml", GROUP_LIST_NODE, GROUP_NODE, Group.class, g -> {
 			Long oldId = g.getId();
@@ -603,7 +606,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import LDAP Configs
 	 */
-	Long importLdap(File base) {
+	// public for testing
+	public Long importLdap(File base) {
 		log.info("Groups import complete, starting LDAP config import");
 		Long[] defaultLdapId = {cfgDao.getLong(CONFIG_DEFAULT_LDAP_ID, null)};
 		readList(base, "ldapconfigs.xml", "ldapconfigs", "ldapconfig", LdapConfig.class, c -> {
@@ -626,7 +630,8 @@ public class BackupImport {
 	/*
 	 * ##################### OAuth2 servers
 	 */
-	void importOauth(File base) {
+	// public for testing
+	public void importOauth(File base) {
 		log.info("Ldap config import complete, starting OAuth2 server import");
 		readList(base, "oauth2servers.xml", OAUTH_LIST_NODE, OAUTH_NODE, OAuthServer.class
 				, s -> {
@@ -671,7 +676,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Users
 	 */
-	void importUsers(File base) throws Exception {
+	// public for testing
+	public void importUsers(File base) throws Exception {
 		log.info("OAuth2 servers import complete, starting user import");
 		String jNameTimeZone = getDefaultTimezone();
 		//add existent emails from database
@@ -735,7 +741,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Rooms
 	 */
-	void importRooms(File base) throws Exception {
+	// public for testing
+	public void importRooms(File base) throws Exception {
 		log.info("Users import complete, starting room import");
 		Class<Room> eClazz = Room.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
@@ -770,7 +777,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Room Groups
 	 */
-	void importRoomGroups(File base) throws Exception {
+	// public for testing
+	public void importRoomGroups(File base) throws Exception {
 		log.info("Room import complete, starting room groups import");
 		Class<RoomGroup> eClazz = RoomGroup.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
@@ -799,7 +807,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Chat messages
 	 */
-	void importChat(File base) throws Exception {
+	// public for testing
+	public void importChat(File base) throws Exception {
 		log.info("Room groups import complete, starting chat messages import");
 		Class<ChatMessage> eClazz = ChatMessage.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
@@ -822,7 +831,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Calendars
 	 */
-	void importCalendars(File base) throws Exception {
+	// public for testing
+	public void importCalendars(File base) throws Exception {
 		log.info("Chat messages import complete, starting calendar import");
 		Class<OmCalendar> eClazz = OmCalendar.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
@@ -840,7 +850,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Appointments
 	 */
-	void importAppointments(File base) throws Exception {
+	// public for testing
+	public void importAppointments(File base) throws Exception {
 		log.info("Calendar import complete, starting appointement import");
 		Class<Appointment> eClazz = Appointment.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
@@ -875,7 +886,8 @@ public class BackupImport {
 	 *
 	 * Reminder Invitations will be NOT send!
 	 */
-	void importMeetingMembers(File base) throws Exception {
+	// public for testing
+	public void importMeetingMembers(File base) throws Exception {
 		log.info("Appointement import complete, starting meeting members import");
 		Class<MeetingMember> eClazz = MeetingMember.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
@@ -965,10 +977,12 @@ public class BackupImport {
 		remain.entrySet().forEach(e -> log.warn("Doungling file/recording: {}", e.getValue()));
 		tree.process(f -> isInvalidFile(f, folders), save);
 	}
+
 	/*
 	 * ##################### Import Recordings
 	 */
-	void importRecordings(File base) throws Exception {
+	// public for testing
+	public void importRecordings(File base) throws Exception {
 		log.info("Meeting members import complete, starting recordings server import");
 		final Map<Long, Long> folders = new HashMap<>();
 		saveTree(base, "flvRecordings.xml", RECORDING_LIST_NODE, RECORDING_NODE, Recording.class, folders, r -> {
@@ -1011,7 +1025,8 @@ public class BackupImport {
 	/*
 	 * ##################### Import Private Message Folders
 	 */
-	void importPrivateMsgFolders(File base) {
+	// public for testing
+	public void importPrivateMsgFolders(File base) {
 		log.info("Recording import complete, starting private message folder import");
 		readList(base, "privateMessageFolder.xml", MSG_FOLDER_LIST_NODE, MSG_FOLDER_NODE, PrivateMessageFolder.class, p -> {
 			Long folderId = p.getId();
@@ -1156,7 +1171,8 @@ public class BackupImport {
 		}, true);
 	}
 
-	void importExtraMenus(File base) throws Exception {
+	// public for testing
+	public void importExtraMenus(File base) throws Exception {
 		log.info("Room files complete, starting extra menus import");
 		Class<ExtraMenu> eClazz = ExtraMenu.class;
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
diff --git a/openmeetings-service/src/main/java/org/apache/openmeetings/service/scheduler/ReminderJob.java b/openmeetings-service/src/main/java/org/apache/openmeetings/service/scheduler/ReminderJob.java
index 6167681ec..5b27ce913 100644
--- a/openmeetings-service/src/main/java/org/apache/openmeetings/service/scheduler/ReminderJob.java
+++ b/openmeetings-service/src/main/java/org/apache/openmeetings/service/scheduler/ReminderJob.java
@@ -65,8 +65,8 @@ public class ReminderJob extends AbstractJob {
 	@Autowired
 	private GroupUserDao groupUserDao;
 
-	//package private for testing
-	Map<Long, LocalDateTime> groupNotifications = new HashMap<>();
+	// public for testing
+	public Map<Long, LocalDateTime> groupNotifications = new HashMap<>();
 
 	public void remindMeetings() {
 		log.trace("ReminderJob.remindMeetings");
diff --git a/openmeetings-util/src/main/java/org/apache/openmeetings/util/OMContextListener.java b/openmeetings-util/src/main/java/org/apache/openmeetings/util/OMContextListener.java
index c89ee9cc4..409de1771 100644
--- a/openmeetings-util/src/main/java/org/apache/openmeetings/util/OMContextListener.java
+++ b/openmeetings-util/src/main/java/org/apache/openmeetings/util/OMContextListener.java
@@ -43,8 +43,8 @@ public class OMContextListener implements ServletContextListener {
 			System.setProperty(LOG_DIR_PROP, "logs");
 		}
 		System.setProperty("webapp.contextPath", String.format("/%s", ctx));
-		LoggerContext context = (LoggerContext)LoggerFactory.getILoggerFactory();
 		try {
+			LoggerContext context = (LoggerContext)LoggerFactory.getILoggerFactory();
 			JoranConfigurator configurator = new JoranConfigurator();
 			configurator.setContext(context);
 			context.reset();
diff --git a/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java b/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java
index 6a22356d3..5e51cb8de 100644
--- a/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java
+++ b/openmeetings-web/src/test/java/org/apache/openmeetings/backup/TestExport.java
@@ -26,9 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 
 import java.io.ByteArrayOutputStream;
 import java.io.File;
-import java.io.IOException;
 import java.io.StringWriter;
-import java.io.Writer;
 import java.nio.file.Paths;
 import java.time.LocalDate;
 
@@ -45,8 +43,6 @@ import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 
-import com.sun.xml.bind.marshaller.CharacterEscapeHandler;
-
 class TestExport extends AbstractOmServerTest {
 	@Autowired
 	private FileItemDao fileItemDao;
@@ -68,12 +64,14 @@ class TestExport extends AbstractOmServerTest {
 		JAXBContext jc = JAXBContext.newInstance(eClazz);
 		Marshaller marshaller = jc.createMarshaller();
 		marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
+		/* FIXME TODO
 		marshaller.setProperty(CharacterEscapeHandler.class.getName(), new CharacterEscapeHandler() {
 			@Override
 			public void escape(char[] ac, int i, int j, boolean flag, Writer writer) throws IOException {
 				writer.write(ac, i, j);
 			}
 		});
+		*/
 		StringWriter writer = new StringWriter();
 		marshaller.marshal(u, writer);
 		Assertions.assertNotNull(writer.getBuffer());
diff --git a/openmeetings-web/src/test/java/org/apache/openmeetings/service/mail/template/subject/TestSubjTemplate.java b/openmeetings-web/src/test/java/org/apache/openmeetings/service/mail/template/subject/TestSubjTemplate.java
index d57918187..e7ed63470 100644
--- a/openmeetings-web/src/test/java/org/apache/openmeetings/service/mail/template/subject/TestSubjTemplate.java
+++ b/openmeetings-web/src/test/java/org/apache/openmeetings/service/mail/template/subject/TestSubjTemplate.java
@@ -85,7 +85,7 @@ class TestSubjTemplate extends AbstractWicketTesterTest {
 			private static final long serialVersionUID = 1L;
 
 			@Override
-			String getPrefix() {
+			public String getPrefix() {
 				return null;
 			}
 		};
diff --git a/pom.xml b/pom.xml
index 94facc6d9..961c0d6c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,8 +116,8 @@
 		<caldav4j.version>1.0.5</caldav4j.version>
 		<tika-parsers.version>2.4.0</tika-parsers.version>
 		<commons-text.version>1.9</commons-text.version>
-		<slf4j.version>1.7.36</slf4j.version>
-		<logback.version>1.2.11</logback.version>
+		<slf4j.version>2.0.0-alpha7</slf4j.version>
+		<logback.version>1.3.0-alpha14</logback.version>
 		<jetty.version>9.4.46.v20220331</jetty.version>
 		<license.excludedScopes>test</license.excludedScopes>
 		<bcprov-jdk15on.version>1.70</bcprov-jdk15on.version>


[openmeetings] 04/09: some compilation errors are resolved

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch java11-modules
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 9ef84a5ed51c2ce6dff74867366e6c6312581eb0
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Jul 3 13:00:04 2021 +0700

    some compilation errors are resolved
---
 openmeetings-core/src/main/java/module-info.java | 11 +++++++++--
 openmeetings-db/src/main/java/module-info.java   |  5 ++---
 openmeetings-util/src/main/java/module-info.java | 12 ++++++++----
 3 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/openmeetings-core/src/main/java/module-info.java b/openmeetings-core/src/main/java/module-info.java
index 833be8717..7b874cd9c 100644
--- a/openmeetings-core/src/main/java/module-info.java
+++ b/openmeetings-core/src/main/java/module-info.java
@@ -30,11 +30,18 @@ module apache.openmeetings.core {
 	requires java.activation;
 	requires com.google.gson;
 	requires java.mail;
-	requires api.all;
-	requires org.apache.tika.parsers;
 	requires java.xml;
 	requires xstream;
 
 	requires jodconverter.core;
 	requires jodconverter.local;
+	requires org.apache.directory.ldap.api.all;
+	requires tika.core;
+	requires tika.parsers;
+	requires javax.inject;
+	requires wicket.ioc;
+	requires java.annotation;
+	requires apache.openmeetings.util;
+	requires asterisk.java;
+	requires jain.sip.ri;
 }
diff --git a/openmeetings-db/src/main/java/module-info.java b/openmeetings-db/src/main/java/module-info.java
index 120187f78..d8849cf89 100644
--- a/openmeetings-db/src/main/java/module-info.java
+++ b/openmeetings-db/src/main/java/module-info.java
@@ -49,8 +49,8 @@ module apache.openmeetings.db {
 	exports org.apache.openmeetings.db.util.ws;
 
 	requires transitive apache.openmeetings.util;
-	requires transitive org.apache.wicket.request;
-	requires transitive org.apache.wicket.websocket.core;
+	requires transitive wicket.request;
+	requires transitive wicket.native.websocket.core;
 	requires transitive spring.beans;
 	requires transitive spring.web;
 	requires transitive spring.core;
@@ -59,7 +59,6 @@ module apache.openmeetings.db {
 	requires spring.context;
 	requires javax.persistence;
 	requires openjpa;
-	requires asterisk.java;
 	requires java.xml.bind;
 	requires org.apache.commons.text;
 }
diff --git a/openmeetings-util/src/main/java/module-info.java b/openmeetings-util/src/main/java/module-info.java
index 72dfb3c61..65ecb4f2b 100644
--- a/openmeetings-util/src/main/java/module-info.java
+++ b/openmeetings-util/src/main/java/module-info.java
@@ -22,16 +22,16 @@ module apache.openmeetings.util {
 	exports org.apache.openmeetings.util.mail;
 	exports org.apache.openmeetings.util.process;
 	exports org.apache.openmeetings.util.ws;
+	exports org.apache.openmeetings.util.logging;
 
 	requires transitive javax.servlet.api;
 
-	requires transitive org.apache.wicket.util;
-	requires transitive org.apache.wicket.core;
-	requires transitive org.apache.wicket.extensions;
+	requires transitive wicket.util;
+	requires transitive wicket.core;
+	requires transitive wicket.extensions;
 
 	requires transitive org.apache.commons.codec;
 	requires transitive org.apache.commons.lang3;
-	requires transitive org.apache.tika.core;
 
 	requires transitive com.github.openjson;
 	requires transitive org.slf4j;
@@ -42,4 +42,8 @@ module apache.openmeetings.util {
 	requires transitive org.bouncycastle.provider;
 	requires transitive java.activation;
 	requires transitive org.mnode.ical4j.core;
+	requires transitive tika.core;
+	requires org.aspectj.tools;
+	requires spring.context;
+	requires simpleclient;
 }