mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
BDE-73: configure Sonar + make RepositoryStartupTest pass first
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@39573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
21
pom.xml
21
pom.xml
@@ -603,10 +603,24 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Temporarily unplug integration tests -->
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<executions>
|
||||
<!-- Additional execution running basic test first, to fail fast if nothing works -->
|
||||
<execution>
|
||||
<id>startup-test</id>
|
||||
<goals> <goal>test</goal> </goals>
|
||||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<includes> <include>**/org/alfresco/RepositoryStartupTest.*</include> </includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<!-- Default configuration, specifying which tests to pass -->
|
||||
<execution>
|
||||
<id>default-test</id>
|
||||
<configuration>
|
||||
<forkMode>always</forkMode>
|
||||
<includes>
|
||||
<!-- Standard test names -->
|
||||
<include>**/*Test.*</include>
|
||||
@@ -617,6 +631,8 @@
|
||||
</includes>
|
||||
|
||||
<excludes>
|
||||
<exclude>**/org/alfresco/RepositoryStartupTest.*</exclude>
|
||||
|
||||
<!-- Failing tests which are not run with Ant - OK to exclude -->
|
||||
<exclude>**/org/alfresco/encryption/EncryptionTests.*</exclude>
|
||||
<exclude>**/org/alfresco/jcr/test/BaseJCRTest.*</exclude>
|
||||
@@ -624,6 +640,7 @@
|
||||
<exclude>**/org/alfresco/repo/action/scheduled/ScheduledPersistedActionServiceTest.*</exclude>
|
||||
<exclude>**/org/alfresco/repo/avm/AVMServiceRemoteSystemTest.*</exclude>
|
||||
<exclude>**/org/alfresco/repo/blog/BlogIntegrationServiceSystemTest.*</exclude>
|
||||
<exclude>**/org/alfresco/repo/content/caching/quota/StandardQuotaStrategyTest.*</exclude>
|
||||
<exclude>**/org/alfresco/repo/content/transform/OOXMLThumbnailContentTransformerTest.*</exclude>
|
||||
<exclude>**/org/alfresco/repo/domain/avm/AVMStoreDAOTest.*</exclude>
|
||||
<exclude>**/org/alfresco/repo/content/transform/FailoverContentTransformerTest.*</exclude>
|
||||
@@ -658,6 +675,8 @@
|
||||
<exclude>**/org/alfresco/wcm/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Create a jar of test classes, to be reused later in remote-api -->
|
||||
|
Reference in New Issue
Block a user