mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-23 06:00:47 -05:00
# [0.3.0](https://github.com/floci-io/floci-cli/compare/0.2.3...0.3.0) (2026-10-09) ### Bug Fixes * **cli:** honour --no-color on parse errors and show profile defaults in --help ([#35](https://github.com/floci-io/floci-cli/issues/35)) ([fc67e72](https://github.com/floci-io/floci-cli/commit/fc67e72a625df8156cc69fc2068e6923ae36f2f6)) * **profile:** make profile names, files and exit codes consistent ([#33](https://github.com/floci-io/floci-cli/issues/33)) ([5c0cc33](https://github.com/floci-io/floci-cli/commit/5c0cc339bf0be5937ae3fb561b4cb2103d5325fb)) * **update:** save the update-check cache in the native binary ([#41](https://github.com/floci-io/floci-cli/issues/41)) ([a40c7be](https://github.com/floci-io/floci-cli/commit/a40c7be73242f22edd3f6a93544a63c6c147621e)) ### Features * **az:** configure the az CLI against floci-az with floci az setup ([#29](https://github.com/floci-io/floci-cli/issues/29)) ([7b58a38](https://github.com/floci-io/floci-cli/commit/7b58a38c5a5bf4e2e84991c5400ec3abbab90264)) * **config:** create profiles for instances that run side by side ([#30](https://github.com/floci-io/floci-cli/issues/30)) ([788eb47](https://github.com/floci-io/floci-cli/commit/788eb470fb2d51b0d2b6743a060e709d9970c34d)) * **profile:** warn when a profile sets a key floci does not read ([#37](https://github.com/floci-io/floci-cli/issues/37)) ([22668a1](https://github.com/floci-io/floci-cli/commit/22668a1200c4835ac369cb9ebea355b0d4f9feb4)) * **start:** give each instance its own Docker resource namespace and base URL ([#31](https://github.com/floci-io/floci-cli/issues/31)) ([bf9ee40](https://github.com/floci-io/floci-cli/commit/bf9ee4037bb22628ad7f470bca7c551a8f6e65e2)) ### Performance Improvements * **doctor:** run checks concurrently and share docker lookups ([#32](https://github.com/floci-io/floci-cli/issues/32)) ([dd38f6d](https://github.com/floci-io/floci-cli/commit/dd38f6dc27307d7297d5fcc5c1a02897f8bb9f03)) * **native:** build smaller binaries with -Os and enforce a size budget ([#28](https://github.com/floci-io/floci-cli/issues/28)) ([3c4118f](https://github.com/floci-io/floci-cli/commit/3c4118ff1a5521ade1b7e788f45dbaca9069f648)) * restart without a fixed pause and wait no longer than --timeout ([#36](https://github.com/floci-io/floci-cli/issues/36)) ([01d6133](https://github.com/floci-io/floci-cli/commit/01d61335489121757612a5b7062d13f9a593b20b))
172 lines
7.0 KiB
XML
172 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>io.floci</groupId>
|
|
<artifactId>floci-cli</artifactId>
|
|
<version>0.3.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Floci CLI</name>
|
|
<description>Official command-line interface for Floci — the free, open-source local AWS emulator</description>
|
|
<url>https://github.com/floci-io/floci-cli</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT License</name>
|
|
<url>https://opensource.org/licenses/MIT</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<maven.compiler.release>25</maven.compiler.release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<picocli.version>4.7.6</picocli.version>
|
|
<jackson.version>2.18.3</jackson.version>
|
|
<junit.version>5.11.4</junit.version>
|
|
<main.class>io.floci.cli.FlociCli</main.class>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Picocli CLI framework — annotation-driven, native-image friendly -->
|
|
<dependency>
|
|
<groupId>info.picocli</groupId>
|
|
<artifactId>picocli</artifactId>
|
|
<version>${picocli.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Jackson for JSON and YAML output rendering -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
<artifactId>jackson-dataformat-yaml</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Testing -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.15.0</version>
|
|
<configuration>
|
|
<release>${maven.compiler.release}</release>
|
|
<!-- picocli-codegen generates reflect-config.json for all @Command classes -->
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>info.picocli</groupId>
|
|
<artifactId>picocli-codegen</artifactId>
|
|
<version>${picocli.version}</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
<compilerArgs>
|
|
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.5.5</version>
|
|
</plugin>
|
|
|
|
<!-- Fat JAR — JVM fallback when native binary is unavailable -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>${main.class}</mainClass>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
</transformers>
|
|
<finalName>floci</finalName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>native</id>
|
|
<activation>
|
|
<property>
|
|
<name>native</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
<version>0.10.4</version>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<id>build-native</id>
|
|
<goals>
|
|
<goal>compile-no-fork</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<imageName>floci</imageName>
|
|
<mainClass>${main.class}</mainClass>
|
|
<buildArgs>
|
|
<buildArg>--enable-url-protocols=http,https</buildArg>
|
|
<buildArg>--no-fallback</buildArg>
|
|
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
|
|
<buildArg>-H:IncludeResources=.*\.properties</buildArg>
|
|
<!-- Optimize for size, measured 2026-10-08: GraalVM Community linux/arm64 49.2 to 40.8 MB
|
|
(about 17%); Oracle GraalVM about 35% (darwin-arm64 51.8 to 33.6 MB) for
|
|
~10 ms more startup (~33 to ~43 ms). -->
|
|
<buildArg>-Os</buildArg>
|
|
</buildArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|