#2758·feign

How to package or compile or X locally?

Author: dancer1325Created Feb 8, 2025Updated Jun 4, 2026
Labelsquestion

I miss an entry in the README.md to compile it locally, in order to test locally features or even just play with the examples

Failure attempts

  • Attempt1: .mvn clean compile
    • try to use the corresponding maven wrapper without succeed
  • Attempt2: specifying locally in the ".m2/toolchains.xml", the jdk entry to my JDK v11 + mvn clean compile
    ...
    <type>jdk</type> 
      <provides>
        <version>1.11</version>
        <vendor>zulu</vendor>
      </provides>
      <configuration>
        <jdkHome>/Library/Java/JavaVirtualMachines/zulu-11.jdk</jdkHome>
      </configuration>
    ...
  • Attempt3: specifying in the root pom.xml + mvn clean compile
    <main.java.version>1.11</main.java.version>

Current stack locally

  • Maven

    Apache Maven 3.9.9 
    Java version: 11.0.24, vendor: Azul Systems, Inc.
    OS name: "mac os x", version: "15.2", arch: "aarch64", family: "mac"
  • Java

    openjdk 11.0.24 2024-07-16 LTS
    OpenJDK Runtime Environment Zulu11.74+15-CA (build 11.0.24+8-LTS)