| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| 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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling</artifactId> |
| <version>35</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>org.apache.sling.kickstart.conversion</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <name>Sling Kickstart Conversion</name> |
| <description>Complete Sling 12 Feature Model</description> |
| <packaging>slingosgifeature</packaging> |
| |
| <properties> |
| <slingfeature-maven-plugin.version>1.2.4</slingfeature-maven-plugin.version> |
| <sling-feature-converter-maven-plugin.version>1.0.4</sling-feature-converter-maven-plugin.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-feature-converter-maven-plugin</artifactId> |
| <version>${sling-feature-converter-maven-plugin.version}</version> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <id>convert-pm</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>convert-pm</goal> |
| </goals> |
| <configuration> |
| <inputFolder>${sling.starter.folder}/src/main/provisioning</inputFolder> |
| <outputFolder>target/fm</outputFolder> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>${project.artifactId}</artifactId> |
| <version>${project.version}</version> |
| <frameworkProperties> |
| launchpad:felix.systempackages.substitution=true, |
| launchpad:felix.systempackages.calculate.uses=true |
| </frameworkProperties> |
| <excludeBundles> |
| org.apache.sling.launchpad.installer, |
| org.apache.sling.jcr.repoinit.impl.RepositoryInitializer |
| </excludeBundles> |
| <runModes> |
| oak_tar, |
| :standalone |
| </runModes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>slingfeature-maven-plugin</artifactId> |
| <version>${slingfeature-maven-plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <features>target/fm</features> |
| <generatedFeatures>${basedir}/target/fm</generatedFeatures> |
| </configuration> |
| <executions> |
| <execution> |
| <id>aggregate-base-sling-feature</id> |
| <phase>package</phase> |
| <goals> |
| <goal>aggregate-features</goal> |
| </goals> |
| <configuration> |
| <aggregates> |
| <aggregate> |
| <classifier>sling12</classifier> |
| <filesInclude>**/*.json</filesInclude> |
| <title>Sling 12 Feature Model</title> |
| </aggregate> |
| </aggregates> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>Readme.md</exclude> |
| <exclude>src/main/resources/META-INF/services/**</exclude> |
| <exclude>**/*.properties</exclude> |
| <exclude>launcher/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |