mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
checks for the ags repo with wrong header
This commit is contained in:
@@ -61,36 +61,26 @@
|
|||||||
<artifactId>license-maven-plugin</artifactId>
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>first</id>
|
<id>check-headers</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>update-file-header</goal>
|
<goal>check-file-header</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>none</phase>
|
<phase>validate</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<licenseName>Apache License, Version 2.0</licenseName>
|
||||||
<verbose>${license.verbose}</verbose>
|
<verbose>${license.verbose}</verbose>
|
||||||
<addSvnKeyWords>false</addSvnKeyWords>
|
<addSvnKeyWords>false</addSvnKeyWords>
|
||||||
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
||||||
|
|
||||||
<!-- header configuration -->
|
|
||||||
<organizationName>Alfresco Software Limited</organizationName>
|
<organizationName>Alfresco Software Limited</organizationName>
|
||||||
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
<descriptionTemplate>${project.parent.parent.basedir}/license/description.ftl</descriptionTemplate>
|
||||||
<canUpdateCopyright>true</canUpdateCopyright>
|
<canUpdateCopyright>true</canUpdateCopyright>
|
||||||
<canUpdateDescription>true</canUpdateDescription>
|
<canUpdateDescription>true</canUpdateDescription>
|
||||||
|
|
||||||
<!-- license configuration -->
|
|
||||||
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
<licenseResolver>file:${project.parent.parent.basedir}/license</licenseResolver>
|
||||||
|
|
||||||
<!-- dry run options -->
|
|
||||||
<dryRun>${license.update.dryrun}</dryRun>
|
|
||||||
<failOnMissingHeader>true</failOnMissingHeader>
|
<failOnMissingHeader>true</failOnMissingHeader>
|
||||||
<failOnNotUptodateHeader>${license.failOnNotUptodateHeader}</failOnNotUptodateHeader>
|
<failOnNotUptodateHeader>${license.failOnNotUptodateHeader}</failOnNotUptodateHeader>
|
||||||
|
|
||||||
<!-- default root -->
|
|
||||||
<roots>
|
<roots>
|
||||||
<root>src</root>
|
<root>src</root>
|
||||||
</roots>
|
</roots>
|
||||||
|
|
||||||
<!-- exclusions -->
|
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/package-info.java</exclude>
|
<exclude>**/package-info.java</exclude>
|
||||||
<exclude>**/*.properties</exclude>
|
<exclude>**/*.properties</exclude>
|
||||||
@@ -100,10 +90,16 @@
|
|||||||
<exclude>**/*.txt</exclude>
|
<exclude>**/*.txt</exclude>
|
||||||
<exclude>**/*.html</exclude>
|
<exclude>**/*.html</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.alfresco</groupId>
|
||||||
|
<artifactId>alfresco-license-headers</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
* #%L
|
* #%L
|
||||||
* Alfresco Records Management Module
|
* 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.
|
* 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)
|
public FileInfo create(NodeRef parentNodeRef, String name, QName typeQName)
|
||||||
{
|
{
|
||||||
return create(parentNodeRef, name, typeQName, null);
|
return create(parentNodeRef, name, typeQName, null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user