| <?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.feature.model.starter</artifactId> |
| <packaging>slingosgifeature</packaging> |
| <version>12-SNAPSHOT</version> |
| |
| <name>Apache Sling Feature Module Starter Application</name> |
| <description> |
| The Sling Starter application built from Feature Models |
| </description> |
| |
| <!-- <scm>--> |
| <!-- <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git</connection>--> |
| <!-- <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git</developerConnection>--> |
| <!-- <url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-starter.git</url>--> |
| <!-- <tag>HEAD</tag>--> |
| <!-- </scm>--> |
| |
| <properties> |
| <sling.java.version>8</sling.java.version> |
| <IT.expected.bundles.count>126</IT.expected.bundles.count> |
| <slingfeature-maven-plugin.version>1.1.10</slingfeature-maven-plugin.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>ianal-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>verify-legal-files</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}</directory> |
| <includes> |
| <include>derby.log</include> |
| <include>cachedir/**</include> |
| <include>sling/**</include> |
| <include>jackrabbit/**</include> |
| <include>coverage.ec</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>slingfeature-maven-plugin</artifactId> |
| <version>${slingfeature-maven-plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <features>src/main/fm</features> |
| </configuration> |
| <executions> |
| <execution> |
| <id>aggregate-base-feature</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>aggregate-features</goal> |
| </goals> |
| <configuration> |
| <aggregates> |
| <aggregate> |
| <classifier>sling12</classifier> |
| <filesInclude>**/*.json</filesInclude> |
| <includeArtifact> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.jcr.packageinit</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <!-- <classifier>jcr-packageinit</classifier>--> |
| <type>pom</type> |
| </includeArtifact> |
| </aggregate> |
| </aggregates> |
| </configuration> |
| </execution> |
| <execution> |
| <id>attach-base-feature</id> |
| <phase>process-test-sources</phase> |
| <goals> |
| <goal>attach-features</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- <plugin>--> |
| <!-- <groupId>org.apache.sling</groupId>--> |
| <!-- <artifactId>slingstart-maven-plugin</artifactId>--> |
| <!-- <extensions>true</extensions>--> |
| <!-- <executions>--> |
| <!-- <execution>--> |
| <!-- <id>start-container</id>--> |
| <!-- <goals>--> |
| <!-- <goal>start</goal>--> |
| <!-- <goal>stop</goal>--> |
| <!-- </goals>--> |
| <!-- </execution>--> |
| <!-- </executions> --> |
| <!-- <configuration>--> |
| <!-- <createWebapp>true</createWebapp>--> |
| <!-- <servers>--> |
| <!-- <server>--> |
| <!-- <port>${http.port}</port>--> |
| <!-- <controlPort>${sling.control.port}</controlPort>--> |
| <!-- </server>--> |
| <!-- </servers> --> |
| <!-- </configuration>--> |
| <!-- </plugin>--> |
| |
| <!-- <plugin>--> |
| <!-- <groupId>org.codehaus.mojo</groupId>--> |
| <!-- <artifactId>build-helper-maven-plugin</artifactId>--> |
| <!-- <executions>--> |
| <!-- <execution>--> |
| <!-- <id>reserve-network-port</id>--> |
| <!-- <goals>--> |
| <!-- <!– pre-integration-test is too late –>--> |
| <!-- <goal>reserve-network-port</goal>--> |
| <!-- </goals>--> |
| <!-- <phase>process-resources</phase>--> |
| <!-- <configuration>--> |
| <!-- <portNames>--> |
| <!-- <portName>http.port</portName>--> |
| <!-- <portName>sling.control.port</portName>--> |
| <!-- </portNames>--> |
| <!-- </configuration>--> |
| <!-- </execution>--> |
| <!-- </executions>--> |
| <!-- </plugin>--> |
| |
| <!-- <plugin>--> |
| <!-- <artifactId>maven-failsafe-plugin</artifactId>--> |
| <!-- <executions>--> |
| <!-- <execution>--> |
| <!-- <goals>--> |
| <!-- <goal>integration-test</goal>--> |
| <!-- <goal>verify</goal>--> |
| <!-- </goals>--> |
| <!-- </execution>--> |
| <!-- </executions>--> |
| <!-- <configuration>--> |
| <!-- <systemPropertyVariables>--> |
| <!-- <launchpad.http.port>${http.port}</launchpad.http.port>--> |
| <!-- <IT.expected.bundles.count>${IT.expected.bundles.count}</IT.expected.bundles.count>--> |
| <!-- </systemPropertyVariables>--> |
| <!-- </configuration>--> |
| <!-- </plugin> --> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <!-- Extend RAT configuration from parent pom --> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <!-- Exclude sling instance --> |
| <exclude>sling/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.5.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.utils</artifactId> |
| <version>1.11.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>launch</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>slingfeature-maven-plugin</artifactId> |
| <version>1.0.7-SNAPSHOT</version> |
| <extensions>true</extensions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.feature.launcher</artifactId> |
| <version>1.0.7-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.feature.extension.content</artifactId> |
| <version>1.0.5-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>launch-it</id> |
| <phase>install</phase> |
| <goals> |
| <goal>launch-features</goal> |
| </goals> |
| <configuration> |
| <selection> |
| <includeClassifier>sling12</includeClassifier> |
| </selection> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |
| |