diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index a75f39ae82..0721cea0c4 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -27,15 +27,15 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs build-helper-maven-plugin - add-test-source - - add-test-source - - - - src/unit-test/java - - + add-test-source + + add-test-source + + + + src/unit-test/java + + @@ -244,19 +244,19 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs org.alfresco - alfresco-rm-community-share - ${project.version} - amp - - - org.alfresco + alfresco-rm-community-share + ${project.version} + amp + + + org.alfresco alfresco-rm-enterprise-share - ${project.version} - amp - - - org.alfresco - alfresco-rm-community-repo + ${project.version} + amp + + + org.alfresco + alfresco-rm-community-repo ${project.version} amp @@ -279,18 +279,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs true - install-community-repo-amp - - install - - process-test-resources - - true - ${project.build.directory}/amps/alfresco-rm-community-repo-${project.version}.amp - ${project.build.directory}/alf-installation/tomcat/webapps/alfresco.war - - - + install-community-repo-amp + + install + + process-test-resources + + true + ${project.build.directory}/amps/alfresco-rm-community-repo-${project.version}.amp + ${project.build.directory}/alf-installation/tomcat/webapps/alfresco.war + + + install-enterprise-repo-amp install @@ -300,18 +300,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs true ${project.build.directory}/amps/alfresco-rm-enterprise-repo-${project.version}.amp ${project.build.directory}/alf-installation/tomcat/webapps/alfresco.war - - - - install-community-share-amp - - install - - process-test-resources - - true - ${project.build.directory}/amps/alfresco-rm-community-share-${project.version}.amp - ${project.build.directory}/alf-installation/tomcat/webapps/share.war + + + + install-community-share-amp + + install + + process-test-resources + + true + ${project.build.directory}/amps/alfresco-rm-community-share-${project.version}.amp + ${project.build.directory}/alf-installation/tomcat/webapps/share.war diff --git a/rm-community/rm-community-repo/pom.xml b/rm-community/rm-community-repo/pom.xml index 09727879a5..d55da9e478 100644 --- a/rm-community/rm-community-repo/pom.xml +++ b/rm-community/rm-community-repo/pom.xml @@ -1,217 +1,210 @@ - - - 4.0.0 - alfresco-rm-community-repo - Alfresco Records Management Community Repo + + + 4.0.0 + alfresco-rm-community-repo + Alfresco Records Management Community Repo Alfresco Record Management Core Repository Extension - amp - - - org.alfresco - alfresco-rm-community + amp + + + org.alfresco + alfresco-rm-community 2.5-SNAPSHOT - - - - ${basedir}/target/alf_test_data - org.hibernate.dialect.H2Dialect - alfresco - alfresco - alfresco - localhost - alfresco - 9.1-901.jdbc4 - 5.1.31 - alfresco-rm-community-repo - true - ${project.build.directory}/solr/home - - - - source/java - test/java - - - config - ${app.filtering.enabled} - - - - - unit-test/resources - - - test/resources - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-source - - add-source - - - - source/compatibility - - - - - add-test-source - - add-test-source - - - - unit-test/java - - - - - - - maven-antrun-plugin - - - prepare-package - - run - - - + + + + ${basedir}/target/alf_test_data + org.hibernate.dialect.H2Dialect + alfresco + alfresco + alfresco + localhost + alfresco + 9.1-901.jdbc4 + 5.1.31 + alfresco-rm-community-repo + true + ${project.build.directory}/solr/home + + + + source/java + test/java + + + config + ${app.filtering.enabled} + + + + + unit-test/resources + + + test/resources + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + + add-source + + + + source/compatibility + + + + + add-test-source + + add-test-source + + + + unit-test/java + + + + + + + maven-antrun-plugin + + + prepare-package + + run + + + - + - - - - - + + + + + + + org.codehaus.mojo + properties-maven-plugin + + + initialize + + read-project-properties + + + + ${basedir}/src/main/resources/local.properties + + true + + + + - org.codehaus.mojo - properties-maven-plugin - - - initialize - - read-project-properties - - - - ${basedir}/src/main/resources/local.properties - - true - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/AllUnitTestSuite.class - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - integration-tests - - integration-test - verify - - - ${skip.integrationtests} - - **/AllTestSuite.class - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-alfresco - prepare-package - - unpack - - - ${app.amp.client.war.folder} - - - ${alfresco.groupId} - ${app.amp.client.war.artifactId} - war - ${alfresco.version} - - - - - - - - org.alfresco.maven.plugin - alfresco-maven-plugin - - - attach-rm-jar - - amp - - - true - true - - - - install-rm-amp - - install - - package - - true - ${project.build.directory}/${alfresco.rm.artifactId}-${alfresco.rm.version}.amp - - - - amps-to-war-overlay - package - - install - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - **/alfresco-global.properties - - - + org.apache.maven.plugins + maven-surefire-plugin + + + **/AllUnitTestSuite.class + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + integration-tests + + integration-test + verify + + + ${skip.integrationtests} + + **/AllTestSuite.class + + + ${project.build.directory}/${project.build.finalName}/config + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-alfresco + prepare-package + + unpack + + + ${app.amp.client.war.folder} + + + ${alfresco.groupId} + ${app.amp.client.war.artifactId} + war + ${alfresco.version} + + + + + + + + org.alfresco.maven.plugin + alfresco-maven-plugin + + + attach-rm-jar + + amp + + + true + true + true + + + + amps-to-war-overlay + package + + install + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + test-jar + + + + + + **/alfresco-global.properties + + + @@ -230,398 +223,396 @@ - - - - - org.eclipse.m2e - lifecycle-mapping - - - - + + + + + org.eclipse.m2e + lifecycle-mapping + + + + + + org.codehaus.mojo + properties-maven-plugin + [1.0-alpha-2,) + + read-project-properties + + + + + + + org.codehaus.mojo - properties-maven-plugin - [1.0-alpha-2,) + license-maven-plugin + [1.8,) - read-project-properties + update-file-header - - - - org.codehaus.mojo - - license-maven-plugin - - [1.8,) - - update-file-header - - - - - - - - - - - - - - - - - ${alfresco.groupId} - alfresco-remote-api + + + + + + + + + + + + ${alfresco.groupId} + alfresco-remote-api + + + io.takari.junit + takari-cpsuite + 1.2.7 + test + + + junit + junit + test + + + org.springframework.extensions.surf + spring-webscripts + tests + test + + + org.mockito + mockito-all + test + + + org.springframework + spring-test + 2.5 + test - io.takari.junit - takari-cpsuite - 1.2.7 - test - - - junit - junit - test - - - org.springframework.extensions.surf - spring-webscripts - tests - test - - - org.mockito - mockito-all - test - - - org.springframework - spring-test - 2.5 - test - - - ${alfresco.groupId} - alfresco-repository - ${alfresco.version} - tests - test - - - ${alfresco.groupId} - alfresco-remote-api - ${alfresco.version} - tests - test - - - postgresql - postgresql - ${alfresco.postgres.version} - test - - - mysql - mysql-connector-java - test - - - ${alfresco.groupId} - alfresco-repository - ${alfresco.version} - h2scripts - - - * - * - - - test - + ${alfresco.groupId} + alfresco-repository + ${alfresco.version} + tests + test + + + ${alfresco.groupId} + alfresco-remote-api + ${alfresco.version} + tests + test + + + postgresql + postgresql + ${alfresco.postgres.version} + test + + + mysql + mysql-connector-java + test + + + ${alfresco.groupId} + alfresco-repository + ${alfresco.version} + h2scripts + + + * + * + + + test + org.reflections reflections test - - - - - use-mysql - - ${my.db.name} - ${my.db.port} - org.hibernate.dialect.MySQLInnoDBDialect - - jdbc:mysql://${alfresco.db.host}:${alfresco.db.port}/${alfresco.db.name} - jdbc:mysql://${alfresco.db.host}:${alfresco.db.port}/${alfresco.db.name} - org.gjt.mm.mysql.Driver - - - - use-postgres - - ${my.db.name} - ${my.db.port} - org.hibernate.dialect.PostgreSQLDialect - - jdbc:postgresql:template1 - jdbc:postgresql:${alfresco.db.name} - org.postgresql.Driver - - - - start-repo - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-alfresco - prepare-package - - unpack - - - ${app.amp.client.war.folder} - - - ${alfresco.groupId} - ${alfresco.repo.artifactId} - war - ${alfresco.version} - - - - - - unpack-alfresco-config - - unpack - - generate-resources - - ${alfresco.solr.home} - - - alfresco-solr4 - ${alfresco.groupId} - config - ${alfresco.version} - zip - - - - - - - - org.alfresco.maven.plugin - alfresco-maven-plugin - - - amps-to-war-overlay - package - - install - - - - - false - - - - org.codehaus.mojo - build-helper-maven-plugin - - - regex-property - generate-resources - - regex-property - - - solrHomePath - ${alfresco.solr.home} - \\ - \\\\ - false - - - - - - com.google.code.maven-replacer-plugin - replacer - - - setup-solr-config - generate-resources - - replace - - - - - false - - ${alfresco.solr.home}/context.xml - ${alfresco.solr.home}/archive-SpacesStore/conf/solrcore.properties - ${alfresco.solr.home}/workspace-SpacesStore/conf/solrcore.properties - ${app.amp.client.war.folder}/WEB-INF/web.xml - - - - @@ALFRESCO_SOLR4_DIR@@ - ${solrHomePath}/ - - - @@ALFRESCO_SOLR4_MODEL_DIR@@ - ${solrHomePath}/alfrescoModels/ - - - @@ALFRESCO_SOLR4_CONTENT_DIR@@ - ${solrHomePath}/data/content/ - - - @@ALFRESCO_SOLR4_DATA_DIR@@ - ${solrHomePath}/data/index/ - - - ]]> - - - - ]]> - ]]> - - - - - - org.apache.tomcat.maven - tomcat7-maven-plugin - - - run-embedded - - run - - integration-test - - false - true - true - - ${project.build.directory} - - false - ${project.basedir}/tomcat/context.xml - - - ${alfresco.groupId} - alfresco-solr4 - ${alfresco.version} - war - true - /solr4 - ${alfresco.solr.home}/context.xml - - - - - - - - postgresql - postgresql - ${alfresco.postgres.version} - - - mysql - mysql-connector-java - ${alfresco.mysql.version} - - - ${alfresco.groupId} - alfresco-repository - ${alfresco.version} - h2scripts - - - * - * - - - - - - - - - - - wipeDB - - - - org.codehaus.mojo - sql-maven-plugin - - true - ${alfresco.db.datasource.class} - ${alfresco.db.master.url} - ${alfresco.db.username} - ${alfresco.db.password} - - - - postgresql - postgresql - ${alfresco.postgres.version} - - - mysql - mysql-connector-java - ${alfresco.mysql.version} - - - - - wipe-database - process-test-resources - - execute - - - drop database if exists alfresco - - - - create-database - process-test-resources - - execute - - - create database alfresco - - - - - - - - + + + + + use-mysql + + ${my.db.name} + ${my.db.port} + org.hibernate.dialect.MySQLInnoDBDialect + + jdbc:mysql://${alfresco.db.host}:${alfresco.db.port}/${alfresco.db.name} + jdbc:mysql://${alfresco.db.host}:${alfresco.db.port}/${alfresco.db.name} + org.gjt.mm.mysql.Driver + + + + use-postgres + + ${my.db.name} + ${my.db.port} + org.hibernate.dialect.PostgreSQLDialect + + jdbc:postgresql:template1 + jdbc:postgresql:${alfresco.db.name} + org.postgresql.Driver + + + + start-repo + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-alfresco + prepare-package + + unpack + + + ${app.amp.client.war.folder} + + + ${alfresco.groupId} + ${alfresco.repo.artifactId} + war + ${alfresco.version} + + + + + + unpack-alfresco-config + + unpack + + generate-resources + + ${alfresco.solr.home} + + + alfresco-solr4 + ${alfresco.groupId} + config + ${alfresco.version} + zip + + + + + + + + org.alfresco.maven.plugin + alfresco-maven-plugin + + + amps-to-war-overlay + package + + install + + + + + false + + + + org.codehaus.mojo + build-helper-maven-plugin + + + regex-property + generate-resources + + regex-property + + + solrHomePath + ${alfresco.solr.home} + \\ + \\\\ + false + + + + + + com.google.code.maven-replacer-plugin + replacer + + + setup-solr-config + generate-resources + + replace + + + + + false + + ${alfresco.solr.home}/context.xml + ${alfresco.solr.home}/archive-SpacesStore/conf/solrcore.properties + ${alfresco.solr.home}/workspace-SpacesStore/conf/solrcore.properties + ${app.amp.client.war.folder}/WEB-INF/web.xml + + + + @@ALFRESCO_SOLR4_DIR@@ + ${solrHomePath}/ + + + @@ALFRESCO_SOLR4_MODEL_DIR@@ + ${solrHomePath}/alfrescoModels/ + + + @@ALFRESCO_SOLR4_CONTENT_DIR@@ + ${solrHomePath}/data/content/ + + + @@ALFRESCO_SOLR4_DATA_DIR@@ + ${solrHomePath}/data/index/ + + + ]]> + + + + ]]> + ]]> + + + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + + + run-embedded + + run + + integration-test + + false + true + true + + ${project.build.directory} + + false + ${project.basedir}/tomcat/context.xml + + + ${alfresco.groupId} + alfresco-solr4 + ${alfresco.version} + war + true + /solr4 + ${alfresco.solr.home}/context.xml + + + + + + + + postgresql + postgresql + ${alfresco.postgres.version} + + + mysql + mysql-connector-java + ${alfresco.mysql.version} + + + ${alfresco.groupId} + alfresco-repository + ${alfresco.version} + h2scripts + + + * + * + + + + + + + + + + + wipeDB + + + + org.codehaus.mojo + sql-maven-plugin + + true + ${alfresco.db.datasource.class} + ${alfresco.db.master.url} + ${alfresco.db.username} + ${alfresco.db.password} + + + + postgresql + postgresql + ${alfresco.postgres.version} + + + mysql + mysql-connector-java + ${alfresco.mysql.version} + + + + + wipe-database + process-test-resources + + execute + + + drop database if exists alfresco + + + + create-database + process-test-resources + + execute + + + create database alfresco + + + + + + + + \ No newline at end of file