155 lines
		
	
	
	
		
			4.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			155 lines
		
	
	
	
		
			4.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
						|
	<modelVersion>4.0.0</modelVersion>
 | 
						|
	<groupId>eu.m724</groupId>
 | 
						|
	<artifactId>realweather</artifactId>
 | 
						|
	<version>1.0.0-alpha-6</version>
 | 
						|
	
 | 
						|
	<properties>
 | 
						|
        <maven.compiler.source>21</maven.compiler.source>
 | 
						|
        <maven.compiler.target>21</maven.compiler.target>
 | 
						|
		<jarsigner.keystore>${project.basedir}/testkeystore.jks</jarsigner.keystore>
 | 
						|
		<jarsigner.alias>testkey</jarsigner.alias>
 | 
						|
		<jarsigner.storepass>123456</jarsigner.storepass>
 | 
						|
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
						|
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 | 
						|
	</properties>
 | 
						|
 | 
						|
	<repositories>
 | 
						|
	    <repository>
 | 
						|
	        <id>spigot-repo</id>
 | 
						|
			<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
 | 
						|
		</repository>
 | 
						|
		<repository>
 | 
						|
	    	<id>m724</id>
 | 
						|
	    	<url>https://git.m724.eu/api/packages/Minecon724/maven</url>
 | 
						|
	  	</repository>
 | 
						|
	</repositories>
 | 
						|
	  
 | 
						|
	<dependencies>
 | 
						|
		<dependency>
 | 
						|
			<groupId>org.spigotmc</groupId>
 | 
						|
		    <artifactId>spigot-api</artifactId>
 | 
						|
		    <version>1.16.5-R0.1-SNAPSHOT</version>
 | 
						|
		    <scope>provided</scope>
 | 
						|
			<!-- Fix warning about vulnerabilities of things we don't use -->
 | 
						|
			<exclusions>
 | 
						|
				<exclusion>
 | 
						|
					<groupId>com.google.guava</groupId>
 | 
						|
					<artifactId>guava</artifactId>
 | 
						|
				</exclusion>
 | 
						|
				<exclusion>
 | 
						|
					<groupId>org.yaml</groupId>
 | 
						|
					<artifactId>snakeyaml</artifactId>
 | 
						|
				</exclusion>
 | 
						|
			</exclusions>
 | 
						|
		</dependency>
 | 
						|
		<dependency>
 | 
						|
			<groupId>eu.m724</groupId>
 | 
						|
		    <artifactId>wtapi</artifactId>
 | 
						|
		    <version>0.9.3</version>
 | 
						|
		</dependency>
 | 
						|
		<dependency>
 | 
						|
			<groupId>eu.m724</groupId>
 | 
						|
		    <artifactId>jarupdater</artifactId>
 | 
						|
		    <version>0.1.8</version>
 | 
						|
		</dependency>
 | 
						|
		<dependency>
 | 
						|
			<groupId>eu.m724</groupId>
 | 
						|
			<artifactId>mstats-spigot</artifactId>
 | 
						|
			<version>0.1.2</version>
 | 
						|
		</dependency>
 | 
						|
	</dependencies>
 | 
						|
	
 | 
						|
    <build>
 | 
						|
	    <resources>
 | 
						|
	      	<resource>
 | 
						|
	        	<directory>src/main/resources</directory>
 | 
						|
	        	<filtering>true</filtering>
 | 
						|
	      	</resource>
 | 
						|
		</resources>
 | 
						|
        <plugins> <!-- versions: https://maven.apache.org/plugins/  -->
 | 
						|
			<plugin>
 | 
						|
	        	<groupId>org.apache.maven.plugins</groupId>
 | 
						|
	        	<artifactId>maven-release-plugin</artifactId>
 | 
						|
	        	<version>3.1.1</version>
 | 
						|
	        	<configuration>
 | 
						|
					<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
 | 
						|
				</configuration>
 | 
						|
	      	</plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
          		<artifactId>maven-shade-plugin</artifactId>
 | 
						|
          		<version>3.6.0</version>
 | 
						|
          		<executions>
 | 
						|
            		<execution>
 | 
						|
                		<phase>package</phase>
 | 
						|
            			<goals>
 | 
						|
              				<goal>shade</goal>
 | 
						|
            			</goals>
 | 
						|
            			<configuration>
 | 
						|
							<minimizeJar>true</minimizeJar>
 | 
						|
							<createDependencyReducedPom>false</createDependencyReducedPom>
 | 
						|
							<artifactSet>
 | 
						|
                				<includes>
 | 
						|
                  					<include>eu.m724:wtapi</include>
 | 
						|
                  					<include>eu.m724:jarupdater</include>
 | 
						|
                  					<!-- <include>org.java-websocket:Java-WebSocket</include> -->
 | 
						|
									<!-- it's in plugin.yml and downloaded by server -->
 | 
						|
									<!-- gson is bundled with spigot -->
 | 
						|
                				</includes>
 | 
						|
              				</artifactSet>
 | 
						|
							<filters>
 | 
						|
								<filter>
 | 
						|
									<artifact>*</artifact>
 | 
						|
									<excludes>
 | 
						|
										<exclude>META-INF/MANIFEST.MF</exclude>
 | 
						|
									</excludes>
 | 
						|
								</filter>
 | 
						|
							</filters>
 | 
						|
            			</configuration>
 | 
						|
          			</execution>
 | 
						|
        		</executions>
 | 
						|
      		</plugin>
 | 
						|
      		<plugin>
 | 
						|
        		<groupId>org.apache.maven.plugins</groupId>
 | 
						|
        		<artifactId>maven-jarsigner-plugin</artifactId>
 | 
						|
        		<version>3.1.0</version>
 | 
						|
        		<executions>
 | 
						|
          			<execution>
 | 
						|
            			<id>sign</id>
 | 
						|
            			<goals>
 | 
						|
              				<goal>sign</goal>
 | 
						|
            			</goals>
 | 
						|
          			</execution>
 | 
						|
          			<execution>
 | 
						|
            			<id>verify</id>
 | 
						|
            			<goals>
 | 
						|
              				<goal>verify</goal>
 | 
						|
            			</goals>
 | 
						|
         			</execution>
 | 
						|
        		</executions>
 | 
						|
        		<configuration>
 | 
						|
					<keystore>${jarsigner.keystore}</keystore>
 | 
						|
			        <alias>${jarsigner.alias}</alias>
 | 
						|
			        <storepass>${jarsigner.storepass}</storepass>
 | 
						|
				</configuration>
 | 
						|
      		</plugin>
 | 
						|
    	</plugins>
 | 
						|
	</build>
 | 
						|
 | 
						|
	<distributionManagement>
 | 
						|
		<repository>
 | 
						|
			<id>m724</id>
 | 
						|
			<url>https://git.m724.eu/api/packages/Minecon724/maven</url>
 | 
						|
		</repository>
 | 
						|
		<snapshotRepository>
 | 
						|
			<id>m724</id>
 | 
						|
			<url>https://git.m724.eu/api/packages/Minecon724/maven</url>
 | 
						|
		</snapshotRepository>
 | 
						|
	</distributionManagement>
 | 
						|
 | 
						|
	<scm>
 | 
						|
		<developerConnection>scm:git:git@git.m724.eu:Minecon724/realweather.git</developerConnection>
 | 
						|
		<tag>realweather-1.0.0-alpha-6</tag>
 | 
						|
	</scm>
 | 
						|
</project>
 |