| <?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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.sling.ide</groupId> |
| <artifactId>sling-ide-tooling</artifactId> |
| <version>1.1.1-SNAPSHOT</version> |
| </parent> |
| <artifactId>org.apache.sling.ide.p2update</artifactId> |
| <packaging>eclipse-repository</packaging> |
| <name>Apache Sling IDE Tools Update Site</name> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-ide-tooling.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-ide-tooling.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=sling-ide-tooling.git</url> |
| </scm> |
| |
| <build> |
| <!-- ensure that extra files are picked up by the maven-source-plugin --> |
| <resources> |
| <resource> |
| <directory>.</directory> |
| <includes> |
| <include>category.xml</include> |
| <include>siteTemplate/*</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.jboss.tools.tycho-plugins</groupId> |
| <artifactId>repository-utils</artifactId> |
| <version>0.22.0</version> |
| <executions> |
| <execution> |
| <id>generate-facade</id> |
| <phase>package</phase> |
| <goals> |
| <goal>generate-repository-facade</goal> |
| </goals> |
| <configuration> |
| <siteTemplateFolder>siteTemplate</siteTemplateFolder> |
| <symbols> |
| <update.site.name>${project.name}</update.site.name> |
| <target.eclipse.version>Kepler or newer</target.eclipse.version> |
| </symbols> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- the update site is not expected to contain legal artifacts --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>ianal-maven-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>codesign</id> |
| <build> |
| <plugins> |
| <!-- |
| This plugin is not yet released. To use this code signing, install the |
| pluging locally and then run with the 'codesign' profile. See the Sling IDE |
| tooling docs for more instructions |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>codesign-maven-plugin</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <id>codesign</id> |
| <phase>package</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <applicationName>Apache Sling IDE Tooling for Eclipse</applicationName> |
| <applicationVersion>${qualifiedVersion}</applicationVersion> |
| <includeProjectArtifact>false</includeProjectArtifact> |
| <artifactSets> |
| <artifactSet> |
| <directory>target/repository/features</directory> |
| <include>org.apache.sling.*.jar</include> |
| </artifactSet> |
| <artifactSet> |
| <directory>target/repository/plugins</directory> |
| <include>org.apache.sling.*.jar</include> |
| </artifactSet> |
| </artifactSets> |
| <signingService>Java TEST Signing Sha256</signingService> |
| </configuration> |
| </plugin> |
| --> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-p2-extras-plugin</artifactId> |
| <version>${tycho.version}</version> |
| <configuration> |
| <source> |
| <repository> |
| <url>${project.build.directory}/repository</url> |
| </repository> |
| </source> |
| <destination>${project.build.directory}/repository-signed</destination> |
| </configuration> |
| <executions> |
| <execution> |
| <id>create-signed-repository</id> |
| <phase>package</phase> |
| <goals> |
| <goal>mirror</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-index.html-to-signed-repository</id> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <outputDirectory>${project.build.directory}/repository-signed</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${project.build.directory}/repository</directory> |
| <include>index.html</include> |
| </resource> |
| </resources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |