diff --git a/amps/ags/pom.xml b/amps/ags/pom.xml index cb96d358dd..7f80160fc3 100644 --- a/amps/ags/pom.xml +++ b/amps/ags/pom.xml @@ -46,50 +46,49 @@ org.codehaus.mojo license-maven-plugin - 2.0.1.alfresco-1 - - ${license.verbose} - false - false - - - Alfresco Software Limited - ${project.parent.parent.basedir}/license/description.ftl - true - true - - - file:${project.parent.parent.basedir}/license - - - ${license.update.dryrun} - true - true - - - - src - - - - - **/package-info.java - **/*.properties - **/*.css - **/*.xml - **/*.json - **/*.txt - **/*.html - - - first update-file-header - process-sources + none + + ${license.verbose} + false + false + + + Alfresco Software Limited + ${project.parent.parent.basedir}/license/description.ftl + true + true + + + file:${project.parent.parent.basedir}/license + + + ${license.update.dryrun} + true + true + + + + src + + + + + **/package-info.java + **/*.properties + **/*.css + **/*.xml + **/*.json + **/*.txt + **/*.html + + + diff --git a/amps/ags/rm-automation/pom.xml b/amps/ags/rm-automation/pom.xml index 83956d23da..3b81472dc0 100644 --- a/amps/ags/rm-automation/pom.xml +++ b/amps/ags/rm-automation/pom.xml @@ -37,6 +37,16 @@ ${skip.automationtests} + + org.codehaus.mojo + license-maven-plugin + + + third-party-licenses + none + + + diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml index 9fbc211835..a2e022f60f 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml @@ -10,17 +10,22 @@ 14.73-SNAPSHOT - org.codehaus.mojo license-maven-plugin - - alfresco_community - file:${project.parent.parent.basedir}/license - ${project.parent.parent.basedir}/license/description.ftl - + + + first + process-sources + + alfresco_community + file:${project.parent.parent.basedir}/license + ${project.parent.parent.basedir}/license/description.ftl + + + org.apache.maven.plugins diff --git a/amps/ags/rm-community/rm-community-repo/pom.xml b/amps/ags/rm-community/rm-community-repo/pom.xml index f1b8866c30..849d4534bb 100644 --- a/amps/ags/rm-community/rm-community-repo/pom.xml +++ b/amps/ags/rm-community/rm-community-repo/pom.xml @@ -320,17 +320,23 @@ org.codehaus.mojo license-maven-plugin - - alfresco_community - - source/java - unit-test/java - source/compatibility - config - test/java - test/resources - - + + + first + process-sources + + alfresco_community + + source/java + unit-test/java + source/compatibility + config + test/java + test/resources + + + + diff --git a/pom.xml b/pom.xml index e33c35b108..86927164a6 100644 --- a/pom.xml +++ b/pom.xml @@ -925,7 +925,7 @@ true provided,test - org.alfresco + ^(org\.alfresco|com\.alfresco|org\.activiti).* false https://raw.githubusercontent.com/Alfresco/third-party-license-overrides/master/includedLicenses.txt @@ -949,5 +949,11 @@ + + + org.codehaus.mojo + license-maven-plugin + + diff --git a/remote-api/pom.xml b/remote-api/pom.xml index 0762c8e3f0..7db8177124 100644 --- a/remote-api/pom.xml +++ b/remote-api/pom.xml @@ -176,15 +176,6 @@ - - - - org.codehaus.mojo - license-maven-plugin - 2.0.1.alfresco-1 - - - @@ -271,21 +262,6 @@ org.codehaus.mojo license-maven-plugin - - false - Alfresco Software Limited - true - true - classpath://alfresco - ${licenseName} - - src - - - **/*.java - **/*.jsp - - check-licenses @@ -293,6 +269,21 @@ check-file-header + + false + Alfresco Software Limited + true + true + classpath://alfresco + ${licenseName} + + src + + + **/*.java + **/*.jsp + + diff --git a/repository/pom.xml b/repository/pom.xml index 507f22a3b4..3c20546954 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -988,21 +988,6 @@ org.codehaus.mojo license-maven-plugin - - false - Alfresco Software Limited - true - true - classpath://alfresco - ${licenseName} - - src - - - **/*.java - **/*.jsp - - check-licenses @@ -1010,6 +995,21 @@ check-file-header + + false + Alfresco Software Limited + true + true + classpath://alfresco + ${licenseName} + + src + + + **/*.java + **/*.jsp + +