props2yaml

Properties to YAML converter library

License

License

GroupId

GroupId

io.codearte.props2yaml
ArtifactId

ArtifactId

props2yaml-project
Last Version

Last Version

0.5
Release Date

Release Date

Type

Type

pom
Description

Description

props2yaml
Properties to YAML converter library
Project URL

Project URL

https://github.com/Codearte/props2yaml
Source Code Management

Source Code Management

https://github.com/Codearte/props2yaml/

Download props2yaml-project

How to add to project

<!-- https://jarcasting.com/artifacts/io.codearte.props2yaml/props2yaml-project/ -->
<dependency>
    <groupId>io.codearte.props2yaml</groupId>
    <artifactId>props2yaml-project</artifactId>
    <version>0.5</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.codearte.props2yaml/props2yaml-project/
implementation 'io.codearte.props2yaml:props2yaml-project:0.5'
// https://jarcasting.com/artifacts/io.codearte.props2yaml/props2yaml-project/
implementation ("io.codearte.props2yaml:props2yaml-project:0.5")
'io.codearte.props2yaml:props2yaml-project:pom:0.5'
<dependency org="io.codearte.props2yaml" name="props2yaml-project" rev="0.5">
  <artifact name="props2yaml-project" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.codearte.props2yaml', module='props2yaml-project', version='0.5')
)
libraryDependencies += "io.codearte.props2yaml" % "props2yaml-project" % "0.5"
[io.codearte.props2yaml/props2yaml-project "0.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • library
  • maven-plugin

Properties to YAML Converter

Build Status Coverage Status Maven Central

Library usage:

String yaml = Props2YAML.fromContent(content).convert();
String yaml = Props2YAML.fromFile(file).convert();
String yaml = Props2YAML.fromFile(path).convert();

or from command line:

$ mvn io.codearte.props2yaml:props2yaml-maven-plugin:convert -Dproperties=application.properties

or

$ wget http://central.maven.org/maven2/io/codearte/props2yaml/props2yaml/0.3/props2yaml-0.3-jar-with-dependencies.jar
$ java -jar props2yaml-0.3-jar-with-dependencies.jar application.properties

There is also IntelliJ IDEA plugin called "Properties to YAML Converter" which provides easy way of using this library

Online converter: https://props2yaml-codearte2foss.rhcloud.com/conversion

io.codearte.props2yaml

Versions

Version
0.5
0.4.1
0.4
0.3
0.2