diff --git a/github/pom.xml b/github/pom.xml
index 55baaf83..7e9d9994 100644
--- a/github/pom.xml
+++ b/github/pom.xml
@@ -35,7 +35,7 @@
com.squareup.okhttp
okhttp-urlconnection
- 2.7.5
+ ${com.squareup.okhttp.okhttp-urlconnection.version}
org.jboss.set
@@ -44,7 +44,7 @@
org.kohsuke
github-api
- 1.92
+ ${org.kohsuke.github-api.version}
diff --git a/github/src/main/java/org/jboss/set/aphrodite/repository/services/github/AbstractGithubService.java b/github/src/main/java/org/jboss/set/aphrodite/repository/services/github/AbstractGithubService.java
index 5d74e0c1..01e52284 100644
--- a/github/src/main/java/org/jboss/set/aphrodite/repository/services/github/AbstractGithubService.java
+++ b/github/src/main/java/org/jboss/set/aphrodite/repository/services/github/AbstractGithubService.java
@@ -64,15 +64,10 @@ public boolean init(RepositoryConfig config) {
if (!parentInitiated)
return false;
- try {
- if (github != null && github.isCredentialValid()) {
- return true;
- } else {
- return commonGithubInit(config);
- }
- } catch (IOException e) {
- Utils.logException(LOG, "Authentication failed for username: " + config.getUsername(), e);
- return false;
+ if (github != null && github.isCredentialValid()) {
+ return true;
+ } else {
+ return commonGithubInit(config);
}
}
diff --git a/pom.xml b/pom.xml
index 15b7c677..e8b1941d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,6 +103,8 @@
4.12
1.10.19
1.0.4.Final
+ 1.111
+ 2.7.5