Files
floci-cli/pom.xml
T
semantic-release-bot 5f2a1018a4 chore(release): 0.4.0
# [0.4.0](https://github.com/floci-io/floci-cli/compare/0.3.0...0.4.0) (2026-10-12)

### Bug Fixes

* **cli:** end every error message with what to do next ([#58](https://github.com/floci-io/floci-cli/issues/58)) ([bd4fa0f](https://github.com/floci-io/floci-cli/commit/bd4fa0f1343c38eac3a1e5ef551a724816dd022d))
* **cli:** exit 2 for every rejected value, not 1 in some commands ([#66](https://github.com/floci-io/floci-cli/issues/66)) ([c65987a](https://github.com/floci-io/floci-cli/commit/c65987abbac07c666fd21ab81cc88d20feebce96))
* **cli:** keep the next step when an error's cause has several lines ([#67](https://github.com/floci-io/floci-cli/issues/67)) ([188aa23](https://github.com/floci-io/floci-cli/commit/188aa23edcf68ad3b53c83abbbc4598b2678bfe7))
* **cli:** keep wait's spinner out of -o json, reject bad durations and make --verbose work ([#48](https://github.com/floci-io/floci-cli/issues/48)) ([52ebdee](https://github.com/floci-io/floci-cli/commit/52ebdee98d46e26ab9b4739326c0dc92764f87fe))
* **cli:** remove doctor --fix and services --mode, which did nothing ([#53](https://github.com/floci-io/floci-cli/issues/53)) ([1a7e84c](https://github.com/floci-io/floci-cli/commit/1a7e84cd2308b8225cf3b3680a9061479794c8bb))
* **completion:** offer only bash and zsh, the shells a script is generated for ([#59](https://github.com/floci-io/floci-cli/issues/59)) ([804e355](https://github.com/floci-io/floci-cli/commit/804e3559362daf37f8f3f8011df4f0824a7045fd))
* **config:** accept Compose files that use YAML anchors and merge keys in config validate ([#65](https://github.com/floci-io/floci-cli/issues/65)) ([68d28d4](https://github.com/floci-io/floci-cli/commit/68d28d49ef410b07c31b067f4d465958c730986d))
* **config:** write profiles and config atomically and report files that cannot be read ([#45](https://github.com/floci-io/floci-cli/issues/45)) ([522e54e](https://github.com/floci-io/floci-cli/commit/522e54ef3c92208a1ca98e9737804353cecc3c0a))
* **docker:** time-limit docker calls and pass names after -- ([#47](https://github.com/floci-io/floci-cli/issues/47)) ([7ecc895](https://github.com/floci-io/floci-cli/commit/7ecc895baaaf1c61f38bc1d1bde7ce2ab6699ee6))
* **doctor:** fail -o json on a failed check and name each product in its hints ([#52](https://github.com/floci-io/floci-cli/issues/52)) ([771b353](https://github.com/floci-io/floci-cli/commit/771b3537331bbe78f6d241814750f12b2143a972))
* **env:** show how to load the variables in the chosen shell and reject unknown shells ([#46](https://github.com/floci-io/floci-cli/issues/46)) ([fbdc3ef](https://github.com/floci-io/floci-cli/commit/fbdc3ef713c4790d197d0bcaaf835dc5f93425db))
* **http:** keep snapshot names in one path segment and report odd server responses clearly ([#54](https://github.com/floci-io/floci-cli/issues/54)) ([24b4280](https://github.com/floci-io/floci-cli/commit/24b4280f696fec07db1c538204ac7765523346e8))
* **reset:** reset the server a profile or FLOCI_ENDPOINT names, not a local container of the default name ([#64](https://github.com/floci-io/floci-cli/issues/64)) ([885e49f](https://github.com/floci-io/floci-cli/commit/885e49f81ac6bdcfed4f2a9e814f7c2ba7062783))
* **restart:** keep the instance's port, image, data directory and services ([#49](https://github.com/floci-io/floci-cli/issues/49)) ([f6cec79](https://github.com/floci-io/floci-cli/commit/f6cec794d71973efebc7991dabe99c723e1541cd))
* **start:** mount a relative --persist path as a directory and validate --port and --pull ([#50](https://github.com/floci-io/floci-cli/issues/50)) ([3ca4108](https://github.com/floci-io/floci-cli/commit/3ca4108498a04b1b52766a42ceea78d259373c21))
* **update:** follow symlinked installs, pick arm64 under Rosetta and tell a failed check from a pending update ([#56](https://github.com/floci-io/floci-cli/issues/56)) ([a9edb57](https://github.com/floci-io/floci-cli/commit/a9edb57aa6d720aae1dddcd4e3987e231b37b47d))

### Features

* **cli:** add --json, --no-emoji, config profile edit and a warning for servers too old for the CLI ([#62](https://github.com/floci-io/floci-cli/issues/62)) ([de3ca7f](https://github.com/floci-io/floci-cli/commit/de3ca7f1716c3ca6eb4f357d35b44cb15592b23c))
* **cli:** honour --json and -o json in config profile, config default-product and the snapshot commands ([#68](https://github.com/floci-io/floci-cli/issues/68)) ([5bcbc09](https://github.com/floci-io/floci-cli/commit/5bcbc0988e12979b61e30137abe72b2271f1238d))
* **cli:** structured output for start, stop and restart, and a status exit code scripts can use ([#60](https://github.com/floci-io/floci-cli/issues/60)) ([4a9a9b5](https://github.com/floci-io/floci-cli/commit/4a9a9b5a4a22cb1ea84133812fe2dec7f3c6eb81))
* **config:** validate Compose files by their structure, with -o json and three more checks ([#61](https://github.com/floci-io/floci-cli/issues/61)) ([6b06382](https://github.com/floci-io/floci-cli/commit/6b063825161dfbb5030972d62439e9af4f389632))
* **reset:** add floci reset to delete every resource in a running emulator ([#55](https://github.com/floci-io/floci-cli/issues/55)) ([fa306b3](https://github.com/floci-io/floci-cli/commit/fa306b38a65559020a9fba490773f51342874da3))
* **start:** check the host port before starting and explain a missing Docker socket ([#51](https://github.com/floci-io/floci-cli/issues/51)) ([4cd39a9](https://github.com/floci-io/floci-cli/commit/4cd39a957a88a185b2983cdbb7fee14031839f24))
2026-10-12 02:54:30 +00:00

195 lines
8.1 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.4.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>
<floci.test.groups></floci.test.groups>
<floci.test.excludedGroups>integration</floci.test.excludedGroups>
</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>
<!-- Already on the classpath through jackson-dataformat-yaml, which is built on it; declared
because config validate uses it directly to resolve anchors and merge keys. Keep the
version the one Jackson's YAML module brings in. -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.3</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>
<configuration>
<!-- Tests tagged "integration" need Docker and the emulator images; they run
only with -Pintegration. -->
<groups>${floci.test.groups}</groups>
<excludedGroups>${floci.test.excludedGroups}</excludedGroups>
</configuration>
</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>integration</id>
<properties>
<floci.test.groups>integration</floci.test.groups>
<floci.test.excludedGroups>none</floci.test.excludedGroups>
</properties>
</profile>
<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>