Skip to content

Commit

Permalink
Merge pull request #18 from intuit/develop
Browse files Browse the repository at this point in the history
release-v1.2.0
  • Loading branch information
marcellodesales authored Nov 26, 2019
2 parents 5ead35f + c4fa7aa commit 7203678
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
32 changes: 15 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
Node.js pom.xml Parser
=======
# Node.js pom.xml Parser

[![Build Status](https://travis-ci.org/intuit/node-pom-parser.svg)](https://travis-ci.org/intuit/node-pom-parser) [![npm version](https://badge.fury.io/js/pom-parser.svg)](http://badge.fury.io/js/pom-parser) [![Dependency Status](https://gemnasium.com/intuit/node-pom-parser.svg)](https://gemnasium.com/intuit/node-pom-parser) [![Codacy Badge](https://www.codacy.com/project/badge/191cac4deb214c1ebca93924bfd2ef4b)](https://www.codacy.com/app/marcello-desales/node-pom-parser) [![Coverage Status](https://coveralls.io/repos/intuit/node-pom-parser/badge.svg?branch=master&service=github)](https://coveralls.io/github/intuit/node-pom-parser?branch=master) ![License](https://img.shields.io/badge/license-MIT-lightgray.svg)
[![Build Status](https://travis-ci.org/intuit/node-pom-parser.svg)](https://travis-ci.org/intuit/node-pom-parser) [![npm version](https://badge.fury.io/js/pom-parser.svg)](http://badge.fury.io/js/pom-parser) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d2906fe328124c138cd1e2de472d9245)](https://www.codacy.com/manual/marcellodesales/node-pom-parser?utm_source=github.com&utm_medium=referral&utm_content=intuit/node-pom-parser/&utm_campaign=Badge_Grade) [![Coverage Status](https://coveralls.io/repos/intuit/node-pom-parser/badge.svg?branch=master&service=github)](https://coveralls.io/github/intuit/node-pom-parser?branch=master) ![License](https://img.shields.io/badge/license-MIT-lightgray.svg)

Parsing Java's pom.xml and properly returning the json object, including attributes and values.

[![NPM](https://nodei.co/npm/pom-parser.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/pom-parser/)

Motivation
========
# Motivation

* Your enterprise decided to move production code written in Java to Node.js
* Your enterprise uses a centralized Nexus repository where your Java project uses pom.xml to manage app packaging.
* Your enterprise still plans to use Nexus repository to package Node.js applications.
* Your enterprise engineers want an API to retrieve information from the pom.xml file from those Node.js apps.

Installation
======

```
npm install --save pom-parser
```
Features
======
# Features

* Reads any pom.xml.
* All xml elements are placed into properties.
* All xml element attributes are merged into the parent element.
* Both the xml string and the parsed object are returned.
* You can provide parsing options.

Use
=====
# Installation

```
npm install --save pom-parser
```

# Use

* Printing the object

Expand Down Expand Up @@ -195,12 +191,14 @@ It should print the follow object with the following properties:
}
```

License
==========
# License

`node-pom-parser` is provided under the MIT license.

Contributing
=======

Pull requests are welcome!

* Please send PRs to the `develop` branch for the next release!
* Make sure to watch all the Github Actions status are passing!
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "pom-parser",
"version": "1.1.0",
"version": "1.2.0",
"description": "A parser for the Java/Maven pom.xml files.",
"license": "MIT",
"main": "lib/",
"author": {
"name": "Marcello de Sales",
"email": "Marcello_deSales@intuit.com",
"url": "https://about.me/marcellodesales"
"url": "https://linkedin.com/in/marcellodesales"
},
"scripts": {
"test": "nyc mocha",
Expand All @@ -25,7 +25,7 @@
},
"repository": {
"type": "git",
"url": "git@github.com:marcellodesales/node-pom-parser.git"
"url": "git@github.com:intuit/node-pom-parser.git"
},
"keywords": [
"java",
Expand Down

0 comments on commit 7203678

Please sign in to comment.