-
Notifications
You must be signed in to change notification settings - Fork 9
/
pom.xml
91 lines (82 loc) · 3.02 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<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>
<groupId>mobi.seus.jena</groupId>
<artifactId>jena-android-parent</artifactId>
<packaging>pom</packaging>
<version>2.0</version>
<properties>
<jdk.version>1.7</jdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<ver.jena>2.13.0</ver.jena>
<ver.iri>1.1.2</ver.iri>
<ver.tdb>1.1.2</ver.tdb>
<ver.text>1.1.2</ver.text>
<ver.spatial>1.1.2</ver.spatial>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<encoding>UTF-8</encoding>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- This is the relocation configuration that is applied to everything
that uses classes from conflicting namespaces. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<configuration>
<relocations>
<!-- Repackage StAX because it's a core java namespace
but not included in android. -->
<relocation>
<pattern>javax.xml.stream</pattern>
<shadedPattern>mobi.seus.javax.xml.stream</shadedPattern>
</relocation>
<relocation>
<pattern>javax.xml.transform.stax</pattern>
<shadedPattern>mobi.seus.javax.xml.transform.stax</shadedPattern>
</relocation>
<!-- Repackage apache http because the ancient version included
in android conflicts with the version required by Jena. -->
<relocation>
<pattern>org.apache.http</pattern>
<shadedPattern>mobi.seus.org.apache.http</shadedPattern>
</relocation>
</relocations>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>xerces-android</module>
<module>httpcomponents-android</module>
<module>jena-android-iri</module>
<module>jena-android-core</module>
<module>jena-android-arq</module>
<module>jena-android-tdb</module>
<module>jena-android-text</module>
<module>jena-android-spatial</module>
<module>jena-android-jars</module>
</modules>
</project>