-
Notifications
You must be signed in to change notification settings - Fork 116
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
Failure to find de.jflex:cup_runtime:jar:11b #390
Comments
@lsf37 we haven't publish de.jflex:cup_runtime. I don't have permissions to do this, so I'm afraid this issue falls on you. |
@ambs Thanks a lot for reporting the problem! Our mistake: We didn't deploy one of our internal dependency. I see two options to use JFlex on your project
|
Thanks. Will try 1.6.1 for now, as it is easier to explain to students. In fact, this opens another set of problems:
|
* Define the Bazel rule `jflex`. Fix #204 (Bazel support) - **N.B.** The rule uses JFlex 1.6.1 because v1.7.0 has missing dependencies (see #390) * Show how to use the rule on example "simple" - Make `examples` a Bazel workspace - In an wish to support all build systems in the examples, show how to generate a lexer with Bazel on "simple". - Attempted to have a **java_test** on `Yylex`. However dropped, because the dump format has changed between 1.6.1 and 1.7.0. Blocked on #390 - Import the deps needed for **simple** via the bazel migration tool. - Also define, a few third_party aliases - **N.B.** Renamed ant build directory to **antbuild** because we cannot have both a `build` directory ant a `BUILD` file on case insensitive filesystems * Add documentation * Cache the bazel output & repo cache directories in Travis
Sorry about all this, I'm looking into it now. It seems the pom file for cup explicitly tells it to skip deployment, but I guess that should only apply to cup itself and not the runtime. |
So, I've manually deployed cup_runtime and cup-parent 11b. For some reason maven still does not find cup-parent even though it does find and download the pom and the jar for cup_runtime. Maybe it just needs some more time to sync, but why it would sync only one and not the other mystifies me. Will give it a bit more time. |
And now it's there and seems to work. The reason I didn't catch this in my release testing is that maven caches things locally, which means all dependencies were present on my machine and it didn't try to download them. |
Just to let you know - I've just had the same problem and solved it by installing jflex from sources. |
Hi. I'm new to Java and all these new ways to automate builds. I am trying to build a simple project in IntelliJ IDEA. I configured Maven as described in the documentation. Nevertheless, when running the compile step, I get
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.jflex:jflex-maven-plugin:1.7.0:generate (default) on project pt-flex: Execution default of goal de.jflex:jflex-maven-plugin:1.7.0:generate failed: Plugin de.jflex:jflex-maven-plugin:1.7.0 or one of its dependencies could not be resolved: Failure to find de.jflex:cup_runtime:jar:11b 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
Any help is welcome.
The text was updated successfully, but these errors were encountered: