This is an automated email from the ASF dual-hosted git repository. sebawagner pushed a commit to branch feature/OPENMEETINGS-2743-fix-java17-wicket-proxy-issue in repository https://gitbox.apache.org/repos/asf/openmeetings.git
commit a63a3097053ccb1b922aebef077e4ac97b1462e3 Author: Sebastian <sebawag...@apache.org> AuthorDate: Sun Jun 19 15:05:32 2022 +1200 OPENMEETINGS-2743 Add option to use bytebuddy for Wikcet cglib. --- openmeetings-server/src/site/xdoc/BuildInstructions.xml | 4 ++-- openmeetings-web/pom.xml | 4 ++++ pom.xml | 11 +++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/openmeetings-server/src/site/xdoc/BuildInstructions.xml b/openmeetings-server/src/site/xdoc/BuildInstructions.xml index 3d8408ccc..76aa9a672 100644 --- a/openmeetings-server/src/site/xdoc/BuildInstructions.xml +++ b/openmeetings-server/src/site/xdoc/BuildInstructions.xml @@ -63,10 +63,10 @@ <section name="Tips and Gotchas"> <p>Eclipse ANSI colors plugin for colors in console</p> <source><![CDATA[ -MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded +MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded -Dwicket.ioc.useByteBuddy=true #Quick rebuild and run -cd ..; mvn clean install -PallModules,quick,mysql -pl openmeetings-util,openmeetings-core; cd openmeetings-web; MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded +cd ..; mvn clean install -PallModules,quick,mysql -pl openmeetings-util,openmeetings-core; cd openmeetings-web; MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n' mvn clean -P allModules,quick,mysql jetty:run-exploded -Dwicket.ioc.useByteBuddy=true ]]></source> <p>In case you would like to develop Openmeetings you need to run <i>"unpacked"</i> build: </p> diff --git a/openmeetings-web/pom.xml b/openmeetings-web/pom.xml index 821926217..33111bd45 100644 --- a/openmeetings-web/pom.xml +++ b/openmeetings-web/pom.xml @@ -47,6 +47,10 @@ <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> + <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy</artifactId> + </dependency> </dependencies> </profile> <profile> diff --git a/pom.xml b/pom.xml index 81d463fb9..f2113df54 100644 --- a/pom.xml +++ b/pom.xml @@ -132,6 +132,7 @@ <jquery-ui-touch-punch.version>0.2.3-2</jquery-ui-touch-punch.version> <apacheds-test-framework.version>2.0.0.AM26</apacheds-test-framework.version> <swagger.version>2.2.1</swagger.version> + <bytebuddy.version>1.12.10</bytebuddy.version> <!-- Exclude all generated code --> <sonar.exclusions>file:**/generated-sources/**, file:**/jquery-ui.css, file:**/cssemoticons.js, file:**/bootstrap-confirmation.js</sonar.exclusions> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> @@ -869,6 +870,16 @@ <artifactId>mysql-connector-java</artifactId> <version>${mysql.version}</version> </dependency> + <dependency> + <groupId>mysql</groupId> + <artifactId>mysql-connector-java</artifactId> + <version>${mysql.version}</version> + </dependency> + <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy</artifactId> + <version>${bytebuddy.version}</version> + </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>jasny-bootstrap</artifactId>