|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<!-- |
| 4 | +Licensed to the Apache Software Foundation (ASF) under one |
| 5 | +or more contributor license agreements. See the NOTICE file |
| 6 | +distributed with this work for additional information |
| 7 | +regarding copyright ownership. The ASF licenses this file |
| 8 | +to you under the Apache License, Version 2.0 (the |
| 9 | +"License"); you may not use this file except in compliance |
| 10 | +with the License. You may obtain a copy of the License at |
| 11 | +
|
| 12 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | +
|
| 14 | +Unless required by applicable law or agreed to in writing, |
| 15 | +software distributed under the License is distributed on an |
| 16 | +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 | +KIND, either express or implied. See the License for the |
| 18 | +specific language governing permissions and limitations |
| 19 | +under the License. |
| 20 | +--> |
| 21 | + |
| 22 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | + <modelVersion>4.0.0</modelVersion> |
| 25 | + |
| 26 | + <groupId>org.apache.maven.plugins.site.its</groupId> |
| 27 | + <artifactId>editable-pages-alt-source</artifactId> |
| 28 | + <version>1.0-SNAPSHOT</version> |
| 29 | + <packaging>jar</packaging> |
| 30 | + <name>Edit Link Alternative Source IT</name> |
| 31 | + |
| 32 | + <properties> |
| 33 | + <property-project-version>@project.version@</property-project-version> |
| 34 | + <fluidoSkinVersion>@fluidoSkinVersion@</fluidoSkinVersion> |
| 35 | + <project.build.outputTimestamp>@project.build.outputTimestamp@</project.build.outputTimestamp> |
| 36 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 37 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 38 | + <myProperty>myValue</myProperty> |
| 39 | + </properties> |
| 40 | + |
| 41 | + <build> |
| 42 | + <pluginManagement> |
| 43 | + <plugins> |
| 44 | + <plugin> |
| 45 | + <groupId>org.apache.maven.plugins</groupId> |
| 46 | + <artifactId>maven-site-plugin</artifactId> |
| 47 | + <version>@project.version@</version> |
| 48 | + <configuration> |
| 49 | + <generateReports>true</generateReports> |
| 50 | + <relativizeDecorationLinks>false</relativizeDecorationLinks> |
| 51 | + <siteDirectory>${project.build.directory}/site-src</siteDirectory> |
| 52 | + <alternativeSiteSourceDirectories>${basedir}/src/site</alternativeSiteSourceDirectories> |
| 53 | + </configuration> |
| 54 | + </plugin> |
| 55 | + </plugins> |
| 56 | + </pluginManagement> |
| 57 | + <plugins> |
| 58 | + <plugin> |
| 59 | + <!-- prepare site content by filtering ${project.*} values --> |
| 60 | + <groupId>org.apache.maven.plugins</groupId> |
| 61 | + <artifactId>maven-resources-plugin</artifactId> |
| 62 | + <executions> |
| 63 | + <execution> |
| 64 | + <id>filter-site</id> |
| 65 | + <phase>pre-site</phase> |
| 66 | + <goals> |
| 67 | + <goal>copy-resources</goal> |
| 68 | + </goals> |
| 69 | + <configuration> |
| 70 | + <outputDirectory>${project.build.directory}/site-src</outputDirectory> |
| 71 | + <resources> |
| 72 | + <resource> |
| 73 | + <directory>src/site</directory> |
| 74 | + <filtering>true</filtering> |
| 75 | + </resource> |
| 76 | + </resources> |
| 77 | + </configuration> |
| 78 | + </execution> |
| 79 | + <execution> |
| 80 | + <id>default-testResources</id> |
| 81 | + <configuration> |
| 82 | + <!-- copy .gitignore as well --> |
| 83 | + <addDefaultExcludes>false</addDefaultExcludes> |
| 84 | + </configuration> |
| 85 | + </execution> |
| 86 | + </executions> |
| 87 | + </plugin> |
| 88 | + </plugins> |
| 89 | + </build> |
| 90 | + |
| 91 | +</project> |
0 commit comments