logo OW2 Util :: Maven :: Plugin :: Property Editor

Edit properties file

homepage:
fresh index:
last release: 5 years ago, first release: 9 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
utilpropertyeditor:edit (phase: process-classes)

Properties Editor Mojo.

Often used code snippets:

<plugin>
  <groupId>org.ow2.util</groupId>
  <artifactId>util-maven-plugin-propertyeditor</artifactId>
  <version>1.0.12</version>
  <inherited>false</inherited>
  <executions>
    <execution>
      <goals>
        <goal>edit</goal>
      </goals>
      <id>update-build-properties</id>
      <phase>package</phase>
      <configuration>
        <editorConfigurations>
          <editorConfiguration>
            <fileName>${project.basedir}/build.properties</fileName>
            <createFile>true</createFile>
            <editorOperations>
              <editorOperation>
                <property>orchestra.version</property>
                <value>${project.version}</value>
              </editorOperation>
            </editorOperations>
          </editorConfiguration>
        </editorConfigurations>
      </configuration>
    </execution>
  </executions>
</plugin>

© Jiri Pinkas 2015 - 2017. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.