Blame view
pom.xml
3.87 KB
b9d79694a
![]() |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
08c5f6f61
![]() |
2 3 |
<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/maven-v4_0_0.xsd"> |
b9d79694a
![]() |
4 5 6 |
<modelVersion>4.0.0</modelVersion> <groupId>org.alfresco</groupId> <artifactId>alfresco-trashcan-cleaner</artifactId> |
dccc62ede
![]() |
7 |
<version>2.1-SNAPSHOT</version> |
216f38bde
|
8 9 |
<name>alfresco-trashcan-cleaner project</name> <packaging>jar</packaging> |
7a33ab324
|
10 |
<description>The Alfresco Trash Can Cleaner (Alfresco Module)</description> |
b9d79694a
![]() |
11 |
|
b9d79694a
![]() |
12 |
<properties> |
08c5f6f61
![]() |
13 |
<!-- Defines the alfresco edition to compile against. Allowed values are [org.alfresco|org.alfresco.enterprise]--> |
b9d79694a
![]() |
14 |
<alfresco.groupId>org.alfresco</alfresco.groupId> |
08c5f6f61
![]() |
15 |
<!-- Defines the alfresco version to compile against --> |
216f38bde
|
16 |
<alfresco.version>5.2.1-SNAPSHOT</alfresco.version> |
216f38bde
|
17 18 19 20 21 22 |
<dependency.mysqlconnector.version>5.1.26</dependency.mysqlconnector.version> <dependency.postgresqlconnector.version>9.1-901-1.jdbc4</dependency.postgresqlconnector.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> |
b9d79694a
![]() |
23 |
</properties> |
08c5f6f61
![]() |
24 25 26 27 |
<!-- Here we realize the connection with the Alfresco selected platform (e.g.version and edition) --> <dependencyManagement> <dependencies> |
216f38bde
|
28 29 |
<!-- This will import the dependencyManagement for all artifacts in the selected Alfresco version/edition |
08c5f6f61
![]() |
30 31 |
(see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies) NOTE: You still need to define dependencies in your POM, but you can omit version as it's enforced by this dependencyManagement. NOTE: It defaults |
216f38bde
|
32 33 |
to the latest version this SDK pom has been tested with, but alfresco version can/should be overridden in your project's pom --> |
08c5f6f61
![]() |
34 35 36 37 38 39 40 41 42 |
<dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-platform-distribution</artifactId> <version>${alfresco.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> |
216f38bde
|
43 |
|
08c5f6f61
![]() |
44 45 46 47 48 49 50 51 |
<!-- Following dependencies are needed for compiling Java code in src/main/java; <scope>provided</scope> is inherited for each of the following; for more info, please refer to alfresco-platform-distribution POM --> <dependencies> <dependency> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-repository</artifactId> </dependency> |
216f38bde
|
52 53 54 55 56 57 |
<dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> |
08c5f6f61
![]() |
58 59 60 61 |
<!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> |
216f38bde
|
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
<scope>test</scope> </dependency> <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>${dependency.postgresqlconnector.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> |
08c5f6f61
![]() |
78 79 80 |
<scope>test</scope> </dependency> </dependencies> |
216f38bde
|
81 82 83 84 85 86 87 88 |
<build> <resources> <resource> <filtering>true</filtering> <directory>src/main/config</directory> </resource> </resources> </build> |
08c5f6f61
![]() |
89 |
</project> |