Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrimeFaces 15.0.0-RC1 #302

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<tag>HEAD</tag>
</scm>
<properties>
<quarkus.version>3.15.1</quarkus.version>
<quarkus-barcode.version>0.0.3</quarkus-barcode.version>
<quarkus.version>3.15.2</quarkus.version>
<quarkus-barcode.version>1.0.0</quarkus-barcode.version>
<quarkus-poi.version>2.1.1</quarkus-poi.version>
<quarkus-itext.version>3.1.2</quarkus-itext.version>
<primefaces.version>14.0.8</primefaces.version>
<primefaces-extensions.version>14.0.8</primefaces-extensions.version>
<primefaces.version>15.0.0-RC1</primefaces.version>
<primefaces-extensions.version>15.0.0-RC1</primefaces-extensions.version>
<myfaces.version>4.1.0-RC3</myfaces.version>
<maven.compiler.release>17</maven.compiler.release>
</properties>
Expand Down Expand Up @@ -80,12 +80,6 @@
<version>2.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.70.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down
7 changes: 1 addition & 6 deletions quarkus-primefaces/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@
</dependency>
<dependency>
<groupId>io.quarkiverse.barcode</groupId>
<artifactId>quarkus-barcode4j-deployment</artifactId>
<version>${quarkus-barcode.version}</version>
</dependency>
<dependency>
<groupId>io.quarkiverse.barcode</groupId>
<artifactId>quarkus-qrcodegen-deployment</artifactId>
<artifactId>quarkus-okapi-deployment</artifactId>
<version>${quarkus-barcode.version}</version>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.ArrayList;
import java.util.List;

import org.primefaces.model.file.CommonsUploadedFile;
import org.primefaces.util.Constants;
import org.primefaces.util.PropertyDescriptorResolver;

Expand All @@ -23,7 +22,6 @@
import io.quarkus.deployment.pkg.builditem.UberJarMergedResourceBuildItem;
import io.quarkus.primefaces.runtime.PrimeFacesFeature;
import io.quarkus.primefaces.runtime.PrimeFacesRecorder;
import io.quarkus.undertow.deployment.ServletInitParamBuildItem;

class PrimeFacesProcessor extends AbstractJandexProcessor {

Expand All @@ -44,6 +42,8 @@ void indexTransitiveDependencies(BuildProducer<IndexDependencyBuildItem> index)
index.produce(new IndexDependencyBuildItem("com.googlecode.owasp-java-html-sanitizer", "owasp-java-html-sanitizer"));
index.produce(new IndexDependencyBuildItem("org.primefaces", "primefaces"));
index.produce(new IndexDependencyBuildItem("software.xdev", "chartjs-java-model"));
index.produce(new IndexDependencyBuildItem("com.apptasticsoftware", "rssreader"));

}

@BuildStep
Expand Down Expand Up @@ -101,10 +101,13 @@ void substrateResourceBuildItems(BuildProducer<NativeImageResourceBuildItem> nat
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_fa"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_fr"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_hi"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_hr"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_in"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_it"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_ja"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_ka"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_ko"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_lt"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_lv"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_nl"));
resourceBundleBuildItem.produce(new NativeImageResourceBundleBuildItem("org.primefaces.Messages_no"));
Expand Down Expand Up @@ -175,7 +178,6 @@ void registerForSerialization(PrimeFacesRecorder recorder, BuildProducer<Reflect
CombinedIndexBuildItem combinedIndex) {
// All models
final List<String> models = collectClassesInPackage(combinedIndex, "org.primefaces.model");
models.remove(CommonsUploadedFile.class.getName());
final List<String> classNames = new ArrayList<>(models);

// Chart XDev models
Expand All @@ -189,10 +191,4 @@ void registerForSerialization(PrimeFacesRecorder recorder, BuildProducer<Reflect
reflectiveClass.produce(
ReflectiveClassBuildItem.builder(classNames.toArray(new String[0])).methods().fields().serialization().build());
}

@BuildStep
void enforceInitParams(BuildProducer<ServletInitParamBuildItem> initParam) {
// only native uploading is supported no need for Commons FileUpload
initParam.produce(new ServletInitParamBuildItem(Constants.ContextParams.UPLOADER, "native"));
}
}
19 changes: 10 additions & 9 deletions quarkus-primefaces/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,23 @@
<artifactId>quarkus-openpdf</artifactId>
<version>${quarkus-itext.version}</version>
</dependency>
<!-- Barcode -->
<dependency>
<groupId>io.quarkiverse.barcode</groupId>
<artifactId>quarkus-okapi</artifactId>
<version>${quarkus-barcode.version}</version>
</dependency>
<!-- Sanitizing -->
<dependency>
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
<artifactId>owasp-java-html-sanitizer</artifactId>
<version>20240325.1</version>
</dependency>
<!-- Barcode -->
<dependency>
<groupId>io.quarkiverse.barcode</groupId>
<artifactId>quarkus-barcode4j</artifactId>
<version>${quarkus-barcode.version}</version>
</dependency>
<!-- FeedReader -->
<dependency>
<groupId>io.quarkiverse.barcode</groupId>
<artifactId>quarkus-qrcodegen</artifactId>
<version>${quarkus-barcode.version}</version>
<groupId>com.apptasticsoftware</groupId>
<artifactId>rssreader</artifactId>
<version>3.9.0</version>
</dependency>
<dependency>
<groupId>org.graalvm.sdk</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public void afterRegistration(AfterRegistrationAccess access) {
RuntimeClassInitialization.initializeAtRunTime("software.xdev.chartjs.model.color.Color");
RuntimeClassInitialization.initializeAtRunTime("software.xdev.chartjs.model.color.HSLAColor");
RuntimeClassInitialization.initializeAtRunTime("software.xdev.chartjs.model.color.RGBAColor");
RuntimeClassInitialization.initializeAtRunTime(org.primefaces.util.ChartUtils.class.getName());
RuntimeClassInitialization.initializeAtRunTime(com.apptasticsoftware.rssreader.AbstractRssReader.class.getName());
}

@Override
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading