Introduction

Implementation to transfer properties to the file system.

The following examples show how to configure the smartics-properties-maven-plugin with this transfer implementation.

Configuration

This is an example configuration of the

<plugin>
  <groupId>de.smartics.properties</groupId>
  <artifactId>smartics-properties-maven-plugin</artifactId>
  <version>/add current version here/</version>
  <executions>
    <execution>
      <id>properties-transfer</id>
      <phase>package</phase>
      <goals>
        <goal>properties-transfer</goal>
      </goals>
      <configuration>
        <propertySinkFactory implementation="de.smartics.properties.config.transfer.filesystem.Factory">
          <targetFolder>$/home/sw/.hudson/jobs/smartics-properties-transfer-filesystem-site/workspace/smartics-properties-transfer-filesystem/target/my-export-dir</targetFolder>
          <outputFormat>xml</outputFormat>
        </propertySinkFactory>
      </configuration>
    </execution>
  </executions>
  <dependencies>
    <dependency>
      <groupId>de.smartics.properties</groupId>
      <artifactId>smartics-properties-transfer-filesystem</artifactId>
      <version>0.1.1-SNAPSHOT</version>
    </dependency>
  </dependencies>

  <configuration>
    <artifactItems>
      <artifactItem>
        ... OPTIONAL: add any artifacts with property definitions here ...
      </artifactItem>
    </artifactItems>
    <definitionConfigParser
      implementation="de.smartics.properties.impl.config.domain.key.rtaware.TenantUserDefinitionConfigParser" />
  </configuration>