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

mvn deploy fails with fatal error on typepal #2

Open
jurgenvinju opened this issue Nov 4, 2021 · 3 comments
Open

mvn deploy fails with fatal error on typepal #2

jurgenvinju opened this issue Nov 4, 2021 · 3 comments

Comments

@jurgenvinju
Copy link
Contributor

jurgenvinju commented Nov 4, 2021

This is an example failed action: https://github.com/usethesource/typepal/runs/4105740347?check_suite_focus=true

It is unclear to me what is going wrong. The root error message does not make sense to me:

compiling: basedir /home/runner/work/typepal/typepal/target/generated-sources/annotations does not exist -> [Help 1]

  • The double typepal/typepal looks weird, but that does not have to be the problem
  • neither generated-sources, nor annotations are relevant in this project
  • yet somehow we are looking for annotations in generated-sources

pls help?

This is the entire log:

Run SWAT-engineering/maven-full-artifacts-action@v1
Running maven deploy
/usr/bin/mvn -B -Dmaven.test.skip=true -DskipTests -DaltDeploymentRepository=local::file:///home/runner/work/_temp/ec653788227e36138f48d5505a9c06f2d66574ec package org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy
1124 [INFO] Scanning for projects...
3944 [INFO] 
3944 [INFO] -----------------------< org.rascalmpl:typepal >------------------------
3947 [INFO] Building typepal 0.5.1-SNAPSHOT
3947 [INFO] --------------------------------[ jar ]---------------------------------
4983 [INFO] 
4984 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ typepal ---
5149 [INFO] Using 'UTF-8' encoding to copy filtered resources.
5161 [INFO] Copying 15 resources
5166 [INFO] Copying 16 resources
5167 [INFO] 
5168 [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ typepal ---
5390 [INFO] Changes detected - recompiling the module!
5396 [INFO] ------------------------------------------------------------------------
5396 [INFO] BUILD FAILURE
5396 [INFO] ------------------------------------------------------------------------
5397 [INFO] Total time:  4.300 s
5398 [INFO] Finished at: 2021-11-04T14:01:03Z
5399 [INFO] ------------------------------------------------------------------------
Error: RROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project typepal: Fatal error compiling: basedir /home/runner/work/typepal/typepal/target/generated-sources/annotations does not exist -> [Help 1]
Error: RROR] 
Error: RROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: RROR] Re-run Maven using the -X switch to enable full debug logging.
Error: RROR] 
Error: RROR] For more information about the errors and possible solutions, please read the following articles:
Error: RROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: The process '/usr/bin/mvn' failed with exit code 1
@jurgenvinju
Copy link
Contributor Author

I'm currently blocked on this for moving on with java11.

@DavyLandman
Copy link
Member

If you run this locally, the same maven command, can you reproduce it?.

Also, typepal has no java code Right? So it's not required to be compiled by a java 11 jvm. Or am I missing something? As in, you don't need a new release of typepal to continue

@jurgenvinju
Copy link
Contributor Author

jurgenvinju commented Nov 5, 2021 via email

DavyLandman added a commit that referenced this issue Nov 5, 2021
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

2 participants