Search code examples
javamacosmavenappassembler

maven mac os Lib file for macosx-x86-64 not found in map


I copied a jars for a big project from the server to my mac os x 64 bit machine. the jars were working on linux server.

when i run the script that runs the whole come, i got these error:

Unable to locate any of the following operational binaries:
  /bla la bla/bin/./wrapper-macosx-universal-64
  /bla bla bla/./wrapper-macosx-universal-32
  /bla bla bla/./wrapper

I tried to do maven clean install and the clean were build successfully though i got these two warnings

and as you see, i put already macosx-x86-64 (also tried macs-x86-64)


Solution

  • The given platform does not exist in JSW. You can use the following list of platforms:

    aix-ppc-32
    aix-ppc-64
    hpux-parisc-64
    linux-x86-32
    linux-x86-64
    linux-ppc-64
    macosx-ppc-32
    macosx-x86-universal-32
    macosx-universal-32
    macosx-universal-64
    solaris-sparc-32
    solaris-sparc-64
    solaris-x86-32
    windows-x86-32
    windows-x86-64
    

    Apart from that why are you using an old version of appassembler-maven-plugin?

    If you need the maxosx-x86-64 platform you need to by a commercial license of JSW.