mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
279 lines
11 KiB
XML
279 lines
11 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>alfresco-remote-api</artifactId>
|
|
<name>Alfresco Remote API</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<parent>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-community-repo</artifactId>
|
|
<version>25.3.0.12</version>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-repository</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Jakarta... -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet</groupId>
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.mail</groupId>
|
|
<artifactId>jakarta.mail-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-csv</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.santuario</groupId>
|
|
<artifactId>xmlsec</artifactId>
|
|
<version>4.0.4</version>
|
|
</dependency>
|
|
<!-- newer version, see REPO-3133 -->
|
|
<dependency>
|
|
<groupId>org.alfresco.surf</groupId>
|
|
<artifactId>spring-webscripts</artifactId>
|
|
</dependency>
|
|
<!-- This is needed at runtime by Web Client, so not really a test dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.chemistry.opencmis</groupId>
|
|
<artifactId>chemistry-opencmis-test-tck</artifactId>
|
|
<version>${dependency.opencmis.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-repository</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>tests</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-core</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>tests</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.alfresco.surf</groupId>
|
|
<artifactId>spring-webscripts</artifactId>
|
|
<classifier>tests</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<version>11.0.24</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
<artifactId>javax.servlet</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-security</artifactId>
|
|
<version>11.0.15</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-webapp</artifactId>
|
|
<version>11.0.24</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.alfresco.cmis.client</groupId>
|
|
<artifactId>alfresco-opencmis-extension</artifactId>
|
|
<version>2.3</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.camel</groupId>
|
|
<artifactId>camel-mock</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<!-- Create a jar of test classes -->
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-test-jar</id>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-test</id>
|
|
<configuration>
|
|
<!-- To prevent tests alfresco.log to be created in project roots and bother while synchronizing with SCM -->
|
|
<workingDirectory>${project.build.directory}</workingDirectory>
|
|
<systemPropertyVariables>
|
|
<!-- Database related properties -->
|
|
<db.url>${db.url}</db.url>
|
|
<db.driver>${db.driver}</db.driver>
|
|
<db.name>${db.name}</db.name>
|
|
<db.username>${db.username}</db.username>
|
|
<db.password>${db.password}</db.password>
|
|
<dir.root>${dir.root}</dir.root>
|
|
<!-- BDE-91 -->
|
|
<alfresco.rmi.services.retries>30</alfresco.rmi.services.retries>
|
|
<alfresco.rmi.services.retryInterval>2000</alfresco.rmi.services.retryInterval>
|
|
<!-- FTR used in TransferWebScriptTest -->
|
|
<transferservice.receiver.enabled>true</transferservice.receiver.enabled>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- We still use committed generated sources -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-source</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/generated</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- ACE-3329 Create _en.properties message files -->
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>duplicate-english-messages</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<target>
|
|
<copy todir="${project.build.outputDirectory}">
|
|
<fileset dir="${basedir}/src/main/resources" includes="alfresco/messages/**/*.properties,alfresco/templates/webscripts/**/*.properties" />
|
|
<mapper type="regexp" from="^([^_]*).properties$" to="\1_en.properties" />
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>check-licenses</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>check-file-header</goal>
|
|
</goals>
|
|
<configuration>
|
|
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
|
|
<organizationName>Alfresco Software Limited</organizationName>
|
|
<failOnMissingHeader>true</failOnMissingHeader>
|
|
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
|
|
<licenseResolver>classpath://alfresco</licenseResolver>
|
|
<licenseName>${licenseName}</licenseName>
|
|
<roots>
|
|
<root>src</root>
|
|
</roots>
|
|
<includes>
|
|
<include>**/*.java</include>
|
|
<include>**/*.jsp</include>
|
|
</includes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.alfresco</groupId>
|
|
<artifactId>alfresco-license-headers</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|