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

ftl dev borks when attempting to run a fresh kotlin module #2636

Closed
mistermoe opened this issue Sep 9, 2024 · 0 comments · Fixed by #2640
Closed

ftl dev borks when attempting to run a fresh kotlin module #2636

mistermoe opened this issue Sep 9, 2024 · 0 comments · Fixed by #2640
Assignees

Comments

@mistermoe
Copy link
Collaborator

This is with v0.360.0

Repro

ftl new kotlin backend/modules lnurl
ftl dev --recreate

Output:

info:lnurl: Building module
info:lnurl: Using build command 'mvn -B package'
info:lnurl: [INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for ftl.com.example:lnurl:1.0-SNAPSHOT: The following artifacts could not be resolved: xyz.block.ftl:ftl-build-parent-kotlin:pom:0.360.0 (absent): xyz.block.ftl:ftl-build-parent-kotlin:pom:0.360.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project ftl.com.example:lnurl:1.0-SNAPSHOT (/path/to/project/backend/modules/lnurl/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for ftl.com.example:lnurl:1.0-SNAPSHOT: The following artifacts could not be resolved: xyz.block.ftl:ftl-build-parent-kotlin:pom:0.360.0 (absent): xyz.block.ftl:ftl-build-parent-kotlin:pom:0.360.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, 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

looks like the maven repository doesn't have ftl. only ftl-generator and ftl-runtime

@github-actions github-actions bot added the triage Issue needs triaging label Sep 9, 2024
@github-actions github-actions bot removed the triage Issue needs triaging label Sep 10, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 11, 2024
Closes #2636

---------

Co-authored-by: Moe Jangda <[email protected]>
Co-authored-by: Stuart Douglas <[email protected]>
@ftl-robot ftl-robot mentioned this issue Sep 11, 2024
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

Successfully merging a pull request may close this issue.

1 participant