forked from tony19/logback-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom-uber.xml
125 lines (107 loc) · 4.04 KB
/
pom-uber.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<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>
<groupId>com.github.tony19</groupId>
<artifactId>logback-android</artifactId>
<version>${my.project.version}</version>
<packaging>jar</packaging>
<name>logback-android</name>
<description>logback-android uber jar</description>
<url>http://logback.qos.ch/android</url>
<organization>
<name>QOS.ch</name>
<url>http://www.qos.ch</url>
</organization>
<inceptionYear>2005</inceptionYear>
<licenses>
<license>
<name>Eclipse Public License - v 1.0</name>
<url>http://www.eclipse.org/legal/epl-v10.html</url>
</license>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html</url>
</license>
</licenses>
<scm>
<url>https://github.com/tony19/logback-android</url>
<connection>[email protected]:tony19/logback-android.git</connection>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<apktool.version>1.4.4-3</apktool.version>
</properties>
<dependencies>
<dependency>
<groupId>com.github.tony19</groupId>
<artifactId>apktool-lib</artifactId>
<version>${apktool.version}</version>
</dependency>
<dependency>
<groupId>com.github.tony19</groupId>
<artifactId>logback-android-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.github.tony19</groupId>
<artifactId>logback-android-classic</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.7.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<finalName>logback-android-${project.version}</finalName>
<artifactSet>
<includes>
<include>com.github.tony19:logback-android-core</include>
<include>com.github.tony19:logback-android-classic</include>
<include>com.github.tony19:apktool-lib</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>brut</pattern>
<shadedPattern>ch.qos.logback.repackage.brut</shadedPattern>
</relocation>
<relocation>
<pattern>com.mindprod</pattern>
<shadedPattern>ch.qos.logback.repackage.com.mindprod</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/asResource/**</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>