blob: 78501147b1f14ea33b96e95a58c894984188866d [file] [log] [blame]
<?xml version="1.0"?>
<!--
/*
* $Id$
*
* 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">
<parent>
<artifactId>tiles-master</artifactId>
<groupId>org.apache.tiles</groupId>
<version>4-SNAPSHOT</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Tiles 3</name>
<description>Tiles 3: A framework for page composition.</description>
<url>http://tiles.apache.org/framework/</url>
<scm>
<connection>scm:svn:http://svn.eu.apache.org/repos/asf/tiles/framework/trunk/tiles-parent/</connection>
<developerConnection>scm:svn:https://svn.eu.apache.org/repos/asf/tiles/framework/trunk/tiles-parent/</developerConnection>
<url>http://svn.eu.apache.org/viewvc/tiles/framework/trunk/tiles-parent/</url>
</scm>
<ciManagement />
<repositories>
<repository>
<id>apache.snapshots</id>
<url>https://repository.apache.org/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<modules>
<module>tiles-api</module>
<module>tiles-core</module>
<module>tiles-template</module>
<module>tiles-servlet</module>
<module>tiles-jsp</module>
<module>tiles-freemarker</module>
<module>tiles-velocity</module>
<module>tiles-el</module>
<module>tiles-mvel</module>
<module>tiles-ognl</module>
<module>tiles-compat</module>
<module>tiles-extras</module>
<module>assembly</module>
<module>tiles-test-pom</module>
</modules>
<issueManagement>
<system>JIRA</system>
<url>https://issues.apache.org/jira/browse/TILES</url>
</issueManagement>
<distributionManagement>
<site>
<id>apache-site</id>
<url>scp://people.apache.org/www/tiles.apache.org/framework</url>
</site>
</distributionManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${tiles.manifestfile}</manifestFile>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<inherited>true</inherited>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<excludeDependencies>true</excludeDependencies>
<manifestLocation>target/osgi</manifestLocation>
<instructions>
<_nouses>true</_nouses>
<Bundle-SymbolicName>${tiles.osgi.symbolicName}</Bundle-SymbolicName>
<Export-Package>${tiles.osgi.export}</Export-Package>
<Private-Package>${tiles.osgi.private}</Private-Package>
<Import-Package>${tiles.osgi.import}</Import-Package>
<DynamicImport-Package>${tiles.osgi.dynamicImport}</DynamicImport-Package>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
<Specification-Title>${project.name}</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<releaseProfiles>apache-release</releaseProfiles><!-- xxx tiles still uses "release" instead of "apache-release" -->
<goals>deploy site-deploy</goals>
</configuration>
</plugin>
</plugins>
<defaultGoal>install</defaultGoal>
</build>
<properties>
<tiles.osgi.symbolicName>org.apache.${artifactId}</tiles.osgi.symbolicName>
<tiles.osgi.export>org.apache.tiles.*;version=${pom.version}</tiles.osgi.export>
<tiles.osgi.import>*</tiles.osgi.import>
<tiles.osgi.dynamicImport />
<tiles.osgi.private />
<tiles.manifestfile>target/osgi/MANIFEST.MF</tiles.manifestfile>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies />
<reporting>
<plugins>
<plugin>
<artifactId>maven-linkcheck-plugin</artifactId>
<version>1.1</version>
<configuration>
<excludedLinks>
<excludedLink>**/index.html</excludedLink>
<excludedLink>**/logo.png</excludedLink>
<excludedLink>**/tiles-jsp/tagreference.html</excludedLink>
</excludedLinks>
</configuration>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<createChecksum>true</createChecksum>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
<version>1.0-alpha-3</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
<licenseMatchers>
<classNames>
<className>rat.analysis.license.ApacheSoftwareLicense20</className>
</classNames>
</licenseMatchers>
<includes>
<include>pom.xml</include>
<include>src/**</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>