1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ ~ Copyright 2022 Asynchronous Game Query Library
4
+ ~
5
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
6
+ ~ you may not use this file except in compliance with the License.
7
+ ~ You may obtain a copy of the License at
8
+ ~
9
+ ~ http://www.apache.org/licenses/LICENSE-2.0
10
+ ~
11
+ ~ Unless required by applicable law or agreed to in writing, software
12
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
13
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ ~ See the License for the specific language governing permissions and
15
+ ~ limitations under the License.
16
+ -->
17
+
18
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
19
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
20
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
21
+ <parent >
22
+ <artifactId >async-gamequery-lib</artifactId >
23
+ <groupId >com.ibasco.agql</groupId >
24
+ <version >${revision}${sha1}${changelist} </version >
25
+ </parent >
26
+ <modelVersion >4.0.0</modelVersion >
27
+ <artifactId >agql-lib</artifactId >
28
+ <packaging >jar</packaging >
29
+ <name >AGQL - Assembly (Aggregatee)</name >
30
+ <dependencies >
31
+ <dependency >
32
+ <groupId >com.ibasco.agql</groupId >
33
+ <artifactId >agql-dota2-webapi</artifactId >
34
+ </dependency >
35
+ <dependency >
36
+ <groupId >com.ibasco.agql</groupId >
37
+ <artifactId >agql-steam-webapi</artifactId >
38
+ </dependency >
39
+ <dependency >
40
+ <groupId >com.ibasco.agql</groupId >
41
+ <artifactId >agql-steam-master</artifactId >
42
+ </dependency >
43
+ <dependency >
44
+ <groupId >com.ibasco.agql</groupId >
45
+ <artifactId >agql-source-query</artifactId >
46
+ </dependency >
47
+ <dependency >
48
+ <groupId >com.ibasco.agql</groupId >
49
+ <artifactId >agql-coc-webapi</artifactId >
50
+ </dependency >
51
+ <dependency >
52
+ <groupId >com.ibasco.agql</groupId >
53
+ <artifactId >agql-csgo-webapi</artifactId >
54
+ </dependency >
55
+ <dependency >
56
+ <groupId >com.ibasco.agql</groupId >
57
+ <artifactId >agql-lib-core</artifactId >
58
+ </dependency >
59
+ </dependencies >
60
+
61
+ <build >
62
+ <plugins >
63
+ <!-- JAR Plugin -->
64
+ <plugin >
65
+ <groupId >org.apache.maven.plugins</groupId >
66
+ <artifactId >maven-jar-plugin</artifactId >
67
+ <configuration >
68
+ <!-- A little workaround to disable the jar warning -->
69
+ <classesDirectory >src</classesDirectory >
70
+ <excludes >
71
+ <exclude >**</exclude >
72
+ </excludes >
73
+ </configuration >
74
+ </plugin >
75
+ <!-- Javadoc -->
76
+ <plugin >
77
+ <groupId >org.apache.maven.plugins</groupId >
78
+ <artifactId >maven-javadoc-plugin</artifactId >
79
+ <executions >
80
+ <execution >
81
+ <id >aggregate-javadocs</id >
82
+ <phase >package</phase >
83
+ <goals >
84
+ <goal >aggregate-jar</goal >
85
+ </goals >
86
+ <configuration >
87
+ <includeDependencySources >true</includeDependencySources >
88
+ <source >8</source >
89
+ <dependencySourceExcludes >
90
+ <dependencySourceExclude >com.ibasco.agql:agql-lib-examples</dependencySourceExclude >
91
+ <dependencySourceExclude >org.slf4j:*</dependencySourceExclude >
92
+ </dependencySourceExcludes >
93
+ </configuration >
94
+ </execution >
95
+ </executions >
96
+ </plugin >
97
+ <!-- Shade plugin -->
98
+ <plugin >
99
+ <groupId >org.apache.maven.plugins</groupId >
100
+ <artifactId >maven-shade-plugin</artifactId >
101
+ <executions >
102
+ <execution >
103
+ <phase >package</phase >
104
+ <goals >
105
+ <goal >shade</goal >
106
+ </goals >
107
+ <configuration >
108
+ <createSourcesJar >true</createSourcesJar >
109
+ <shadedArtifactAttached >false</shadedArtifactAttached >
110
+ <createDependencyReducedPom >true</createDependencyReducedPom >
111
+ <!-- Make sure the transitive dependencies are written to the generated pom under <dependencies> -->
112
+ <promoteTransitiveDependencies >true</promoteTransitiveDependencies >
113
+ <artifactSet >
114
+ <includes >
115
+ <include >com.ibasco.agql:agql-lib-core</include >
116
+ <include >com.ibasco.agql:agql-source-query</include >
117
+ <include >com.ibasco.agql:agql-csgo-webapi</include >
118
+ <include >com.ibasco.agql:agql-dota2-webapi</include >
119
+ <include >com.ibasco.agql:agql-steam-master</include >
120
+ <include >com.ibasco.agql:agql-steam-webapi</include >
121
+ <include >com.ibasco.agql:agql-coc-webapi</include >
122
+ </includes >
123
+ </artifactSet >
124
+ <!-- Add manifest entries -->
125
+ <transformers >
126
+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
127
+ <manifestEntries >
128
+ <Automatic-Module-Name >${project.groupId} </Automatic-Module-Name >
129
+ </manifestEntries >
130
+ </transformer >
131
+ </transformers >
132
+ </configuration >
133
+ </execution >
134
+ </executions >
135
+ </plugin >
136
+ <!-- Flatten -->
137
+ <plugin >
138
+ <groupId >org.codehaus.mojo</groupId >
139
+ <artifactId >flatten-maven-plugin</artifactId >
140
+ </plugin >
141
+ </plugins >
142
+ </build >
143
+ </project >
0 commit comments