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

Build Ecchronos with Java 11 - Issue #616 #624

Merged

Conversation

VictorCavichioli
Copy link
Contributor

In order to provide support for Java 11 in EcChronos, identify the minimal changes necessary for the project to compile and run with Java 11. Additionally, implement these changes and any necessary updates to Maven packages.

Closes #616

In order to provide support for Java 11 in EcChronos,
identify the minimal changes necessary for the project
to compile and run with Java 11. Additionally, implement
these changes and any necessary updates to Maven packages.

Closes Ericsson#616
@@ -76,8 +76,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to set source and target here, would we not inherit this setting from the parent pom.xml? If we do we should not set source and target in any pom-file except the parent pom. If not we should set it in all the pom-files, or?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we set the source and target configuration in the parent POM, the child modules will inherit these values by default. So yeah, in this case we do not need to repeat the configuration in the individual child module POMs unless if we want to override the configuration for a specific module, as we were doing previously with Java 8, so maybe we can remove all of this configuration in the child modules.

https://maven.apache.org/pom.html#POM_Relationships
https://maven.apache.org/pom.html#Inheritance

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I propose that we remove it from all the child modules and just set it in the parent pom.

@VictorCavichioli VictorCavichioli merged commit 7d5d326 into Ericsson:master Dec 5, 2023
7 checks passed
VictorCavichioli added a commit to VictorCavichioli/ecchronos that referenced this pull request Dec 6, 2023
In order to provide support for Java 11 in EcChronos,
identify the minimal changes necessary for the project
to compile and run with Java 11. Additionally, implement
these changes and any necessary updates to Maven packages.

Closes Ericsson#616
@VictorCavichioli VictorCavichioli deleted the feature/support-java-11 branch February 26, 2024 16:59
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 this pull request may close these issues.

Build Ecchronos with Java 11
2 participants