mirror of
https://github.com/plexusorg/toml4j.git
synced 2024-12-28 19:24:15 +00:00
Added license and release info
This commit is contained in:
parent
9fe3637126
commit
58224344f0
2 changed files with 85 additions and 0 deletions
32
README.md
32
README.md
|
@ -2,6 +2,32 @@
|
|||
|
||||
toml4j is a [TOML](https://github.com/mojombo/toml) parser that uses the [Parboiled](http://www.parboiled.org) PEG parser.
|
||||
|
||||
## Installation
|
||||
|
||||
toml4j is currently published in snapshot form. Add the following repository to your POM:
|
||||
|
||||
````xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<url>https://oss.sonatype.org/content/groups/public/</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
````
|
||||
|
||||
Add the following dependency:
|
||||
|
||||
````xml
|
||||
<dependency>
|
||||
<groupId>com.moandjiezana.toml</groupId>
|
||||
<artifactId>toml4j</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
````
|
||||
|
||||
## Usage
|
||||
|
||||
````java
|
||||
|
@ -24,3 +50,9 @@ Long a = toml.getLong("a"); // returns 1, not 2
|
|||
Long b = toml.getLong("b"); // returns 3
|
||||
Long c = toml.getLong("c"); // returns null
|
||||
````
|
||||
|
||||
## License
|
||||
|
||||
toml4j is copyright of Moandji Ezana
|
||||
toml4j is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php)
|
||||
|
||||
|
|
53
pom.xml
53
pom.xml
|
@ -11,6 +11,14 @@
|
|||
<version>1.0.0-SNAPSHOT</version>
|
||||
<name>toml4j</name>
|
||||
<description>A parser for TOML</description>
|
||||
<url>http://moandjiezana.com/toml/toml4j</url>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>moandji.ezana</id>
|
||||
<name>Moandji Ezana</name>
|
||||
<email>mwanji@gmail.com</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
@ -42,4 +50,49 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The MIT License</name>
|
||||
<url>http://www.opensource.org/licenses/mit-license.php</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:mwanji/toml4j.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:mwanji/toml4j.git</developerConnection>
|
||||
<url>https://github.com/mwanji/toml4j</url>
|
||||
</scm>
|
||||
<issueManagement>
|
||||
<system>Github Issues</system>
|
||||
<url>https://github.com/mwanji/toml4j/issues</url>
|
||||
</issueManagement>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release-sign-artifacts</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>performRelease</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
Loading…
Reference in a new issue