blob: 29602e621d907c3fda536f4238998bf822ff299e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.taverna.engine</groupId>
<artifactId>apache-taverna-engine</artifactId>
<version>3.1.1-incubating-SNAPSHOT</version>
</parent>
<artifactId>taverna-activity-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>Apache Taverna Activity archetype</name>
<description>Archetype to build a Taverna 3 service activity.
Includes engine and UI parts, and a test class to run the workbench with the new activity.
</description>
<build>
<resources>
<resource>
<!-- Filter BEFORE making the Velocity templates
in target/classes - so that ${taverna.osgi.version}
etc. can be taken from OUR parent -->
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.4</version>
</extension>
</extensions>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.4</version>
<dependencies>
<dependency>
<!-- Workaround for ARCHETYPE-488 - should not be needed
for archetype-packaging 2.5 -->
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-invoker</artifactId>
<version>2.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<configuration>
<escapeString>\</escapeString>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!--
Dependencies on other Taverna Engine components needed
by the artifact integration test (TAVERNA-975)
We need to declare these so that the Maven reactor
for Taverna Engine can build them before running
our integration test (particularly during a release).
The section below MUST match the <dependencies> of
__rootArtifactId__-activity/pom.xml -
but should use <scope>test</scope> instead.
-->
<dependency>
<groupId>org.apache.taverna.engine</groupId>
<artifactId>taverna-workflowmodel-api</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.taverna.engine</groupId>
<artifactId>taverna-reference-api</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.taverna.engine</groupId>
<artifactId>taverna-workflowmodel-impl</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.taverna.engine</groupId>
<artifactId>taverna-activity-test-utils</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.4</version>
<configuration>
<!-- disable archetype integration testing, can't access
not-yet-released taverna-engine dependencies during
mvn release:prepare
-->
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>