[LIB-10] Correct RequestParams for Event Rounds and Seeding
[snooker-score-api.git] / pom.xml
1 <?xml version='1.0' encoding='UTF-8'?>
2
3 <!--
4   ~ Copyright (c) 2017-2020. Developed by Hedgecode.
5   ~
6   ~ Licensed under the Apache License, Version 2.0 (the "License");
7   ~ you may not use this file except in compliance with the License.
8   ~ You may obtain a copy of the License at
9   ~
10   ~   http://www.apache.org/licenses/LICENSE-2.0
11   ~
12   ~ Unless required by applicable law or agreed to in writing, software
13   ~ distributed under the License is distributed on an "AS IS" BASIS,
14   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   ~ See the License for the specific language governing permissions and
16   ~ limitations under the License.
17   -->
18
19 <project xmlns="http://maven.apache.org/POM/4.0.0" 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     <modelVersion>4.0.0</modelVersion>
22
23     <parent>
24         <groupId>org.hedgecode.maven</groupId>
25         <artifactId>lib-parent</artifactId>
26         <version>3</version>
27         <relativePath>../lib-parent/pom.xml</relativePath>
28     </parent>
29
30     <groupId>org.hedgecode.snooker</groupId>
31     <artifactId>snooker-score-api</artifactId>
32     <version>1.0-SNAPSHOT</version>
33     <packaging>jar</packaging>
34
35     <name>Hedgecode Snooker Score API</name>
36     <description>
37         Hedgecode Snooker Score is an API library for portal snooker.org,
38         which contains the results of snooker competitions and other snooker information.
39         The library provides a set of entity objects that can be used in client
40         applications (to inform about the results of snooker) developed in Java.
41     </description>
42     <inceptionYear>2017</inceptionYear>
43
44     <url>https://lib.hedgecode.org/${project.artifactId}/</url>
45
46     <contributors>
47         <contributor>
48             <name>Hedgehog</name>
49             <organization>Hedgecode</organization>
50             <organizationUrl>https://hedgecode.org/</organizationUrl>
51             <roles>
52                 <role>inspirer</role>
53             </roles>
54             <properties>
55                 <picUrl>https://hedgecode.org/img/hedgehog50x50.png</picUrl>
56             </properties>
57         </contributor>
58         <contributor>
59             <name>Bundle</name>
60             <organization>Hedgecode</organization>
61             <organizationUrl>https://hedgecode.org/</organizationUrl>
62             <roles>
63                 <role>data storage</role>
64             </roles>
65             <properties>
66                 <picUrl>https://hedgecode.org/img/bundle50x50.png</picUrl>
67             </properties>
68         </contributor>
69     </contributors>
70
71     <scm>
72         <connection>scm:svn:http://svn.hedgecode.org/lib/${project.artifactId}/trunk/</connection>
73         <developerConnection>scm:svn:https://svn.hedgecode.org/lib/${project.artifactId}/trunk/</developerConnection>
74         <url>http://svn.hedgecode.org/lib/${project.artifactId}/trunk/</url>
75     </scm>
76
77     <issueManagement>
78         <system>JIRA</system>
79         <url>https://issues.hedgecode.org/browse/${issueKey}/component/${issueComponentId}</url>
80     </issueManagement>
81
82     <distributionManagement>
83         <site>
84             <id>hedgecode.website</id>
85             <name>Hedgecode Libs Website</name>
86             <url>dav:https://hedgecode.org/libs/${project.artifactId}/</url>
87         </site>
88     </distributionManagement>
89
90     <properties>
91         <gsonVersion>2.8.0</gsonVersion>
92         <junitVersion>4.8.2</junitVersion>
93         <mavenDependencyPluginVersion>2.8</mavenDependencyPluginVersion>
94         <mavenAssemblyPluginVersion>2.4.1</mavenAssemblyPluginVersion>
95         <issueComponentId>10012</issueComponentId>
96         <issueNumber>10</issueNumber>
97     </properties>
98
99     <dependencies>
100         <dependency>
101             <groupId>com.google.code.gson</groupId>
102             <artifactId>gson</artifactId>
103             <version>${gsonVersion}</version>
104         </dependency>
105         <dependency>
106             <groupId>junit</groupId>
107             <artifactId>junit</artifactId>
108             <version>${junitVersion}</version>
109             <scope>test</scope>
110         </dependency>
111     </dependencies>
112
113     <build>
114         <plugins>
115             <plugin>
116                 <groupId>org.apache.maven.plugins</groupId>
117                 <artifactId>maven-dependency-plugin</artifactId>
118                 <version>${mavenDependencyPluginVersion}</version>
119                 <executions>
120                     <execution>
121                         <id>copy-dependencies</id>
122                         <phase>prepare-package</phase>
123                         <goals>
124                             <goal>copy-dependencies</goal>
125                         </goals>
126                         <configuration>
127                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
128                             <overWriteReleases>false</overWriteReleases>
129                             <overWriteSnapshots>false</overWriteSnapshots>
130                             <overWriteIfNewer>true</overWriteIfNewer>
131                         </configuration>
132                     </execution>
133                 </executions>
134             </plugin>
135             <plugin>
136                 <groupId>org.apache.maven.plugins</groupId>
137                 <artifactId>maven-jar-plugin</artifactId>
138                 <version>${mavenJarPluginVersion}</version>
139                 <configuration>
140                     <archive>
141                         <manifest>
142                             <addClasspath>true</addClasspath>
143                             <classpathPrefix>lib/</classpathPrefix>
144                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
145                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
146                             <mainClass>org.hedgecode.snooker.SnookerScoreApp</mainClass>
147                         </manifest>
148                         <manifestEntries>
149                             <Implementation-Title>${project.artifactId}</Implementation-Title>
150                         </manifestEntries>
151                     </archive>
152                 </configuration>
153             </plugin>
154             <plugin>
155                 <groupId>org.apache.maven.plugins</groupId>
156                 <artifactId>maven-release-plugin</artifactId>
157                 <version>${mavenReleasePluginVersion}</version>
158                 <configuration>
159                     <tagBase>https://svn.hedgecode.org/lib/${project.artifactId}/tags</tagBase>
160                     <branchBase>https://svn.hedgecode.org/lib/${project.artifactId}/branches</branchBase>
161                     <preparationGoals>clean install</preparationGoals>
162                     <goals>deploy</goals>
163                     <releaseProfiles>release</releaseProfiles>
164                     <scmCommentPrefix xml:space="preserve">[${issueKey}-${issueNumber}] </scmCommentPrefix>
165                 </configuration>
166             </plugin>
167         </plugins>
168     </build>
169
170     <reporting>
171         <plugins>
172             <plugin>
173                 <groupId>org.apache.maven.plugins</groupId>
174                 <artifactId>maven-project-info-reports-plugin</artifactId>
175                 <version>${mavenReportsPluginVersion}</version>
176                 <configuration>
177                     <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
178                 </configuration>
179                 <reportSets>
180                     <reportSet>
181                         <reports>
182                             <report>index</report>
183                             <report>summary</report>
184                             <report>dependency-info</report>
185                             <report>project-team</report>
186                             <report>scm</report>
187                             <report>dependency-management</report>
188                             <report>dependencies</report>
189                             <report>plugin-management</report>
190                             <report>plugins</report>
191                             <report>distribution-management</report>
192                         </reports>
193                     </reportSet>
194                 </reportSets>
195             </plugin>
196         </plugins>
197     </reporting>
198
199     <profiles>
200         <profile>
201             <id>jar-with-dependencies</id>
202             <build>
203                 <plugins>
204                     <plugin>
205                         <groupId>org.apache.maven.plugins</groupId>
206                         <artifactId>maven-assembly-plugin</artifactId>
207                         <version>${mavenAssemblyPluginVersion}</version>
208                         <configuration>
209                             <archive>
210                                 <manifest>
211                                     <addClasspath>true</addClasspath>
212                                     <classpathPrefix>lib/</classpathPrefix>
213                                     <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
214                                     <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
215                                     <mainClass>org.hedgecode.snooker.SnookerScoreApp</mainClass>
216                                 </manifest>
217                                 <manifestEntries>
218                                     <Implementation-Title>${project.artifactId}</Implementation-Title>
219                                 </manifestEntries>
220                             </archive>
221                             <descriptorRefs>
222                                 <descriptorRef>jar-with-dependencies</descriptorRef>
223                             </descriptorRefs>
224                         </configuration>
225                         <executions>
226                             <execution>
227                                 <id>make-assembly</id>
228                                 <phase>package</phase>
229                                 <goals>
230                                     <goal>single</goal>
231                                 </goals>
232                             </execution>
233                         </executions>
234                     </plugin>
235                 </plugins>
236             </build>
237         </profile>
238         <profile>
239             <id>reporting</id>
240             <reporting>
241                 <plugins>
242                     <plugin>
243                         <groupId>org.apache.maven.plugins</groupId>
244                         <artifactId>maven-javadoc-plugin</artifactId>
245                         <configuration>
246                             <sourceFileExcludes>
247                                 <exclude>org/hedgecode/snooker/annotation/*.java</exclude>
248                                 <exclude>org/hedgecode/snooker/cache/assign/*.java</exclude>
249                                 <exclude>org/hedgecode/snooker/compare/*.java</exclude>
250                                 <exclude>org/hedgecode/snooker/gson/*.java</exclude>
251                                 <exclude>org/hedgecode/snooker/json/*.java</exclude>
252                                 <exclude>org/hedgecode/snooker/request/*.java</exclude>
253                             </sourceFileExcludes>
254                         </configuration>
255                     </plugin>
256                 </plugins>
257             </reporting>
258         </profile>
259     </profiles>
260
261 </project>