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

Updated Maven dependencies #213

Merged
merged 2 commits into from
May 29, 2018
Merged

Updated Maven dependencies #213

merged 2 commits into from
May 29, 2018

Conversation

ggam
Copy link
Member

@ggam ggam commented May 26, 2018

It now compiles with Java 10.

@arjantijms all individual test modules define their artifact version and the version of the org.glassfish.soteria.test:common dependency. It's my understanding that the correct thing would be to reference the ${spec_impl_version} version. Is that assumption correct? That would require to update also the other poms.

Signed-off-by: Guillermo González de Agüero <[email protected]>
@arjantijms
Copy link
Contributor

arjantijms commented May 27, 2018 via email

@ggam
Copy link
Member Author

ggam commented May 27, 2018

Once we move to Java EE 8 application servers only the embedded profile will make sense for all of them, no?

I might be missing something, but as far as I see, the "provided" profile assumes the application server contains the current snapshot Soteria version, which will rarely be the case. If that's the case, we could even add Payara 5 and a Liberty server with Java EE 8, testing all of them with the bundled profile, and remove the "provided" one.

@arjantijms
Copy link
Contributor

We'll have to see how we exactly go forward with it once there are EE 8 dependencies and all EE 8 servers have a EE Security implementation.

One approach woud be to simple use the tests as a TCK-lite, so just testing a given server works correctly and not necessarily testing the Soteria snapshot. At that point we might be better off moving the tests to EE 8 samples and rubber stamp that as the (additional) TCK.

Another approach would be to update a server in a separate step with the current Soteria snapshot. This would only make sense for those servers using Soteria. Effectively this is what the Mojarra tests do.

@keilw
Copy link
Member

keilw commented May 27, 2018

A bit +10 on that. I am about to offer a PR for #214 and it took 25 minutes to build all of Soteria !!! :-O

@arjantijms
Copy link
Contributor

@keilw

mvn clean install -DskipTests

;)

@keilw
Copy link
Member

keilw commented May 27, 2018

Thanks good point. In this case I did of course want to be sure, all tests pass even after the version number changed;-)

@arjantijms
Copy link
Contributor

I can imagine ;) With port randomisation the tests can speed up quite a bit by running them in parallel (using the -TC1 option for example). Payara Micro supports this, but it would need a target for updating it with the newly build jar.

@keilw keilw requested a review from ivargrimstad May 29, 2018 10:45
@keilw
Copy link
Member

keilw commented May 29, 2018

I changed the reviewer from the available list to @ivargrimstad but the merge would have to be manual because other PRs changed the POMs.

Signed-off-by: Guillermo González de Agüero <[email protected]>
@ggam
Copy link
Member Author

ggam commented May 29, 2018

One approach woud be to simple use the tests as a TCK-lite, so just testing a given server works correctly and not necessarily testing the Soteria snapshot. At that point we might be better off moving the tests to EE 8 samples and rubber stamp that as the (additional) TCK.

I still see value in testing latest Soteria on different servers even when they don't use it themselves. For example, when we get your JACC+CDI idea working, it would be great to be able to use it on any server without waiting for everyone to implement the spec.

In the particular case of Security, which has always been one of the nightmares of Java EE, it's very to compelling from a user point of view to see that I can just plug a JAR on my application and it just works. It could be a way to make vendors take JACC more seriously.

@ggam
Copy link
Member Author

ggam commented May 29, 2018

@arjantijms back again to this particular PR, I went the easy way and reverted server versions to their original values. We'll be able to revisit it once we get CI working again

@ggam ggam merged commit fea9c94 into eclipse-ee4j:master May 29, 2018
@ggam ggam added this to the 1.1 milestone Jun 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants