Skip to content

Commit

Permalink
fix: no main manifest attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Jul 23, 2024
1 parent 7aea35d commit 2553efd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion xiaoya_proxy/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec dumb-init java -jar -Dfile.encoding=UTF-8 -Xmx64m /xiaoya_proxy.jar com.ddsrem.xiaoya_proxy.XiaoyaProxyRun
exec dumb-init java -jar -Xmx64m /xiaoya_proxy.jar
13 changes: 9 additions & 4 deletions xiaoya_proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>com.ddsrem.xiaoya_proxy.XiaoyaProxyRun</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 2553efd

Please sign in to comment.