checks for the ags repo with wrong header

This commit is contained in:
tathagta15
2025-07-16 17:15:01 +00:00
parent 7bbbcaa910
commit 6f9416bc45
2 changed files with 14 additions and 17 deletions

View File

@@ -61,36 +61,26 @@
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<id>first</id>
<id>check-headers</id>
<goals>
<goal>update-file-header</goal>
<goal>check-file-header</goal>
</goals>
<phase>none</phase>
<phase>validate</phase>
<configuration>
<licenseName>Apache License, Version 2.0</licenseName>
<verbose>${license.verbose}</verbose>
<addSvnKeyWords>false</addSvnKeyWords>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<!-- header configuration -->
<organizationName>Alfresco Software Limited</organizationName>
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
<canUpdateCopyright>true</canUpdateCopyright>
<canUpdateDescription>true</canUpdateDescription>
<!-- license configuration -->
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
<!-- dry run options -->
<dryRun>${license.update.dryrun}</dryRun>
<failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>${license.failOnNotUptodateHeader}</failOnNotUptodateHeader>
<!-- default root -->
<roots>
<root>src</root>
<root>src</root>
</roots>
<!-- exclusions -->
<excludes>
<exclude>**/package-info.java</exclude>
<exclude>**/*.properties</exclude>
@@ -100,10 +90,16 @@
<exclude>**/*.txt</exclude>
<exclude>**/*.html</exclude>
</excludes>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-license-headers</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>

View File

@@ -2,7 +2,7 @@
* #%L
* Alfresco Records Management Module
* %%
* Copyright (C) 2005 - 2025 Alfresco Software Limited
* Copyright (C) 2005 - 2024 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* -
@@ -48,6 +48,7 @@ public class ExtendedFileFolderServiceImpl extends FileFolderServiceImpl
public FileInfo create(NodeRef parentNodeRef, String name, QName typeQName)
{
return create(parentNodeRef, name, typeQName, null);
}
@Override