| <?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>43</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>slingfeature-maven-plugin</artifactId> |
| <version>1.5.7-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Sling OSGi Feature Maven Plugin</name> |
| <description> |
| Maven Plugin for OSGi Applications |
| </description> |
| <url>https://sling.apache.org/components/slingfeature-maven-plugin/</url> |
| |
| <properties> |
| <sling.java.version>8</sling.java.version> |
| <maven.version>3.6.3</maven.version> |
| <maven.scm.version>1.11.2</maven.scm.version> |
| <maven.site.path>${project.artifactId}-archives/${project.artifactId}-LATEST</maven.site.path> |
| </properties> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=sling-slingfeature-maven-plugin.git</url> |
| <tag>slingfeature-maven-plugin-1.5.2</tag> |
| </scm> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-metadata</artifactId> |
| <version>2.1.0</version> |
| <executions> |
| <execution> |
| <id>generate-metadata</id> |
| <goals> |
| <goal>generate-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>mojo-descriptor</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>generated-helpmojo</id> |
| <goals> |
| <goal>helpmojo</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <configuration> |
| <checkoutDirectory>${user.home}/maven-sites/${maven.site.path}</checkoutDirectory> |
| <tryUpdate>true</tryUpdate> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/site/markdown/**</exclude> |
| <exclude>src/test/resources/**/*.txt</exclude> |
| <exclude>src/test/resources/**/*.feature</exclude> |
| <exclude>src/test/resources/**/*.xml</exclude> |
| <exclude>src/test/resources/META-INF/services/*</exclude> |
| <exclude>src/it/**/*.json</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <debug>true</debug> |
| <projectsDirectory>src/it</projectsDirectory> |
| <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> |
| <settingsFile>src/it/settings.xml</settingsFile> |
| <pomIncludes> |
| <pomInclude>**/pom.xml</pomInclude> |
| </pomIncludes> |
| <postBuildHookScript>verify</postBuildHookScript> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <version>6.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-json_1.1_spec</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.johnzon</groupId> |
| <artifactId>johnzon-core</artifactId> |
| <version>1.2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-text</artifactId> |
| <version>1.9</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.converter</artifactId> |
| <version>1.0.18</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.cm.json</artifactId> |
| <version>1.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.util.function</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.feature</artifactId> |
| <version>1.2.24</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.feature.analyser</artifactId> |
| <version>1.3.28</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.feature.extension.apiregions</artifactId> |
| <version>1.3.2</version> |
| </dependency> |
| <!-- aux dependencies for Content-Package check --> |
| <dependency> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>org.apache.jackrabbit.vault</artifactId> |
| <version>3.2.6</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-spi-commons</artifactId> |
| <version>2.19.1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <!-- END Content-Package check --> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.feature.diff</artifactId> |
| <version>0.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${maven.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${maven.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>${maven.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-compat</artifactId> |
| <version>${maven.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>3.5.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>3.6.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- for converting Maven to OSGi versions --> |
| <dependency> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>biz.aQute.bndlib</artifactId> |
| <version>4.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-interactivity-api</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-archiver</artifactId> |
| <version>4.2.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.framework</artifactId> |
| <version>1.9.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>versions-maven-plugin</artifactId> |
| <version>2.8.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.8.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-filtering</artifactId> |
| <version>3.2.0</version> |
| </dependency> |
| <!-- schema validation --> |
| <dependency> |
| <groupId>com.github.java-json-tools</groupId> |
| <artifactId>json-schema-validator</artifactId> |
| <version>2.2.14</version> |
| </dependency> |
| <!-- APIs JARs --> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.utils</artifactId> |
| <version>1.11.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-api</artifactId> |
| <version>${maven.scm.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-manager-plexus</artifactId> |
| <version>${maven.scm.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-provider-gitexe</artifactId> |
| <version>${maven.scm.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-provider-svnexe</artifactId> |
| <version>${maven.scm.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-model-builder</artifactId> |
| <version>3.6.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-artifact-transfer</artifactId> |
| <version>0.13.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-exec</artifactId> |
| <version>1.3</version> |
| </dependency> |
| <!-- testing --> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.10.19</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.6.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| </project> |