Skip to content

Java version string 1.11 creates problem for placing generated sourcec code correctly

On Master run mvn clean compile which correctly finishes. This porduces the following output in the build folder.

VadereSimulator

├── target
│   ├── classes
│   │   ├── attribute.json
│   │   ├── attributeVersio_0.json
│   │   ├── current_commit_hash.txt
│   │   ├── DataProcessorFactory.java <-- generated source file should be in VadereSimulator/target/generated-sources/annotations
|   ├── maven-status
...

This is the reason for missing source files in Intellij because target/classes is not searched for source files.

possible solution

change version number from 1.11 to 11

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <auto-service.version>1.0-rc2</auto-service.version>
    <maven-compiler.version>3.6.1</maven-compiler.version>
    <maven-compiler.source.version>11</maven-compiler.source.version> <<<!!!!!!
    <maven-compiler.target.version>11</maven-compiler.target.version> <<<!!!!!!
  </properties>

compoare SO with link to here

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information