Skip to content

mvn deploy fails with fatal error on typepal #2

Open
@jurgenvinju

Description

@jurgenvinju

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions