-
Notifications
You must be signed in to change notification settings - Fork 41
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
Dependency updates #157
Comments
There are several options here, but there are only two dependencies in <dependency>
<groupId>com.sparkjava</groupId>
<artifactId>spark-core</artifactId>
<version>${spark.version}</version>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-javaee</artifactId>
<version>${pac4j.version}</version>
</dependency> Can't you just exclude them to pull |
Unfortunatelly that is not enough :( @FunctionalInterface
public interface WebContextFactory {
/**
* <p>newContext.</p>
*
* @param parameters a {@link FrameworkParameters} object
* @return a {@link WebContext} object
*/
WebContext newContext(FrameworkParameters parameters);
} but pac4jspark v5.0.1 is waiting for another: public class SparkContextFactory implements WebContextFactory {
public static final SparkContextFactory INSTANCE = new SparkContextFactory();
@Override
public SparkWebContext newContext(final Object... parameters) {
return new SparkWebContext((Request) parameters[0], (Response) parameters[1]);
}
} etc. |
This is something else: you are talking about upgrading pac4j from v5 to v6, whether we keep the original SparkJava framework or not... I haven't done it, waiting for community contributions... |
It seems that original SparkJava project is dead.
But there is one fork which tends to be maintained
It managed to update to newer Jetty version as well as JDK.
Trying to update to JDK 21 with that project I am stuck with pac4j dependencies which still depends on older original project binaries (2.9.4).
It collapses moving forward becuase of:
javax.*
tojakarta.*
Could the dependencies be updated to use the one from project above? Possibly with some classifiers in the maven "coordinates" or something? Otherwise I will need to implement all pac4j stuff from ground up...
Thank you.
The text was updated successfully, but these errors were encountered: