I was importing the Flink project into IntelliJ 2024.3 following this guide:

https://nightlies.apache.org/flink/flink-docs-master/docs/flinkdev/ide_setup/#importing-flink

but when I click on "Generate Sources and Update Folders" I get the
following errors:

```
[INFO] Validation error:
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check
(default) on project flink-parent: Cannot read header
[ERROR] Maven server structure problem
flink-rpc/flink-rpc-core/pom.xml (No such file or directory)
```

however, the alternative command:

```
mvn clean package -DskipTests
```

runs fine in my terminal.

How could I solve this? Depending on the fix we might want to update the
current contributing guide (maybe it's not accurate for newer IntelliJ
versions).

Finaly, what is the common approach for testing a change in a local project
before it gets approved/merged? That is not clear to me either / not
covered in the current guides.

Regards,

Salva

Reply via email to