My linux world » maven multi-platform

maven multi-platform


To build multi-platform project, you can easily to do it using profiles.

  <profiles>
    <profile>
      <id>windows</id>
        <activation>
          <os>
            <family>windows</family>
          </os>
        </activation>
      (...)
    </profile>
    <profile>
      <id>linux</id>
      <activation>
        <os>
          <family>unix</family>
        </os>
      </activation>
      (...)
    </profile>
  </profiles>

Copyright © 2023 My linux world - by Marc RABAHI
Design by Marc RABAHI and encelades.

Fork me on GitHub