forked from FabioZumbi12/RedProtect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
181 lines (167 loc) · 7.62 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!--
~ Copyright (c) 2020 - @FabioZumbi12
~ Last Modified: 12/07/2020 18:57.
~
~ This class is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any
~ damages arising from the use of this class.
~
~ Permission is granted to anyone to use this class for any purpose, including commercial plugins, and to alter it and
~ redistribute it freely, subject to the following restrictions:
~ 1 - The origin of this class must not be misrepresented; you must not claim that you wrote the original software. If you
~ use this class in other plugins, an acknowledgment in the plugin documentation would be appreciated but is not required.
~ 2 - Altered source versions must be plainly marked as such, and must not be misrepresented as being the original class.
~ 3 - This notice may not be removed or altered from any source distribution.
~
~ Esta classe é fornecida "como está", sem qualquer garantia expressa ou implícita. Em nenhum caso os autores serão
~ responsabilizados por quaisquer danos decorrentes do uso desta classe.
~
~ É concedida permissão a qualquer pessoa para usar esta classe para qualquer finalidade, incluindo plugins pagos, e para
~ alterá-lo e redistribuí-lo livremente, sujeito às seguintes restrições:
~ 1 - A origem desta classe não deve ser deturpada; você não deve afirmar que escreveu a classe original. Se você usar esta
~ classe em um plugin, uma confirmação de autoria na documentação do plugin será apreciada, mas não é necessária.
~ 2 - Versões de origem alteradas devem ser claramente marcadas como tal e não devem ser deturpadas como sendo a
~ classe original.
~ 3 - Este aviso não pode ser removido ou alterado de qualquer distribuição de origem.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>br.net.fabiozumbi12.RedProtect</groupId>
<artifactId>RedProtect</artifactId>
<packaging>pom</packaging>
<name>RedProtect</name>
<version>7.7.3</version>
<scm>
<connection>scm:git:[email protected]:FabioZumbi12/RedProtect.git</connection>
<developerConnection>scm:git:[email protected]:FabioZumbi12/RedProtect.git</developerConnection>
<url>https://github.com/FabioZumbi12/RedProtect/tree/master</url>
<tag>${project.version}</tag>
</scm>
<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-repo</url>
</repository>
</distributionManagement>
<build>
<finalName>${project.name}-${project.version}</finalName>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>src/main/resources/</directory>
</resource>
</resources>
<plugins>
<!-- Parse Version to plugin.yml -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>filter-src</id>
<goals>
<goal>filter-sources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>schematic</nonFilteredFileExtension>
<nonFilteredFileExtension>schem</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
<!-- Deploy to github for maven repo -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo
</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<configuration>
<message>Maven artifacts for ${project.artifactId} ${project.version}</message>
<noJekyll>true</noJekyll>
<merge>true</merge>
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
<branch>refs/heads/mvn-repo</branch>
<includes>
<include>**/*</include>
</includes>
<repositoryName>RedProtect</repositoryName>
<repositoryOwner>FabioZumbi12</repositoryOwner>
</configuration>
<executions>
<execution>
<id>deploying</id>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<github.global.server>github-user</github.global.server>
</properties>
<modules>
<module>RedProtect-Core</module>
<module>RedProtect-Spigot</module>
<module>RedProtect-Spigot-1.8</module>
<module>RedProtect-Spigot-1.12</module>
<module>RedProtect-Spigot-1.13</module>
<module>RedProtect-Sponge-56</module>
<module>RedProtect-Sponge-7</module>
<!--<module>RedProtect-Sponge-8</module> -->
<!-- Addons -->
<module>Addons/RedBackups</module>
<module>Addons/KillerProjectiles</module>
<module>Addons/RegionChat</module>
<module>Addons/BuyRentRegion</module>
</modules>
</project>