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

Can not find ilay libraires in any repository. #6

Open
fmoghaddam opened this issue Nov 21, 2018 · 7 comments
Open

Can not find ilay libraires in any repository. #6

fmoghaddam opened this issue Nov 21, 2018 · 7 comments

Comments

@fmoghaddam
Copy link

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
Copy link
Owner

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

@fmoghaddam
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link

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

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

3 participants