Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gcuisinier/maven-xmlmerger-plugin
Maven plugin for process simple XML Merging
https://github.com/gcuisinier/maven-xmlmerger-plugin
Last synced: about 2 months ago
JSON representation
Maven plugin for process simple XML Merging
- Host: GitHub
- URL: https://github.com/gcuisinier/maven-xmlmerger-plugin
- Owner: gcuisinier
- Created: 2011-12-21T09:15:56.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-06-21T18:45:37.000Z (over 9 years ago)
- Last Synced: 2024-10-15T07:56:51.214Z (3 months ago)
- Language: Java
- Homepage:
- Size: 147 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
#Maven XML Merge Plugin
Plugin maven that allow to merge a XML Document with another one annotated by XDT processing instructions
By example, merging this XML DOcument
```xml
```
with this one :
```xml
```
generate this last :
```xml
```
For more information of merging possibility, read the documentation of https://github.com/hikage/xdt4j
##Building
mvn clean install
Usage
=====##Available Goal
### xmlmerger:mergexml
Here is the available parameters for this goal :
**baseDirectory** :
* **Type**: java.lang.File
* **Description**: The input directory in which the XML Document base can be found.
* **Default value** : ${project.build.outputDirectory}**inputDirectory** :
* **Type**: java.lang.File
* **Description**: The input directory in which the XML Merge Data can be found.
* **Default value** : ${basedir}/src/main/xmlmerge**outputDirectory** :
* **Type**: java.lang.File
* **Description**: The output directory into which to copy the genereated XML.
* **Default value** : ${project.build.outputDirectory}**mergeFilenamePattern** :
* **Type**: String (regex)
* **Description**: The mergeFilenamePattern used to find XML Document to merge. It have to return two groups, including the second is the name of the file in which it must be merged. The default pattern assume that the XML Document to be merged has the same name as the base XML Document
* **Default value** : ()(.*)