blob: c16ef64b7335b81dbd0e2e69629fb9d4944a406a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<relativePath>../../releng/org.eclipse.emf.parsley.parent/pom.xml</relativePath>
<groupId>org.eclipse.emf.parsley</groupId>
<artifactId>org.eclipse.emf.parsley.parent</artifactId>
<version>0.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.emf.parsley.doc</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<configuration>
<skip>${mwe2.skip}</skip>
<filesets>
<fileset>
<directory>${basedir}/contents</directory>
<includes>
<include>**/*.html</include>
<include>**/*.xml</include>
<include>**/*.jpeg</include>
<include>**/*.png</include>
</includes>
<excludes>
<exclude>**/.gitignore</exclude>
<exclude>**/*.css</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.fornax.toolsupport</groupId>
<artifactId>fornax-oaw-m2-plugin</artifactId>
<version>${fornax-oaw-m2-plugin-version}</version>
<configuration>
<skip>${mwe2.skip}</skip>
<workflowEngine>mwe2</workflowEngine>
<workflowDescriptor>src/workflow/GenerateHelpArtifacts.mwe2</workflowDescriptor>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>run-workflow</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- copy the images directory into contents, since running Xdoc from
mwe2 does not seem to do that... -->
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>copy-images</id>
<phase>compile</phase>
<configuration>
<target>
<copy includeemptydirs="false" todir="${basedir}/contents/images">
<fileset dir="${basedir}/xdoc/images">
<include name="**" />
</fileset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>