Giter Site home page Giter Site logo

merge-properties-maven-plugin's Introduction

Merge Properties Maven Plugin Build Status

This repository contains the source code for merge-properties-maven-plugin, a Maven Plugin that merges and filters a set of Java Properties files into a single file while detecting multiple instances of the same Property Key.

Requirements

Please use at least maven 3.8.1 and JDK 8.

merge-properties-maven-plugin's People

Contributors

dependabot[bot] avatar fishermans avatar perlan avatar veneckiy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

merge-properties-maven-plugin's Issues

Is sorting output file supported?

Since merging multiple files, it usually more convenient to seek for property when final file is sorted.

Is there a way to sort final file through the plugin?

No implementation for org.apache.maven.execution.MavenSession was bound

Hi,

I'm trying to use merge-properties-maven-plugin version 1.1 (acquired via Maven Central) with Maven 3.5.3, JDK 8 u121, and Windows 7.

When I add the plugin to my POM and build, I get the following error message:

Failed to execute goal org.polago.maven.plugins:merge-properties-maven-plugin:1.1:merge (default) on project uxv-simulation: Execution default of goal org.polago.maven.plugins:merge-properties-maven-plugin:1.1:merge failed: Unable to load the mojo 'merge' (or one of its required components) from the plugin 'org.polago.maven.plugins:merge-properties-maven-plugin:1.1': com.google.inject.ProvisionException: Guice provision errors:

1) No implementation for org.apache.maven.execution.MavenSession was bound.
while locating org.polago.maven.plugins.mergeproperties.MergeProperitesMavenResourcesFiltering
at ClassRealm[plugin>org.polago.maven.plugins:merge-properties-maven-plugin:1.1, parent: sun.misc.Launcher$AppClassLoader@55f96302]
at ClassRealm[plugin>org.polago.maven.plugins:merge-properties-maven-plugin:1.1, parent: sun.misc.Launcher$AppClassLoader@55f96302]
while locating org.apache.maven.shared.filtering.MavenResourcesFiltering annotated with @com.google.inject.name.Named(value=merge)
while locating org.polago.maven.plugins.mergeproperties.MergePropertiesMojo
at ClassRealm[plugin>org.polago.maven.plugins:merge-properties-maven-plugin:1.1, parent: sun.misc.Launcher$AppClassLoader@55f96302]
while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.polago.maven.plugins:merge-properties-maven-plugin:1.1:merge)

1 error
role: org.apache.maven.plugin.Mojo
roleHint: org.polago.maven.plugins:merge-properties-maven-plugin:1.1:merge
-> [Help 1]

Do you have any idea what could be causing this or how to fix it?

Thanks

Escaping property values

Hello,

I'm trying to use your plugin to merge two property files. All is fine, but one thing:
plugin escapes all ":" and "=" symbols in property values. For example I have property:
hibernate.connection.url=jdbc:mysql:localhost...
And after merge I have:
hibernate.connection.url=jdbc\:mysql\:localhost...
Is there any way to turn off such escaping? I tried to set:

<escapeWindowsPaths>false</escapeWindowsPaths>
<escapeString>:</escapeString>

But it doesn't work. I need to turn off escaping of ":" and "=" symbols.

Unsupported major.minor version 51.0

Hi,

I'm trying to use your plugin but I'm getting the following error during the build:
[ERROR] Failed to execute goal org.polago.maven.plugins:merge-properties-maven-plugin:1.1:merge (merge-en) on project eppeople: Execution merge-en of goal org.polago.maven.plugins:merge-properties-maven-plugin:1.1:merge failed: Unable to load the mojo 'merge' in the plugin 'org.polago.maven.plugins:merge-properties-maven-plugin:1.1' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/polago/maven/plugins/mergeproperties/MergePropertiesMojo : Unsupported major.minor version 51.0

My project uses JDK 1.6. Could that be the reason?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.