| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>26</version> |
| </parent> |
| |
| <groupId>org.apache.jdo</groupId> |
| <artifactId>jdo-site</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Apache JDO Site</name> |
| <description>The Java Data Objects (JDO) API is a standard interface-based |
| Java model abstraction of persistence, developed as Java Specification |
| Requests (JSR 12 and 243) under the auspices of the Java Community Process. |
| This repository contains the sources for the Apache DB JDO website</description> |
| <url>https://db.apache.org/jdo</url> |
| <inceptionYear>2019</inceptionYear> |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>https://www.apache.org</url> |
| </organization> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/db-jdo-site.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/db-jdo-site.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=db-jdo-site.git</url> |
| </scm> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <asciidoctor.maven.plugin.version>2.2.1</asciidoctor.maven.plugin.version> |
| <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version> |
| <build.dir>${project.basedir}/target/site</build.dir> |
| </properties> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <version>${asciidoctor.maven.plugin.version}</version> |
| <configuration> |
| <baseDir>${project.basedir}</baseDir> |
| <!-- Attributes common to all output formats --> |
| <attributes> |
| <endpoint-url>https://db.apache.org/jdo</endpoint-url> |
| <sourcedir>${project.build.sourceDirectory}</sourcedir> |
| <project-version>${project.version}</project-version> |
| </attributes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven-resources-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>copy-resources</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${build.dir}</outputDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/resources/javadoc</directory> |
| <filtering>false</filtering> |
| </resource> |
| <resource> |
| <directory>src/main/resources/downloads</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>html</id> |
| <activation> |
| <property> |
| <name>!skip.html</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>output-html</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <sourceDirectory>src/main/asciidoc/</sourceDirectory> |
| <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory> |
| <templateDirs> |
| <templateDir>src/main/template</templateDir> |
| </templateDirs> |
| <eruby>erb</eruby> |
| <preserveDirectories>true</preserveDirectories> |
| <relativeBaseDir>true</relativeBaseDir> |
| <attributes> |
| <sourcedir>${project.build.sourceDirectory}</sourcedir> |
| <source-highlighter>coderay</source-highlighter> |
| <icons>font</icons> |
| <version>${project.version}</version> |
| </attributes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |