GithubHelp home page GithubHelp logo

mipo256 / properties-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 0.0 238 KB

The Properties Maven Plugin

Home Page: https://www.mojohaus.org/properties-maven-plugin/

License: Apache License 2.0

Java 98.41% Groovy 1.59%

properties-maven-plugin's People

Contributors

akuhtz avatar bentmann avatar dantran avatar davidkarlsen avatar dennisl avatar dependabot[bot] avatar hboutemy avatar imadbl avatar jglick avatar khmarbaise avatar kreyssel avatar marko-stankovic avatar mcarlett avatar mipo256 avatar olamy avatar pgier avatar serezakorotaev avatar slachiewicz avatar stefanbirkner avatar temalead avatar trygvis avatar yassirh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

properties-maven-plugin's Issues

Create PropertiesLoaders for read-project-properties goal

I think the goal read-project-properties should be refactored. The key points are

  • Create PropertiesLoader interface that represents the abstract loader of properties from somewhere
  • Create implementations for both URL and File resource loaders
  • Move UrlResource and FileResource models to separate models package

Implicit behavior of the plugin on overriding already defined properties

Description of PropertiesLoader mentioned that:
if there is a property 'abc' defined in
3 resources, then the value of 'abc' property in the last resource in the passed list will be contained
in the returned {@link Properties} object.

I think it`s implicit behaviour of plugin. What if in one of the propertiy files property value was updated to actual value, for example db datasource, but plugin reads deprecated value from other file

Maybe we can throw exception if property already is defined in one of the files?

Plugin not work

Good day! i'm trying to connect plugin in my test-plugin project for testing how is plugin work. I do all steps by documentation
For example for goal set-system-properties

<build>
    <plugins>
      <plugin>
                <groupId>io.polivakha</groupId>
                <artifactId>properties-maven-plugin</artifactId>
                <version>1.0.0</version>
        <executions>
          <execution>
            <goals>
              <goal>set-system-properties</goal>
            </goals>
            <configuration>
              <properties>
                <property>
                  <name>my.property.name</name>
                  <value>my.property.value</value>
                </property>
              </properties>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

But i get error

The parameters 'properties' for goal io.polivakha:properties-maven-plugin:1.0.0:set-system-properties are missing or invalid

when i launch this goal. What did I do wrong? Thank you

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.