mojohaus / appassembler

https://www.mojohaus.org/appassembler/
MIT License
93 stars 49 forks source link

Please upgrade the Java Wrapper Service version to support the arm architecture #111

Closed Nnaking closed 3 years ago

Nnaking commented 3 years ago

The latest version of Linux armhf 3.5.44

dantran commented 3 years ago

@Nnaking please note that this plugin has the extension that you can use your own distribution/version of java service wrapper

Nnaking commented 3 years ago

http://www.mojohaus.org/appassembler/appassembler-maven-plugin/generate-daemons-mojo.html#externalDeltaPackDirectory I found the option, but I don't know how to configure it

Nnaking commented 3 years ago

@Nnaking please note that this plugin has the extension that you can use your own distribution/version of java service wrapper

I unziped the wrapper-linux-armhf-64-3.5.44.tar.gz to /usr/local/maven/wrapper

pom.xml: <externalDeltaPackDirectory>/usr/local/maven/wrapper</externalDeltaPackDirectory>

Is this a good configuration?

BlackChen277 commented 1 year ago

Hello, can you tell me how to configure it?

Nnaking commented 1 year ago

Hello, can you tell me how to configure it?

Added in assembly-linux.xml

<fileSet>
    <directory>src/main/bin</directory>
    <outputDirectory>xxx-project/bin</outputDirectory>
    <fileMode>0755</fileMode>
    <includes>
        <include>*.sh</include>
        <include>wrapper-linux-aarch64-64</include>
          </includes>
</fileSet>

Download and unzip Linux armhf 3.5.44 Get the wrapper-linux-aarch64-64 file and place it under src/main/bin

image