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

Review: move sorald to subfolder #779

Merged
merged 5 commits into from
Apr 5, 2022
Merged

Conversation

MartinWitt
Copy link
Contributor

As always, any perfect plan fails on some small things you forgot :D. Maven more or less needs a top-level parent for multimodule projects. I thought maven has the same features as Gradle for multimodule projects. This PR changes the sorald-parent to a top-level pom and moves all files from /src to a Sorald subproject. I split the PR in two commits on is only file movement and the other one is pom changes. Luckily, GitHub shows when a file is moved without changes. I believe the best way to review this is checkout the PR and have a look inside your IDE.

@MartinWitt MartinWitt changed the title move sorald to subfolder WIP: move sorald to subfolder Apr 1, 2022
@algomaster99
Copy link
Member

I shall take a look at this on Monday :)

@MartinWitt MartinWitt changed the title WIP: move sorald to subfolder Review: move sorald to subfolder Apr 4, 2022
Comment on lines -209 to -233
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<excludes>
<exclude>sorald/annotations/**/*.class</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't dependenices like picocli and jacoco be in the top-level pom? I think they would be shared by all submodules?

Comment on lines -209 to -233
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<excludes>
<exclude>sorald/annotations/**/*.class</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't dependenices like picocli and jacoco be in the top-level pom? I think they would be shared by all submodules?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No only sorald core (the sorald subfolder) needs the CLI feature currently. JaCoCo could be added to top level, but then we would force all projects implementing the API to use JaCoCo. I'm unsure if this is a great result.

@algomaster99
Copy link
Member

@MartinWitt I merged master with spi. You will need to resolve some conflicts here.

@algomaster99 algomaster99 merged commit 5dc9c61 into ASSERT-KTH:spi Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants