# maven-hocon-extension **Repository Path**: mirrors_apache/maven-hocon-extension ## Basic Information - **Project Name**: maven-hocon-extension - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-13 - **Last Updated**: 2025-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ⚠️ **WARNING** ⚠️ ================ This extension has several significant limitations: - No location tracking support, making error messages less helpful - Uses an unmaintained library as its core dependency **Consider using [Mason](https://github.com/maveniverse/mason) instead, which provides a more robust and maintained alternative.** 📢 **ARCHIVED REPOSITORY** 📢 ========================== This repository has been archived and is no longer maintained. Please use [Mason](https://github.com/maveniverse/mason) instead. [Apache Maven Hocon Extension](https://maven.apache.org/extensions/maven-xinclude-extension/) ================================== [![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/apache/maven.svg?label=License)](https://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://img.shields.io/maven-central/v/org.apache.maven.extensions/maven-xinclude-extension.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.maven.extensions/maven-xinclude-extension) This project provides a Hocon POM parser extension for Maven 4. It allows POMs to be written with the [Hocon](https://github.com/lightbend/config/blob/master/HOCON.md) syntax, which is a superset of the [JSON](https://json.org/) syntax. License ------- This code is under the [Apache License, Version 2.0, January 2004][./LICENSE]. See the [`NOTICE`](./NOTICE) file for required notices and attributions. Usage ----- To use this extension, the following declaration needs to be done in your `${rootDirectory}/.mvn/extensions.xml`: ``` org.apache.maven.extensions maven-hocon-extension @project.version@ ``` This allows defining a POM using Hocon syntax: ``` modelVersion = 4.1.0 parent { groupId = org.apache.maven.hocon.its artifactId = parent version = 1.0.0-SNAPSHOT } artifactId = test properties = { "my.property" = foo pluginVersion = 3.9 } dependencies = [ # just add one dummy dependency "com.typesafe:config:1.4.2" ] ```