As asked by a user, here I attach a snippet of my configuration:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.pronetics.jira.plugins</groupId>
<artifactId>backup-configuration</artifactId>
<version>1.0-SNAPSHOT</version>
<type>zip</type>
<classifier>webresources</classifier>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/webapp-unpack</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<configuration>
<tasks>
<copy
todir="${project.build.directory}/${artifactId}">
<fileset dir="${project.build.directory}/processed-files" />
</copy>
<copy
todir="${project.build.directory}/${artifactId}">
<fileset dir="${project.build.directory}/webapp-unpack" />
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-config-processor-plugin</groupId>
<artifactId>maven-config-processor-plugin</artifactId>
<version>1.4</version>
<configuration>
<outputDirectory>target/processed-files</outputDirectory>
<useOutputDirectory>true</useOutputDirectory>
<encoding>ISO-8859-1</encoding>
<lineWidth>200</lineWidth>
<indentSize>4</indentSize>
<transformations>
<transformation>
<type>properties</type>
<replacePlaceholders>true</replacePlaceholders>
<input>${project.build.directory}/webapp-unpack/exportConfiguration.properties</input>
<output>exportConfiguration.properties</output>
<config>src/main/assembly/properties/properties-processing.xml</config>
</transformation>
</transformations>
</configuration>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>HTH Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
