/
pom.xml
72 lines (70 loc) · 3.03 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<!--
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macros</artifactId>
<version>16.4.0-SNAPSHOT</version>
</parent>
<artifactId>xwiki-platform-rendering-macro-code</artifactId>
<name>XWiki Platform - Rendering - Macro - Code</name>
<description>Highlights code</description>
<properties>
<xwiki.jacoco.instructionRatio>0.84</xwiki.jacoco.instructionRatio>
<!-- Name to display by the Extension Manager -->
<xwiki.extension.name>Code Macro</xwiki.extension.name>
</properties>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.xwiki.rendering</groupId>
<artifactId>xwiki-rendering-macro-box</artifactId>
<version>${rendering.version}</version>
</dependency>
<dependency>
<groupId>org.python</groupId>
<artifactId>jython-slim</artifactId>
</dependency>
<!-- We can't upgrade to version higher than 2.4.2 for two reasons:
- 2.5.1 and above presents and issue with the auto-detection of the language of the code (MIME and SQL
syntaxes are too often detected).
- Pygments 2.6.0 and above requires Python 3.
Pygments 2.8.0 presents a fix, but requires Python 3.
And upgrade to Pygments 2.5.2 is possible by backporting the fix from
Pygments 2.8.0 (https://jira.xwiki.org/browse/XWIKI-18369).
See https://jira.xwiki.org/browse/XWIKI-18363 -->
<dependency>
<groupId>org.pygments</groupId>
<artifactId>pygments</artifactId>
<version>2.4.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-security-authorization-api</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>