[
https://issues.jboss.org/browse/OVERLORD-152?page=com.atlassian.jira.plug...
]
Eric Wittmann resolved OVERLORD-152.
------------------------------------
Resolution: Done
Example from apiman. See "configFile" in the markup below (from the
apiman-distro-fuse6-dt module's pom.xml):
{code}
<plugin>
<groupId>org.overlord</groupId>
<artifactId>overlord-commons-maven-plugin</artifactId>
<version>${version.org.overlord.overlord-commons.overlord-commons-maven-plugin}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
</goals>
<configuration>
<outputFile>${project.build.directory}/features.xml</outputFile>
<attach>true</attach>
<features>
<!-- All APIMan Dependencies -->
<feature>
<name>apiman-dependencies</name>
<version>${project.version}</version>
<comment>All API Management Dependencies</comment>
<dependsOnFeatures>
<feature>
<name>war</name>
</feature>
</dependsOnFeatures>
<excludes>
<exclude>org.overlord.apiman:apiman-*:*</exclude>
</excludes>
</feature>
<!-- APIMan Management Layer -->
<feature>
<name>apiman-dt</name>
<version>${project.version}</version>
<comment>API Management Runtime</comment>
<dependsOnFeatures>
<feature>
<name>apiman-dependencies</name>
<version>${project.version}</version>
</feature>
</dependsOnFeatures>
<configFiles>
<configFile>
<finalName>/etc/apiman-dt.cfg</finalName>
<value>mvn:org.overlord.apiman/apiman-distro-fuse6-dt/${project.version}/cfg</value>
</configFile>
</configFiles>
<includes>
<include>org.overlord.apiman:apiman-*:*</include>
</includes>
</feature>
</features>
</configuration>
</execution>
</executions>
</plugin>
{code}
Add support for 'configfile' in generated features.xml file
-----------------------------------------------------------
Key: OVERLORD-152
URL:
https://issues.jboss.org/browse/OVERLORD-152
Project: Overlord
Issue Type: Feature Request
Reporter: Eric Wittmann
Assignee: Eric Wittmann
Fix For: Overlord-Commons-2.0.11.Final
Add the ability to include configfile elements in the generated features.xml file created
by the overlord-commons maven plugin.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)