Skip to content

Commit

Permalink
5.9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Feb 3, 2024
1 parent 0fad747 commit 297cce5
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 211 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
3 changes: 2 additions & 1 deletion deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.ksmpartners</groupId>
<artifactId>quarkus-domino-client-parent</artifactId>
<version>5.7.2</version>
<version>5.9.1.0</version>
</parent>
<artifactId>quarkus-domino-client-deployment</artifactId>
<name>Quarkus Domino Client - Deployment</name>
Expand All @@ -28,6 +28,7 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package com.ksmpartners.quarkus.domino.client.deployment;

import com.dominodatalab.api.model.DominoVersion;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

import io.quarkus.deployment.annotations.BuildProducer;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
Expand All @@ -10,10 +13,6 @@
import org.jboss.jandex.ClassInfo;
import org.jboss.jandex.DotName;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

class QuarkusDominoClientProcessor {

private static final String FEATURE = "domino";
Expand All @@ -33,7 +32,9 @@ void indexTransitiveDependencies(BuildProducer<IndexDependencyBuildItem> index)
void registerForReflection(BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
CombinedIndexBuildItem combinedIndex) {
// All Model Objects
final List<String> classNames = new ArrayList<>(collectClassesInPackage(combinedIndex, DominoVersion.class.getPackageName()));
final List<String> classNames = new ArrayList<>();
classNames.addAll(collectClassesInPackage(combinedIndex, "com.dominodatalab.api.model"));
classNames.addAll(collectClassesInPackage(combinedIndex, "com.dominodatalab.pub.model"));

reflectiveClass.produce(ReflectiveClassBuildItem.builder(classNames.toArray(new String[0])).methods(true).build());
}
Expand All @@ -52,4 +53,4 @@ public List<String> collectClassesInPackage(CombinedIndexBuildItem combinedIndex
}
return classes;
}
}
}
Loading

0 comments on commit 297cce5

Please sign in to comment.