mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-17 14:21:20 +00:00
SEARCH-2249 Allow automated updates to the copyright headers.
This can be done with the command: mvn clean install -Dlicense.update.dryrun=false -DskipTests=true (cherry picked from commit e184132fc8914d30691e753594b01cb60a076b6b)
This commit is contained in:
5
pom.xml
5
pom.xml
@@ -36,6 +36,7 @@
|
||||
<solr.zip>https://artifacts.alfresco.com/nexus/content/repositories/public/org/apache/solr/solr/solr-${solr.version}/solr-solr-${solr.version}.zip</solr.zip>
|
||||
<solr.directory>${project.build.directory}/solr-${solr.version}</solr.directory>
|
||||
<licenseName>enterprise</licenseName>
|
||||
<license.update.dryrun>true</license.update.dryrun>
|
||||
</properties>
|
||||
<modules>
|
||||
<module>search-services</module>
|
||||
@@ -77,10 +78,12 @@
|
||||
<configuration>
|
||||
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
||||
<organizationName>Alfresco Software Limited</organizationName>
|
||||
<canUpdateCopyright>true</canUpdateCopyright>
|
||||
<failOnMissingHeader>true</failOnMissingHeader>
|
||||
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
||||
<licenseResolver>classpath://alfresco</licenseResolver>
|
||||
<licenseName>${licenseName}</licenseName>
|
||||
<dryRun>${license.update.dryrun}</dryRun>
|
||||
<roots>
|
||||
<root>src</root>
|
||||
</roots>
|
||||
@@ -94,7 +97,7 @@
|
||||
<id>check-licenses</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>check-file-header</goal>
|
||||
<goal>update-file-header</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
|
Reference in New Issue
Block a user