-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
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. |
<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> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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>
.
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. |
No description provided.