| <?xml version="1.0"?> |
| <!-- |
| $Id: pom.xml 1333561 2012-05-03 17:24:51Z nlebas $ |
| |
| 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> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-assembly</artifactId> |
| <packaging>pom</packaging> |
| <name>Tiles Request Assembly</name> |
| <description>Tiles Request Assembly: assembles artifact to produce distributions. |
| </description> |
| |
| <parent> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request</artifactId> |
| <version>1.0.8-SNAPSHOT</version> |
| </parent> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-4</version> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin.xml</descriptor> |
| <descriptor>src/main/assembly/docs.xml</descriptor> |
| <descriptor>src/main/assembly/src.xml</descriptor> |
| </descriptors> |
| <finalName>tiles-request-${project.version}</finalName> |
| <outputDirectory>target/assembly/out</outputDirectory> |
| <workDirectory>target/assembly/work</workDirectory> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>apache-release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-4</version> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <goals> |
| <goal>attached</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin.xml</descriptor> |
| <descriptor>src/main/assembly/docs.xml</descriptor> |
| <descriptor>src/main/assembly/src.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>net.nicoulaj.maven.plugins</groupId> |
| <artifactId>checksum-maven-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>artifacts</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <attachChecksums>true</attachChecksums> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <configuration> |
| <ascDirectory>${project.build.directory}/..</ascDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.3</version> |
| <executions> |
| <execution> |
| <phase>deploy</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <mkdir dir="${project.build.directory}/assemblies" /> |
| <echo message="Here I am!" /> |
| <copy todir="${project.build.directory}/assemblies"> |
| <fileset dir="${settings.localRepository}/org/apache/tiles/${project.artifactId}/${project.version}"> |
| <include name="${project.artifactId}-${project.version}-*.zip*" /> |
| <include name="${project.artifactId}-${project.version}-*.tar.gz*" /> |
| <exclude name="${project.artifactId}-${project.version}-source-release.*" /> |
| </fileset> |
| <mapper type="glob" from="${project.artifactId}-*" to="tiles-request-*" /> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-freemarker</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-jsp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-mustache</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-portlet</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-portlet-wildcard</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-servlet</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-servlet-wildcard</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tiles</groupId> |
| <artifactId>tiles-request-velocity</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Optional dependencies that will be redistributed --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>1.5.8</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| </project> |