| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2009-2010 the original author or authors. |
| See the notice.md file distributed with this work for additional |
| information regarding copyright ownership. |
| Licensed 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> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>karaf</artifactId> |
| <version>4.3.0.RC1</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>site</artifactId> |
| <name>Apache Karaf :: Site</name> |
| <packaging>war</packaging> |
| |
| <properties> |
| <jetty-port>8080</jetty-port> |
| <maven.wagon.version>1.0-beta-6</maven.wagon.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>9.4.12.v20180830</version> |
| <configuration> |
| <!-- When editing the conf files, you can comment this line to run |
| mvn jetty:run |
| to have a live web site |
| --> |
| <webAppSourceDirectory>_site</webAppSourceDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>3.2.3</version> |
| <configuration> |
| <webResources> |
| <resource> |
| <directory>_site</directory> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <checkinComment>[scm-publish] Updating main website contents</checkinComment> |
| <pubScmUrl>scm:svn:https://svn.apache.org/repos/asf/karaf/site/production</pubScmUrl> |
| <content>_site</content> |
| <ignorePathsToDelete> |
| <ignorePathToDelete>docs/**</ignorePathToDelete> |
| </ignorePathsToDelete> |
| <tryUpdate>true</tryUpdate> |
| <skipDeletedFiles>true</skipDeletedFiles> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/*.page</exclude> |
| <exclude>**/*.html</exclude> |
| <exclude>**/*.css</exclude> |
| <exclude>**/*.rb</exclude> |
| <exclude>**/*slick*</exclude> |
| <exclude>**/target/**/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |