diff --git a/pom.xml b/pom.xml index 422d515fff..8d900944de 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,6 @@ 3.0.0-SNAPSHOT Alfresco Records Management - - org.alfresco.maven - alfresco-sdk-parent - 2.1.1 - - http://www.alfresco.org/ 2005 @@ -24,8 +18,7 @@ scm:git:https://git.alfresco.com/records-management/records-management.git scm:git:https://git.alfresco.com/records-management/records-management.git https://git.alfresco.com/records-management/records-management - HEAD - + JIRA @@ -41,17 +34,39 @@ + + alfresco-internal + Alfresco Internal Repository + https://artifacts.alfresco.com/nexus/content/groups/internal/ + alfresco-public https://artifacts.alfresco.com/nexus/content/groups/public + + alfresco-public-snapshots + https://artifacts.alfresco.com/nexus/content/groups/public-snapshots + + + alfresco-private + Alfresco Internal Repository + https://artifacts.alfresco.com/nexus/content/groups/private + alfresco-public https://artifacts.alfresco.com/nexus/content/groups/public + + alfresco-plugin-public + https://artifacts.alfresco.com/nexus/content/groups/public + + + alfresco-plugin-public-snapshots + https://artifacts.alfresco.com/nexus/content/groups/public-snapshots + @@ -159,15 +174,186 @@ + + + + enable-amp + + + src/main/amp/module.properties + + + + + + org.alfresco.maven.plugin + alfresco-maven-plugin + true + + + + maven-resources-plugin + + + add-module-properties-to-test-classpath + process-test-resources + + copy-resources + + + ${project.build.testOutputDirectory} + + + ${app.amp.folder} + + module.properties + + ${app.filtering.enabled} + alfresco/module/${project.artifactId} + + + + + + add-module-config-to-test-classpath + process-test-resources + + copy-resources + + + ${project.build.testOutputDirectory} + + + ${app.amp.folder}/config + + **/* + + ${app.filtering.enabled} + + + + + + + + + + + + + enable-properties-filtering + + + + src/main/properties + + + + + + org.codehaus.mojo + build-helper-maven-plugin + ${maven.buildhelper.version} + + + add-env-properties + generate-resources + + add-resource + + + + + ${app.properties.folder} + + ${app.properties.include} + + ${app.filtering.enabled} + + + + + + + + + + + enable-test-properties-filtering + + + + src/test/properties + + + + + + org.codehaus.mojo + build-helper-maven-plugin + ${maven.buildhelper.version} + + + add-env-test-properties + generate-resources + + add-test-resource + + + + + ${app.properties.test.folder} + + ${app.properties.test.include} + + ${app.filtering.enabled} + + + + + + + + + + /alfresco + ${session.executionRootDirectory}/alf_data_dev + org.gjt.mm.mysql.Driver + alf_dev AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=10000;MVCC=FALSE;LOCK_MODE=0;IGNORECASE=TRUE + alfresco + jdbc:mysql://${alfresco.db.host}:${alfresco.db.port}/${alfresco.db.name} + alfresco + org.alfresco + share 6.17 + + 0.0 + + /share false 1.8 1.8 + 1.9.1 + 3.2 + 1.4 + 2.7 + 8080 2.9.5 5.0.4.RELEASE @@ -181,6 +367,17 @@ true false + + ${project.build.directory}/${project.build.finalName}-war + src/main/amp + ../${project.build.finalName} + true + ${project.build.directory}/ + WARN + ** + src/main/properties/local + ** + src/test/properties/local @@ -257,8 +454,8 @@ ${project.artifactId}-${project.version} - org.apache.maven.plugins maven-enforcer-plugin + 1.4 enforce-java @@ -289,8 +486,8 @@ rm.module.repo.version.min ${alfresco.version} - (\d+)\.(\d+).* - $1.$2 + (\d+)\.(\d+).* + $1.$2 false @@ -317,8 +514,8 @@ - org.apache.maven.plugins maven-surefire-plugin + 2.18 **/*UnitTest.java @@ -326,7 +523,6 @@ - org.apache.maven.plugins maven-source-plugin 3.0.1 @@ -339,7 +535,6 @@ - org.apache.maven.plugins maven-javadoc-plugin 2.10.4 @@ -348,12 +543,155 @@ jar + + -Xdoclint:none + + + + + -Xdoclint:none + + + + maven-clean-plugin + 2.6.1 + + + default-clean + clean + + clean + + + maven-install-plugin + 2.5.2 + + + default-install + install + + install + + + + + + maven-deploy-plugin + 2.7 + + + default-deploy + deploy + + deploy + + + + + + maven-site-plugin + 3.3 + + + default-site + site + + site + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + + + + + + default-deploy + site-deploy + + deploy + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + + + + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + + + + + + + org.apache.maven.archetype + archetype-packaging + 2.2 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.2 + + + + + src/main/resources + ${app.filtering.enabled} + + + ${app.amp.folder} + ${app.amp.output.folder} + ${app.filtering.enabled} + + + + + src/test/resources + ${app.filtering.enabled} + + + + maven-surefire-plugin + 2.18 + + + maven-install-plugin + 2.5.2 + + + maven-jar-plugin + 2.5 + + + maven-assembly-plugin + 2.2-beta-5 + + + org.alfresco.maven.plugin + alfresco-maven-plugin + 2.1.1 + true + + true + + maven-compiler-plugin ${maven.compiler.version} @@ -396,7 +734,7 @@ - + org.codehaus.mojo @@ -406,20 +744,19 @@ [1.9.1,) - - regex-properties - - - - - + + regex-properties + + + + + - org.apache.maven.plugins maven-enforcer-plugin ${maven.enforcer.plugin} @@ -429,12 +766,10 @@ 1.0-alpha-2 - org.apache.maven.plugins maven-failsafe-plugin 2.19 - org.apache.maven.plugins maven-antrun-plugin 1.8 @@ -451,76 +786,73 @@ - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - V@{project.version} - + maven-release-plugin + 2.5.3 + + V@{project.version} + - org.apache.maven.plugins - maven-javadoc-plugin - - -Xdoclint:none - + maven-javadoc-plugin + + -Xdoclint:none + - org.codehaus.mojo - license-maven-plugin - 1.8 - + org.codehaus.mojo + license-maven-plugin + 1.8 + ${license.verbose} - false - false + false + false - Alfresco Software Limited - ${project.parent.parent.basedir}/license/description.ftl - true - true + Alfresco Software Limited + ${project.parent.parent.basedir}/license/description.ftl + true + true - file:${project.parent.parent.basedir}/license + file:${project.parent.parent.basedir}/license ${license.update.dryrun} - true - true + true + true - - src - + + src + - - **/package-info.java - **/*.properties - **/*.css - **/*.xml - **/*.json - **/*.txt - **/*.html - + + **/package-info.java + **/*.properties + **/*.css + **/*.xml + **/*.json + **/*.txt + **/*.html + - - - - first - - update-file-header - - process-sources - - + + + + first + + update-file-header + + process-sources + + - org.apache.maven.plugins maven-resources-plugin ${maven.resources.version} @@ -530,6 +862,108 @@ 3.1.1 + + UTF-8 + + ftl + acp + jpg + png + gif + svg + pdf + doc + docx + xls + xlsx + ppt + pptx + bin + lic + swf + zip + msg + jar + ttf + eot + woff + woff2 + css + ico + psd + + + + + maven-war-plugin + 2.5 + + + org.alfresco.maven.plugin + alfresco-maven-plugin + 2.1.1 + + + + false + + + true + + + + + + maven-clean-plugin + 2.6.1 + + + maven-dependency-plugin + 2.9 + + + maven-archetype-plugin + 2.2 + + ${skipTests} + + + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + org.apache.tomcat.maven + tomcat7-maven-plugin + 2.2 + + true + + + + net.alchim31.maven + yuicompressor-maven-plugin + 1.5.1 + + + compress-js + process-resources + + compress + + + + **/webscripts/** + **/site-webscripts/** + **/*.lib.js + **/*.css + + src/main/resources/META-INF + false + + +