commit | 6e64025526e522bc5738568d9e780f2d2c349dcd | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@gmail.com> | Fri Dec 06 15:00:18 2024 +0100 |
committer | Guillaume Nodet <gnodet@gmail.com> | Tue Dec 10 22:59:08 2024 +0100 |
tree | 44e64c022173b6f04fde4ba0614e236de2c86ad1 | |
parent | 91113512f906240458bc26e7ca4ab95a8bc53e40 [diff] |
Upgrade to beta-5 / rc-1
This project provides a Hocon POM parser extension for Maven 4. It allows POMs to be written with the Hocon syntax, which is a superset of the JSON syntax.
This code is under the [Apache License, Version 2.0, January 2004][./LICENSE].
See the NOTICE
file for required notices and attributions.
To use this extension, the following declaration needs to be done in your ${rootDirectory}/.mvn/extensions.xml
:
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.2.0"> <extension> <groupId>org.apache.maven.extensions</groupId> <artifactId>maven-hocon-extension</artifactId> <version>@project.version@</version> </extension> </extensions>
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" ]