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

How to obtain jars? #35

Open
bsener opened this issue Jul 2, 2019 · 7 comments
Open

How to obtain jars? #35

bsener opened this issue Jul 2, 2019 · 7 comments

Comments

@bsener
Copy link

bsener commented Jul 2, 2019

Where can we download jars for the new releases? Release page only have until version 3.4.3.
If we can not download, is there any build instructions to build the latest jars?

@brat000012001
Copy link

It should be fairly straightforward to build the latest release from source:

git clone https://github.com/cloudtrust/keycloak-wsfed.git
cd keycloak-wsfed
mvn clean package

@beatscholl
Copy link

what am I doing wrong?

git clone https://github.com/cloudtrust/keycloak-wsfed.git
cd keycloak-wsfed
mvn clean package

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.quest:keycloak-wsfed:6.0.1: Failure to find org.keycloak.testsuite:integration-arquillian-tests:pom:6.0.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.quest:keycloak-wsfed:6.0.1 (C:\Repos\keycloak-wsfed\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.quest:keycloak-wsfed:6.0.1: Failure to find org.keycloak.testsuite:integration-arquillian-tests:pom:6.0.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

@brat000012001
Copy link

brat000012001 commented Oct 7, 2019

Ahhh, it seems the project's been updated and now depends on keycloak test suite, among other things, so you are going to have to clone and build keycloak before building the extension:

git clone https://github.com/keycloak.git
cd keycloak
mvn clean install -DskipTests -Dmaven.repo.local=../local-repo
...
git clone https://github.com/cloudtrust/keycloak-wsfed.git
cd keycloak-wsfed
mvn clean package -Dmaven.repo.local=../local-repo

The packages will be deployed to ../local-repo. Once you have the binaries, you can safely delete ../local-repo directory.

@fperot74
Copy link

@beatscholl Did you succeed building the project?
Since latest changes, you will also have to build cloudtrust-parent.

git clone git@github.com:cloudtrust/cloudtrust-parent.git
cd cloudtrust-parent
mvn clean install

@beatscholl
Copy link

beatscholl commented Oct 20, 2020

@fperot74
thanks for the explanations!

Back then I had chosen a different approach and got the whole thing working on KC 7.0

Now I need to update to KC 11.0.2 and I'm in the same situation - again.

I can build the jars with all the steps described here, but - as to be expected - the module is not working with KC 11.0.2
I'm not an experienced java developer and I seem to fail to understand what it needs to update this module to be compatible with KC 11.0.2

@vloup
So my next questions will be:

  • are there any plans to update this module to the latest KC versions?
  • are there any plans of providing downloadable jars? (although I now know what it takes to build it)

@fperot74
Copy link

We just evaluated the cost of upgrading to Keycloak 11.0.2... I guess we should upgrade it soon.
This module won't be officially in our scope but as it seems it is quite easy to do, I think I'll upgrade it anyway.

@beatscholl
Copy link

@fperot74 that is wonderful news!
do you have a timeframe in mind?
(how soon is 'soon'?)

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

No branches or pull requests

4 participants