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

Fix the skip-copyright profile #310

Closed
wants to merge 2 commits into from
Closed

Conversation

mhdirkse
Copy link
Member

@mhdirkse mhdirkse commented Oct 1, 2024

No description provided.

@mhdirkse mhdirkse marked this pull request as draft October 1, 2024 12:21
@mhdirkse
Copy link
Member Author

mhdirkse commented Oct 1, 2024

Dit gaat zo niet goed. Als je met deze code het skip-copyright niet enabled, dan heb je toch niet de copyright check. Ik ga proberen deze PR uit te breiden zodat je de copyright check nog steeds kan doen als je dat wilt.

Comment on lines +305 to +324
<plugin>
<groupId>org.glassfish.copyright</groupId>
<artifactId>glassfish-copyright-maven-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>Check-CopyRight-Notice</id>
<goals>
<goal>copyright</goal><!-- Checks for Copyright notices -->
<goal>check</goal><!-- Fails the build -->
</goals>
<phase>process-sources</phase>
</execution>
</executions>
<configuration>
<excludeFile>${ibis.ladybug.rootdir}${file.separator}copyrightExcludeFile.txt</excludeFile>
<useDash>true</useDash>
<templateFile>${ibis.ladybug.rootdir}/copyrightTemplateFile.txt</templateFile>
</configuration>
</plugin>
Copy link
Member

Choose a reason for hiding this comment

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

Stond dit eerst ergens anders gedefineerd?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ik denk onder het skip-copyright profile, dat per abous juist wél de copyright check doet. Dat zie je aan de linkerkant van de vergelijking: <phase>process-sources</phase>.

@mhdirkse
Copy link
Member Author

mhdirkse commented Oct 1, 2024

Sergi heeft even meegekeken. Het werkte al zoals het was, maar je moet het profiel via een property runnen. Het profiel heeft een misleidende naam, want juist binnen de definitie van het profiel staat dat de copyright check wél gebeurt. Ik zal een nieuwe PR maken met een commentaar dat hierop wijst.

@mhdirkse mhdirkse closed this Oct 1, 2024
@philipsens philipsens deleted the allowOmittingCopyrightCheck branch October 1, 2024 14:56
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