| <?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"> |
| <parent> |
| <artifactId>geronimo-microprofile</artifactId> |
| <groupId>org.apache.geronimo</groupId> |
| <version>1.0.3-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>geronimo-microprofile-site</artifactId> |
| <name>Geronimo Microprofile :: Site Generator</name> |
| |
| <properties> |
| <geronimo-microprofile.Automatic-Module-Name>${project.groupId}.microprofile.site</geronimo-microprofile.Automatic-Module-Name> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-json_1.0_spec</artifactId> |
| <version>1.0-alpha-1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.johnzon</groupId> |
| <artifactId>johnzon-jsonb</artifactId> |
| <version>1.1.11</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-client</artifactId> |
| <version>3.2.7</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-text</artifactId> |
| <version>1.4</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jbake</groupId> |
| <artifactId>jbake-maven-plugin</artifactId> |
| <version>0.3.1</version> |
| <executions> |
| <execution> |
| <id>generate-site</id> |
| <phase>pre-site</phase> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj</artifactId> |
| <version>1.5.4.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| <version>2.3.28</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> <!-- mvn clean package pre-site scm-publish:publish-scm --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <version>1.0-beta-2</version> |
| <configuration> |
| <content>${project.build.directory}/${project.build.finalName}</content> |
| <pubScmUrl>scm:svn:https://svn.apache.org/repos/infra/websites/production/geronimo/content/microprofile</pubScmUrl> |
| <tryUpdate>true</tryUpdate> |
| <checkoutDirectory>${project.parent.basedir}/.site-content</checkoutDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <id>scm-publish</id> |
| <phase>site-deploy</phase> |
| <!-- deploy site with maven-scm-publish-plugin --> |
| <goals> |
| <goal>publish-scm</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <distributionManagement> |
| <repository> |
| <id>localhost</id> |
| <url>file://${project.basedir}/target/deploy/</url> |
| </repository> |
| <snapshotRepository> |
| <id>localhost</id> |
| <url>file://${project.basedir}/target/deploy/</url> |
| </snapshotRepository> |
| </distributionManagement> |
| </project> |