openidentityplatform / commons Goto Github PK
View Code? Open in Web Editor NEWParent POM for projects. Provides default project build configuration.
License: Other
Parent POM for projects. Provides default project build configuration.
License: Other
Hey,
If interested, I was playing around a bit with separating versions of all deps & plugins to a single list of properties:
https://github.com/sfuerte/commons/commit/f74e1c1f1f870da65f6fe0465ab26149083e6f57
Due to the length, the Property pom.xml
in separate file but can be merged to the main as well.
It's not complete yet, but not much left for commons
either. The current state as follows (much reduced from the master
):
$ mvn versions:display-dependency-updates | grep "\->" | sort | uniq -c
4 [INFO] com.google.inject:guice ................................. 4.0 -> 4.2.2
1 [INFO] com.sun.xml.bind:jaxb-impl ........................ 2.3.1 -> 2.3.3-b02
1 [INFO] com.sun.xml.bind:jaxb-impl ........................ 2.3.2 -> 2.3.3-b02
102 [INFO] io.swagger:swagger-core ........................... 1.5.9 -> 2.0.0-rc2
102 [INFO] io.swagger:swagger-models ......................... 1.5.9 -> 2.0.0-rc2
2 [INFO] javax.xml.bind:jaxb-api .................. 2.3.1 -> 2.4.0-b180830.0359
1 [INFO] org.apache.maven:maven-compat ......................... 3.3.1 -> 3.6.3
1 [INFO] org.apache.maven:maven-core ........................... 3.3.1 -> 3.6.3
1 [INFO] org.apache.maven:maven-model .......................... 3.3.1 -> 3.6.3
1 [INFO] org.apache.maven:maven-plugin-api ..................... 3.0.5 -> 3.6.3
1 [INFO] org.apache.maven:maven-plugin-api ..................... 3.3.1 -> 3.6.3
1 [INFO] org.apache.maven:maven-plugin-api ..................... 3.5.4 -> 3.6.3
1 [INFO] org.apache.maven:maven-project .................. 2.2.1 -> 3.0-alpha-2
1 [INFO] org.asciidoctor:asciidoctorj .......................... 2.1.0 -> 2.2.0
2 [INFO] org.codehaus.groovy:groovy-all ........................ 2.1.3 -> 3.0.2
3 [INFO] org.codehaus.plexus:plexus-compiler-eclipse ............. 2.5 -> 2.8.6
1 [INFO] org.codehaus.plexus:plexus-utils ..................... 3.0.17 -> 3.3.0
1 [INFO] org.eclipse.jetty:jetty-server ..... 9.4.26.v20200117 -> 10.0.0.alpha1
1 [INFO] org.eclipse.jetty:jetty-servlet .... 9.4.26.v20200117 -> 10.0.0.alpha1
1 [INFO] org.glassfish.corba:rmic ......................... 4.2.0-b004 -> 4.2.1
1 [INFO] org.glassfish.grizzly:grizzly-http-servlet ............ 2.4.3 -> 2.4.4
15 [INFO] org.glassfish:javax.security.auth.message .......... 3.1.1 -> 10.0-b28
11 [INFO] org.mockito:mockito-all ........................ 1.10.19 -> 2.0.2-beta
2 [INFO] org.mozilla:rhino ................................... 1.7.11 -> 1.7.12
1 [INFO] org.ops4j.base:ops4j-base-spi ......................... 1.4.0 -> 1.5.0
1 [INFO] org.ops4j.pax.swissbox:pax-swissbox-extender .......... 1.6.0 -> 1.8.3
4 [INFO] org.osgi:org.osgi.core ................................ 4.3.1 -> 6.0.0
102 [INFO] org.slf4j:jcl-over-slf4j ...................... 1.7.30 -> 2.0.0-alpha1
102 [INFO] org.slf4j:jul-to-slf4j ........................ 1.7.30 -> 2.0.0-alpha1
102 [INFO] org.slf4j:log4j-over-slf4j .................... 1.7.30 -> 2.0.0-alpha1
1 [INFO] org.slf4j:osgi-over-slf4j ..................... 1.7.30 -> 2.0.0-alpha1
102 [INFO] org.slf4j:slf4j-api ........................... 1.7.30 -> 2.0.0-alpha1
102 [INFO] org.slf4j:slf4j-jdk14 ......................... 1.7.30 -> 2.0.0-alpha1
4 [INFO] org.slf4j:slf4j-nop ........................... 1.7.12 -> 2.0.0-alpha1
98 [INFO] org.slf4j:slf4j-nop ........................... 1.7.30 -> 2.0.0-alpha1
102 [INFO] org.slf4j:slf4j-simple ........................ 1.7.30 -> 2.0.0-alpha1
1 [INFO] org.springframework:spring-core ....... 3.0.6.RELEASE -> 5.2.4.RELEASE
Using the maven-external-dependency-plugin one can install a pom, or a jar, or a jar along with a pom (using the undocumented pomFile configuration, that should be documented). However, most jars built by maven (which is most jars) already have their pom within the jar (under META-INF), so the plugin should use it by default rather than generating a new bare-bones one.
SystemUtils.java causes an error during initialization of the class due to getJavaVersionAsFloat() doing a substring(0, 3) of the "java.version" system property. This assumes a java version like "1.8", "1.9", etc. But for Java 11, java.version is "11" so the substring causes a StringIndexOutOfBoundsException.
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at org.forgerock.guice.core.internal.commons.lang.SystemUtils.getJavaVersionAsFloat(SystemUtils.java:112)
at org.forgerock.guice.core.internal.commons.lang.SystemUtils.(SystemUtils.java:84)
Describe the bug
Hi, we are trying to compile OpenAM in a network that uses a proxy server to access the internet. There is an issue when using the plugin maven-external-dependency-plugin as it doesn't seem to pick up or use Maven proxy settings.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The build should continue by using the proxy settings to download the additional dependencies.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
SameSite changes for cookies require some plumbing that's currently missing from the Cookie class. I will supply a PR soon.
...
[INFO] Compiling 7 source files to forgerock-parent/maven-external-dependency-plugin/maven-external-dependency-plugin/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven External Dependency Plugin 0.6-SNAPSHOT ...... FAILURE [ 12.918 s]
...
Describe the problem
handler-elasticsearch does not support latest ElasticSearch versions (7.x).
In OpenAM every time I try to create the index with the audit.json I've got the following error (I show the relevant output):
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters: [access : {_source={enabled=true}, properties={server={properties={port={type=integer}, ip={index=not_analyzed, type=string}}}, request={properties={protocol={index=not_analyzed, type=string}, detail={type=nested},
I think the problem is the removal of mapping types since 7.0.0 version, explained here: https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
Describe the solution you'd like
An updated version supporting ElasticSearch versions equals or greater than 7.0.0.
Additional context
There is no tags greater than 2.0.6, but in Maven repository I can find versions 2.0.7-2.0.12, and thgere is no releases in Github greater than 2.0.0.
Is there any reason for not tagging neither releasing those versions?
It is extrange for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.