berndhopp / vaadin-security

ILAY - authorization for Vaadin
7 stars 3 forks source link

Can not find ilay libraires in any repository. #6

Open fmoghaddam opened 6 years ago

fmoghaddam commented 6 years ago

Hi,

I am trying to add this library to my Vaadin project (I am using gradle), however, gradle is not able to resolve the library. It searches over Maven and Vaadin maven but still no answer. I manually checked the maven repository and realized that the latest version there is 2.6 no 3.0. I even downloaded the whole source code but still, it complains because cannot find org.ilay:ilay-common-api:3.0.0-SNAPSHOT.

Could you please tell me how to get the library?

Regards,

berndhopp commented 6 years ago

Im sorry, could you pull the latest Code and see if you could mvn install it now?

fmoghaddam commented 6 years ago

Thank you for your answer. I did mvn install. But still I get the error:

[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] ilay [INFO] ilay-api [INFO] ilay-navigation [INFO] ilay-visibility-api [INFO] ilay-visibility-manual [INFO] ilay-visibility-guice [INFO] ilay-visibility-spring [INFO] ilay-visibility-cdi [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ilay 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ilay --- [INFO] Installing /home/farshad/Desktop/vaadin-security/pom.xml to /home/farshad/.m2/repository/org/ilay/ilay/3.0.0-SNAPSHOT/ilay-3.0.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ilay-api 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ilay-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/farshad/Desktop/vaadin-security/ilay-api/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ ilay-api --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ilay-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/farshad/Desktop/vaadin-security/ilay-api/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ ilay-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ ilay-api --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ilay-api --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ilay-api --- [INFO] Installing /home/farshad/Desktop/vaadin-security/ilay-api/target/ilay-api-3.0.0-SNAPSHOT.jar to /home/farshad/.m2/repository/org/ilay/ilay-api/3.0.0-SNAPSHOT/ilay-api-3.0.0-SNAPSHOT.jar [INFO] Installing /home/farshad/Desktop/vaadin-security/ilay-api/pom.xml to /home/farshad/.m2/repository/org/ilay/ilay-api/3.0.0-SNAPSHOT/ilay-api-3.0.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ilay-navigation 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.ilay:ilay-common-api:jar:3.0.0-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ilay ............................................... SUCCESS [ 0.412 s] [INFO] ilay-api ........................................... SUCCESS [ 1.278 s] [INFO] ilay-navigation .................................... FAILURE [ 0.047 s] [INFO] ilay-visibility-api ................................ SKIPPED [INFO] ilay-visibility-manual ............................. SKIPPED [INFO] ilay-visibility-guice .............................. SKIPPED [INFO] ilay-visibility-spring ............................. SKIPPED [INFO] ilay-visibility-cdi ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.967 s [INFO] Finished at: 2018-11-26T16:02:10+01:00 [INFO] Final Memory: 16M/212M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project ilay-navigation: Could not resolve dependencies for project org.ilay:ilay-navigation:jar:3.0.0-SNAPSHOT: Failure to find org.ilay:ilay-common-api:jar:3.0.0-SNAPSHOT in http://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced -> [Help 1] [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :ilay-navigation

berndhopp commented 6 years ago

I'm sorry, my bad, should work now. We just finished a big restructuring, that's why things are a little messy right now.

fmoghaddam commented 6 years ago

Sorry but other issue now:

[INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.version' for org.ilay:ilay-api:jar is missing. @ org.ilay:ilay-navigation:[unknown-version], /home/farshad/Desktop/vaadin-security/ilay-navigation/pom.xml, line 19, column 17 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
[ERROR] The project org.ilay:ilay-navigation:3.0.0-SNAPSHOT (/home/farshad/Desktop/vaadin-security/ilay-navigation/pom.xml) has 1 error [ERROR] 'dependencies.dependency.version' for org.ilay:ilay-api:jar is missing. @ org.ilay:ilay-navigation:[unknown-version], /home/farshad/Desktop/vaadin-security/ilay-navigation/pom.xml, line 19, column 17 [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

berndhopp commented 6 years ago

I'm not at home right now and I don't have my computer with me, I'm gonna fix it tomorrow when I'm back.

fmoghaddam commented 6 years ago

I just wanted to let you that the issue fixed now. Thank you so much. Just as another question, is it possible to hide some tabs in a tabsheet by ilay? or instead of making a button visible/invisible just make it disabled?

bram-pkg commented 4 years ago

Maybe this issue can be closed if it's resolved.