Skip to content

[POM] Add Sonar settings#4

Merged
SerhatG merged 1 commit intoaerius:mainfrom
SerhatG:add_sonar_settings
May 10, 2023
Merged

[POM] Add Sonar settings#4
SerhatG merged 1 commit intoaerius:mainfrom
SerhatG:add_sonar_settings

Conversation

@SerhatG
Copy link
Member

@SerhatG SerhatG commented May 10, 2023

No description provided.

@SerhatG SerhatG requested a review from BertScholten May 10, 2023 14:28
Comment on lines +42 to +43
<sonar.organization>aerius</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps we could move these to the root pom?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah would work as well. @Hilbrand thoughts?

source/pom.xml Outdated
Comment on lines 109 to 116
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
Copy link
Member

Choose a reason for hiding this comment

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

Think this is specified in the root pom in pluginManagement and as such doesn't need to be included? Could be wrong though, didn't test it.

Copy link
Member Author

Choose a reason for hiding this comment

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

@Hilbrand did it for Register as well, so I thought if the master did.. but you are right I think.. Let me revert it and test it out.

@SerhatG SerhatG force-pushed the add_sonar_settings branch from 9cb4dac to 7f6ad1d Compare May 10, 2023 14:39
Copy link
Member

@BertScholten BertScholten left a comment

Choose a reason for hiding this comment

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

LGTM, can move the properties later if you want to get the build going ;)

<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.organization>aerius</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.java.pmd.reportPaths>${project.build.directory}/dependency-check-report-pmd.xml</sonar.java.pmd.reportPaths>
Copy link
Member

Choose a reason for hiding this comment

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

Not generating any pmd reports atm, so a bit pointless.

@SerhatG SerhatG merged commit d1da7d1 into aerius:main May 10, 2023
@SerhatG SerhatG deleted the add_sonar_settings branch May 11, 2023 06:30
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.

2 participants