bw-wf-timezone-server-feature-pack
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.bedework.deploy</groupId>
<artifactId>bw-wf-timezone-server-feature-pack</artifactId>
<version>5.0.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.bedework.deploy</groupId>
<artifactId>bw-wildfly-galleon-feature-packs</artifactId>
<version>5.0.0</version>
</parent>
<artifactId>bw-wf-timezone-server-feature-pack</artifactId>
<name>Bedework: Timezone server feature pack</name>
<packaging>pom</packaging>
<properties>
<resourcesDir>${project.build.directory}/generated/resources</resourcesDir>
<feature-pack.resources.directory>${project.basedir}/src/main/resources</feature-pack.resources.directory>
</properties>
<dependencies>
<!-- Feature pack(s) -->
<dependency>
<groupId>org.bedework.deploy</groupId>
<artifactId>bw-wf-core-feature-pack</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.bedework</groupId>
<artifactId>bw-icalendar-xml</artifactId>
<type>zip</type>
</dependency>
<!-- ============ bw-timezone-server =========== -->
<dependency>
<groupId>org.bedework.bw-tzsvr</groupId>
<artifactId>bw-timezone-server-war</artifactId>
<type>war</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-feature-pack-layer-package-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${resourcesDir}</outputDirectory>
<resources>
<resource>
<directory>${feature-pack.resources.directory}</directory>
<includes>
<include>layers/**</include>
<include>packages/**</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<!-- Now create the dodeploy files -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>create-dodeploy-resources</id>
<phase>process-resources</phase>
<configuration>
<target>
<macrodef name="addDodeploy">
<attribute name="package" />
<attribute name="module" />
<sequential>
<mkdir dir="${resourcesDir}/packages/@{package}/pm/wildfly/resources/" />
<touch file="${resourcesDir}/packages/@{package}/pm/wildfly/resources/@{module}-${bw-timezone-server.version}.war.dodeploy" />
</sequential>
</macrodef>
<sequential>
<addDodeploy package="deploy.web.timezones"
module="bw-timezone-server-war" />
</sequential>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<dependencies>
<dependency>
<groupId>org.wildfly.core</groupId>
<artifactId>wildfly-embedded</artifactId>
<version>${wildfly.core.version}</version>
</dependency>
<dependency>
<groupId>org.wildfly.common</groupId>
<artifactId>wildfly-common</artifactId>
<version>${wildfly.common.version}</version>
</dependency>
</dependencies>
<groupId>org.wildfly.galleon-plugins</groupId>
<artifactId>wildfly-galleon-maven-plugin</artifactId>
<executions>
<execution>
<id>galleon-pack-build</id>
<goals>
<goal>build-feature-pack</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<fork-embedded>false</fork-embedded>
<resourcesDir>${resourcesDir}</resourcesDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>