SEARCH-2249 Fixing the format of the plugin in the parent pom

This commit is contained in:
Keerat
2020-05-13 17:18:42 +01:00
parent 5ef703e423
commit 112a8897a8

64
pom.xml
View File

@@ -73,38 +73,38 @@
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
<configuration> <configuration>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<organizationName>Alfresco Software Limited</organizationName> <organizationName>Alfresco Software Limited</organizationName>
<failOnMissingHeader>true</failOnMissingHeader> <failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>true</failOnNotUptodateHeader> <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
<licenseResolver>classpath://alfresco</licenseResolver> <licenseResolver>classpath://alfresco</licenseResolver>
<licenseName>${licenseName}</licenseName> <licenseName>${licenseName}</licenseName>
<roots> <roots>
<root>src</root> <root>src</root>
</roots> </roots>
<includes> <includes>
<include>**/*.java</include> <include>**/*.java</include>
<include>**/*.jsp</include> <include>**/*.jsp</include>
</includes> </includes>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>check-licenses</id> <id>check-licenses</id>
<phase>compile</phase> <phase>compile</phase>
<goals> <goals>
<goal>check-file-header</goal> <goal>check-file-header</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-license-headers</artifactId> <artifactId>alfresco-license-headers</artifactId>
<version>1.0</version> <version>1.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>