mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Cleanup of resources
This commit is contained in:
@@ -110,28 +110,6 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
||||||
<version>${maven-remote-resources.version}</version>
|
|
||||||
<configuration>
|
|
||||||
<includes>
|
|
||||||
<include>shared-resources/**/*</include>
|
|
||||||
</includes>
|
|
||||||
<resourceBundles>
|
|
||||||
<resourceBundle>org.alfresco.tas:utility:${tas.utility.version}</resourceBundle>
|
|
||||||
</resourceBundles>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>process</goal>
|
|
||||||
<goal>bundle</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
@@ -1,62 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
|
||||||
<suite name="CMISSuite" parallel="classes" preserve-order="true" thread-count="1">
|
|
||||||
<listeners>
|
|
||||||
<listener class-name="org.alfresco.utility.report.HtmlReportListener"></listener>
|
|
||||||
<listener class-name="org.alfresco.utility.testrail.TestRailExecutorListener"></listener>
|
|
||||||
<listener class-name="org.alfresco.utility.testng.OSTestMethodSelector"></listener>
|
|
||||||
</listeners>
|
|
||||||
<test name="CMIS">
|
|
||||||
<method-selectors>
|
|
||||||
<!-- -DincludeGroups=sanity,comments,people -DexcludeGroups=networks,othergroup -DrunBugs=true -DupdateTestRail=true-->
|
|
||||||
<method-selector>
|
|
||||||
<script language="beanshell"><![CDATA[
|
|
||||||
includedGroups = System.getProperty("includeGroups");
|
|
||||||
excludedGroups = System.getProperty("excludeGroups");
|
|
||||||
runBugs = System.getProperty("runBugs");
|
|
||||||
|
|
||||||
if((runBugs != null))
|
|
||||||
{
|
|
||||||
bugAnnotated = method.getAnnotation(org.alfresco.utility.report.Bug.class);
|
|
||||||
|
|
||||||
if (bugAnnotated != null && runBugs.equals("false") )
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if ((includedGroups == null) || (includedGroups.isEmpty())) {
|
|
||||||
return false;
|
|
||||||
} else
|
|
||||||
{
|
|
||||||
StringTokenizer includedGroupsList = new StringTokenizer(includedGroups, ",");
|
|
||||||
|
|
||||||
if ((excludedGroups != null)) {
|
|
||||||
StringTokenizer excludedGroupsList = new StringTokenizer(excludedGroups, ",");
|
|
||||||
while (excludedGroupsList.hasMoreTokens()) {
|
|
||||||
exG = excludedGroupsList.nextToken();
|
|
||||||
if (groups.containsKey(exG))
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
while (includedGroupsList.hasMoreTokens()) {
|
|
||||||
grp = includedGroupsList.nextToken();
|
|
||||||
if ((groups.containsKey(grp)))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
]]>
|
|
||||||
</script>
|
|
||||||
</method-selector>
|
|
||||||
</method-selectors>
|
|
||||||
<packages>
|
|
||||||
<package name="org.alfresco.cmis"/>
|
|
||||||
</packages>
|
|
||||||
|
|
||||||
</test> <!-- Test -->
|
|
||||||
</suite> <!-- Suite -->
|
|
@@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
|
||||||
<suite name="CMISSuites" parallel="classes" thread-count="2"
|
|
||||||
preserve-order="true">
|
|
||||||
<listeners>
|
|
||||||
<listener class-name="org.alfresco.utility.report.HtmlReportListener"></listener>
|
|
||||||
<listener class-name="org.alfresco.utility.testrail.TestRailExecutorListener"></listener>
|
|
||||||
<listener class-name="org.alfresco.utility.testng.OSTestMethodSelector"></listener>
|
|
||||||
</listeners>
|
|
||||||
|
|
||||||
<test name="CMIS Tests">
|
|
||||||
<groups>
|
|
||||||
<run>
|
|
||||||
<include name="sanity"></include>
|
|
||||||
<exclude name="regression"></exclude>
|
|
||||||
<exclude name="demo"></exclude>
|
|
||||||
<exclude name="unit"></exclude>
|
|
||||||
<exclude name="queries"></exclude>
|
|
||||||
</run>
|
|
||||||
</groups>
|
|
||||||
<packages>
|
|
||||||
<package name="org.alfresco.cmis"></package>
|
|
||||||
</packages>
|
|
||||||
</test>
|
|
||||||
</suite> <!-- Suite -->
|
|
@@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
|
||||||
<suite name="CMISSuites" parallel="classes" thread-count="2"
|
|
||||||
preserve-order="true">
|
|
||||||
<listeners>
|
|
||||||
<listener class-name="org.alfresco.utility.report.HtmlReportListener"></listener>
|
|
||||||
<listener class-name="org.alfresco.utility.testrail.TestRailExecutorListener"></listener>
|
|
||||||
<listener class-name="org.alfresco.utility.testng.OSTestMethodSelector"></listener>
|
|
||||||
</listeners>
|
|
||||||
|
|
||||||
<test name="CMIS Tests">
|
|
||||||
<groups>
|
|
||||||
<run>
|
|
||||||
<include name="sanity"></include>
|
|
||||||
<include name="regression"></include>
|
|
||||||
<exclude name="demo"></exclude>
|
|
||||||
<exclude name="unit"></exclude>
|
|
||||||
<exclude name="queries"></exclude>
|
|
||||||
</run>
|
|
||||||
</groups>
|
|
||||||
<packages>
|
|
||||||
<package name="org.alfresco.cmis"></package>
|
|
||||||
</packages>
|
|
||||||
</test>
|
|
||||||
</suite> <!-- Suite -->
|
|
@@ -1,151 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<model name="tas:cmistasmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
|
||||||
|
|
||||||
<description>Alfresco TAS custom model</description>
|
|
||||||
<author>Bogdan</author>
|
|
||||||
<version>1.0</version>
|
|
||||||
|
|
||||||
<imports>
|
|
||||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
|
||||||
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
|
||||||
</imports>
|
|
||||||
|
|
||||||
<namespaces>
|
|
||||||
<namespace uri="tas.cmis.model" prefix="tas"/>
|
|
||||||
</namespaces>
|
|
||||||
|
|
||||||
<types>
|
|
||||||
<type name="tas:document">
|
|
||||||
<title>CMIS TAS Content</title>
|
|
||||||
<parent>cm:content</parent>
|
|
||||||
<properties>
|
|
||||||
<property name="tas:TextPropertyC">
|
|
||||||
<title>Text</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:DatePropertyC">
|
|
||||||
<title>Datetime</title>
|
|
||||||
<type>d:datetime</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:IntPropertyC">
|
|
||||||
<title>Integer</title>
|
|
||||||
<type>d:int</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:LongPropertyC">
|
|
||||||
<title>Long</title>
|
|
||||||
<type>d:long</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:MultiplyStringC">
|
|
||||||
<title>Multiply String</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
<mandatory>true</mandatory>
|
|
||||||
<multiple>true</multiple>
|
|
||||||
</property>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<associations>
|
|
||||||
<association name="tas:tasContent">
|
|
||||||
<source>
|
|
||||||
<mandatory>false</mandatory>
|
|
||||||
<many>false</many>
|
|
||||||
</source>
|
|
||||||
<target>
|
|
||||||
<class>cm:content</class>
|
|
||||||
<mandatory>false</mandatory>
|
|
||||||
<many>false</many>
|
|
||||||
</target>
|
|
||||||
</association>
|
|
||||||
</associations>
|
|
||||||
</type>
|
|
||||||
|
|
||||||
<type name="tas:folder">
|
|
||||||
<title>CMIS TAS Folder</title>
|
|
||||||
<parent>cm:folder</parent>
|
|
||||||
<properties>
|
|
||||||
<property name="tas:TextPropertyF">
|
|
||||||
<title>Text</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:DatePropertyF">
|
|
||||||
<title>Datetime</title>
|
|
||||||
<type>d:datetime</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:IntPropertyF">
|
|
||||||
<title>Integer</title>
|
|
||||||
<type>d:int</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:MultiplyStringF">
|
|
||||||
<title>Multiply String</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
<mandatory>true</mandatory>
|
|
||||||
<multiple>true</multiple>
|
|
||||||
</property>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<associations>
|
|
||||||
<association name="tas:tasFolder">
|
|
||||||
<source>
|
|
||||||
<mandatory>false</mandatory>
|
|
||||||
<many>false</many>
|
|
||||||
</source>
|
|
||||||
<target>
|
|
||||||
<class>cm:folder</class>
|
|
||||||
<mandatory>false</mandatory>
|
|
||||||
<many>false</many>
|
|
||||||
</target>
|
|
||||||
</association>
|
|
||||||
</associations>
|
|
||||||
</type>
|
|
||||||
</types>
|
|
||||||
|
|
||||||
<aspects>
|
|
||||||
<aspect name="tas:tasContentAspect">
|
|
||||||
<title>TAS Content Aspect</title>
|
|
||||||
<properties>
|
|
||||||
<property name="tas:TextPropertyAC">
|
|
||||||
<title>Aspect Text</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:DatePropertyAC">
|
|
||||||
<title>Aspect Datetime</title>
|
|
||||||
<type>d:datetime</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:IntPropertyAC">
|
|
||||||
<title>Aspect Integer</title>
|
|
||||||
<type>d:int</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:MultiplyStringAC">
|
|
||||||
<title>Aspect Multiply String</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
<mandatory>true</mandatory>
|
|
||||||
<multiple>true</multiple>
|
|
||||||
</property>
|
|
||||||
</properties>
|
|
||||||
</aspect>
|
|
||||||
|
|
||||||
<aspect name="tas:tasFolderAspect">
|
|
||||||
<title>TAS Folder Aspect</title>
|
|
||||||
<properties>
|
|
||||||
<property name="tas:TextPropertyAF">
|
|
||||||
<title>Aspect Text</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:DatePropertyAF">
|
|
||||||
<title>Aspect Datetime</title>
|
|
||||||
<type>d:datetime</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:IntPropertyAF">
|
|
||||||
<title>Aspect Integer</title>
|
|
||||||
<type>d:int</type>
|
|
||||||
</property>
|
|
||||||
<property name="tas:MultiplyStringAF">
|
|
||||||
<title>Aspect Multiply String</title>
|
|
||||||
<type>d:text</type>
|
|
||||||
<mandatory>true</mandatory>
|
|
||||||
<multiple>true</multiple>
|
|
||||||
</property>
|
|
||||||
</properties>
|
|
||||||
</aspect>
|
|
||||||
</aspects>
|
|
||||||
</model>
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
|
|
||||||
<suite name="CMIS API">
|
|
||||||
<listeners>
|
|
||||||
<listener class-name="org.alfresco.utility.report.TestCountListener"></listener>
|
|
||||||
</listeners>
|
|
||||||
<test name="CMISAPITESTS">
|
|
||||||
<groups>
|
|
||||||
<run>
|
|
||||||
<exclude name="demo" />
|
|
||||||
<exclude name="unit" />
|
|
||||||
</run>
|
|
||||||
</groups>
|
|
||||||
<packages>
|
|
||||||
<package name="org.alfresco.cmis"></package>
|
|
||||||
</packages>
|
|
||||||
</test> <!-- Test -->
|
|
||||||
</suite> <!-- Suite -->
|
|
@@ -1 +0,0 @@
|
|||||||
Sp23xfcYhUBYpsXuPFzn8nVQ
|
|
@@ -1 +0,0 @@
|
|||||||
tas
|
|
Reference in New Issue
Block a user