142 lines
5.4 KiB
XML
142 lines
5.4 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<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/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>moe.nekojimi.friendcloud</groupId>
|
||
|
<artifactId>FriendCloudProto</artifactId>
|
||
|
<version>0.0.69</version>
|
||
|
|
||
|
<properties>
|
||
|
<maven.compiler.source>21</maven.compiler.source>
|
||
|
<maven.compiler.target>21</maven.compiler.target>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<protobuf.version>3.9.2</protobuf.version>
|
||
|
<generated.sourceDirectory>target/generated-sources</generated.sourceDirectory>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>com.github.serceman</groupId>
|
||
|
<artifactId>jnr-fuse</artifactId>
|
||
|
<version>0.5.8</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.google.protobuf</groupId>
|
||
|
<artifactId>protobuf-java</artifactId>
|
||
|
<version>${protobuf.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.offbynull.portmapper</groupId>
|
||
|
<artifactId>portmapper</artifactId>
|
||
|
<version>2.0.7-NEKOJIMI-PATCH</version>
|
||
|
</dependency>
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.bitlet</groupId>-->
|
||
|
<!-- <artifactId>weupnp</artifactId>-->
|
||
|
<!-- <version>RELEASE</version>-->
|
||
|
<!-- </dependency>-->
|
||
|
<dependency>
|
||
|
<groupId>org.jcommander</groupId>
|
||
|
<artifactId>jcommander</artifactId>
|
||
|
<version>2.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>io.github.ascopes</groupId>
|
||
|
<artifactId>protobuf-maven-plugin</artifactId>
|
||
|
<version>3.7.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jetbrains</groupId>
|
||
|
<artifactId>annotations</artifactId>
|
||
|
<version>16.0.1</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-simple</artifactId>
|
||
|
<version>2.0.17</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<version>2.0.17</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.kstruct</groupId>
|
||
|
<artifactId>gethostname4j</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>io.github.ascopes</groupId>
|
||
|
<artifactId>protobuf-maven-plugin</artifactId>
|
||
|
|
||
|
<configuration>
|
||
|
<protocVersion>${protobuf.version}</protocVersion>
|
||
|
</configuration>
|
||
|
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>generate</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<!-- <plugin>-->
|
||
|
<!-- <groupId>com.github.os72</groupId>-->
|
||
|
<!-- <artifactId>protoc-jar-maven-plugin</artifactId>-->
|
||
|
<!-- <version>3.9.2</version>-->
|
||
|
<!-- <executions>-->
|
||
|
<!-- <execution>-->
|
||
|
<!-- <phase>generate-sources</phase>-->
|
||
|
<!-- <goals>-->
|
||
|
<!-- <goal>run</goal>-->
|
||
|
<!-- </goals>-->
|
||
|
<!-- <configuration>-->
|
||
|
<!-- <protocVersion>${protobuf.version}</protocVersion>-->
|
||
|
<!-- <inputDirectories>-->
|
||
|
<!-- <include>src/main/protobuf</include>-->
|
||
|
<!-- </inputDirectories>-->
|
||
|
<!-- </configuration>-->
|
||
|
<!-- </execution>-->
|
||
|
<!-- </executions>-->
|
||
|
<!-- </plugin>-->
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>3.3.0</version>
|
||
|
<configuration>
|
||
|
<mainClass>moe.nekojimi.friendcloud.Main</mainClass>
|
||
|
</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>
|
||
|
<transformers>
|
||
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||
|
<mainClass>moe.nekojimi.friendcloud.Main</mainClass>
|
||
|
</transformer>
|
||
|
</transformers>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|