| <?xml version="1.0"?> |
| <!-- |
| 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> |
| <!-- ====================================================================== --> |
| <!-- P A R E N T P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>21</version> |
| <relativePath /> |
| </parent> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>filevault-package-maven-plugin</artifactId> |
| <version>1.0.5-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache Jackrabbit FileVault - Package Maven Plugin</name> |
| <description>Maven Plugin supporting creation of content packages.</description> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.version>3.3.9</maven.version> <!-- required for https://issues.apache.org/jira/browse/MNG-5440 --> |
| <aether.version>1.0.2.v20150114</aether.version> |
| <slf4j.version>1.7.5</slf4j.version> |
| <jackrabbit.version>2.20.0</jackrabbit.version> |
| <oak.version>1.20.0</oak.version> |
| <filevault.version>3.4.1-SNAPSHOT</filevault.version> |
| </properties> |
| |
| <prerequisites> |
| <maven>${maven.version}</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/jackrabbit/commons/filevault-package-maven-plugin/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/commons/filevault-package-maven-plugin/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk</url> |
| </scm> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O J E C T I N F O --> |
| <!-- ====================================================================== --> |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Jackrabbit Developer List</name> |
| <subscribe>dev-subscribe@jackrabbit.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@jackrabbit.apache.org</unsubscribe> |
| <post>mailto:dev@jackrabbit.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/jackrabbit-dev/</archive> |
| </mailingList> |
| |
| <mailingList> |
| <name>Jackrabbit User List</name> |
| <subscribe>users-subscribe@jackrabbit.apache.org</subscribe> |
| <unsubscribe>users-unsubscribe@jackrabbit.apache.org</unsubscribe> |
| <post>mailto:users@jackrabbit.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/jackrabbit-users/</archive> |
| </mailingList> |
| </mailingLists> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/JCRVLT</url> |
| </issueManagement> |
| |
| <ciManagement> |
| <system>Travis</system> |
| <url>https://travis-ci.org/apache/jackrabbit-filevault-package-maven-plugin</url> |
| </ciManagement> |
| |
| <!-- ====================================================================== --> |
| <!-- B U I L D D E F I N I T I O N --> |
| <!-- ====================================================================== --> |
| <build> |
| <plugins> |
| <!-- ====================================================================== --> |
| <!-- C O M P I L E R P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| <debug>true</debug> |
| <showDeprecation>false</showDeprecation> |
| <showWarnings>true</showWarnings> |
| <optimize>false</optimize> |
| </configuration> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- M A V E N P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.6.0</version> |
| <executions> |
| <execution> |
| <id>default-descriptor</id> |
| <phase>process-classes</phase> |
| </execution> |
| <!-- if you want to generate help goal --> |
| <execution> |
| <id>help-goal</id> |
| <goals> |
| <goal>helpmojo</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- I N S T A L L P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <executions> |
| <execution> |
| <!-- |
| make sure this plugin in installed in the local repository before the integration tests run |
| maybe switching back to a reactor project might be better again |
| --> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>install</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- F A I L S A F E P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.22.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <systemPropertyVariables> |
| <plugin.version>${project.version}</plugin.version> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- S U R E F I R E P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.1</version> |
| <configuration> |
| <trimStackTrace>false</trimStackTrace> |
| </configuration> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- S I T E P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.7.1</version> |
| <configuration> |
| <generateReports>true</generateReports> |
| <relativizeDecorationLinks>false</relativizeDecorationLinks> |
| <skipDeploy>true</skipDeploy> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-module-markdown</artifactId> |
| <version>1.8</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.skins</groupId> |
| <artifactId>maven-fluido-skin</artifactId> |
| <version>1.7</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- S C M P U B L I S H P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>scm-publish</id> |
| <phase>site-deploy</phase> |
| <goals> |
| <goal>publish-scm</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <content>target/site</content> |
| <checkinComment>@trivial: Site checkin for project ${project.name}-${project.version} |
| </checkinComment> |
| <ignorePathsToDelete> |
| <ignorePathToDelete>apidocs</ignorePathToDelete> |
| </ignorePathsToDelete> |
| </configuration> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- R A T P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <basedir>${project.basedir}</basedir> |
| <excludesFile>${project.basedir}/.ratignore</excludesFile> |
| <consoleOutput>true</consoleOutput> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- ====================================================================== --> |
| <!-- R E P O R T I N G --> |
| <!-- ====================================================================== --> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.6.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <!-- ====================================================================== --> |
| <!-- D I S T R I B U T I O N M A N A G E M E N T --> |
| <!-- ====================================================================== --> |
| <distributionManagement> |
| <site> |
| <id>jackrabbit.filevault.site-deploy</id> |
| <url>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/site/live/filevault-package-maven-plugin-archives/${project.version}</url> |
| </site> |
| </distributionManagement> |
| |
| <!-- ====================================================================== --> |
| <!-- D E P E N D E N C I E S --> |
| <!-- ====================================================================== --> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>org.apache.jackrabbit.vault</artifactId> |
| <version>${filevault.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>vault-validation</artifactId> |
| <version>${filevault.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <version>2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-jcr-commons</artifactId> |
| <version>${jackrabbit.version}</version> |
| </dependency> |
| <!-- only a transitive dependency but must be declared due to https://issues.apache.org/jira/browse/JCRVLT-394 --> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-jackrabbit-api</artifactId> |
| <version>${oak.version}</version> |
| </dependency> |
| <!-- Maven Plugin stuff --> |
| <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.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>3.6.0</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-model</artifactId> |
| <version>${maven.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>3.5.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-archiver</artifactId> |
| <version>4.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.9</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains</groupId> |
| <artifactId>annotations</artifactId> |
| <version>18.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <!-- bundle tools --> |
| <dependency> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>biz.aQute.bndlib</artifactId> |
| <version>3.3.0</version> |
| </dependency> |
| |
| <!-- used in the CheckSignature mojo --> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-maven-plugin</artifactId> |
| <version>1.16</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer</artifactId> |
| <version>1.16</version> |
| </dependency> |
| |
| <!-- class analyzer --> |
| <dependency> |
| <groupId>io.github.lukehutch</groupId> |
| <artifactId>fast-classpath-scanner</artifactId> |
| <version>2.0.21</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-common-artifact-filters</artifactId> |
| <version>1.4</version> |
| </dependency> |
| |
| <!-- incremental build support (http://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html) --> |
| <dependency> |
| <groupId>org.sonatype.plexus</groupId> |
| <artifactId>plexus-build-api</artifactId> |
| <version>0.0.7</version> |
| </dependency> |
| |
| <!-- for Maven filtering --> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-filtering</artifactId> |
| <version>3.1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-utils</artifactId> |
| <version>3.2.1</version> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <version>2.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>2.28.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-testing</groupId> |
| <artifactId>maven-plugin-testing-harness</artifactId> |
| <version>3.3.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.json</artifactId> |
| <version>2.0.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.aether</groupId> |
| <artifactId>aether-api</artifactId> |
| <version>${aether.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-aether-provider</artifactId> |
| <version>${maven.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-verifier</artifactId> |
| <version>1.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-io</artifactId> |
| <version>3.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O F I L E S --> |
| <!-- ====================================================================== --> |
| <profiles> |
| <profile> |
| <id>apache-release</id> |
| <properties> |
| <username>${user.name}</username> |
| <keyfile>${user.home}/.ssh/id_rsa</keyfile> |
| <passphrase /> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-release-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| <configuration> |
| <keyname>${gpg.keyname}</keyname> |
| <passphraseServerId>${gpg.keyname}</passphraseServerId> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <phase>deploy</phase> |
| <configuration> |
| <tasks> |
| <mkdir dir="${basedir}/target/${project.version}" /> |
| <copy todir="${basedir}/target/${project.version}" flatten="true"> |
| <fileset dir="${basedir}"> |
| <include name="RELEASE-NOTES.md" /> |
| <include name="target/*-source-release.zip*" /> |
| </fileset> |
| </copy> |
| <checksum algorithm="MD5" fileext=".md5"> |
| <fileset dir="${basedir}/target/${project.version}"> |
| <include name="*.zip" /> |
| </fileset> |
| </checksum> |
| <checksum algorithm="SHA-512" fileext=".sha512"> |
| <fileset dir="${basedir}/target/${project.version}"> |
| <include name="*.zip" /> |
| </fileset> |
| </checksum> |
| <checksum algorithm="SHA" fileext=".sha1"> |
| <fileset dir="${basedir}/target/${project.version}"> |
| <include name="*.zip" /> |
| </fileset> |
| </checksum> |
| <checksum file="${basedir}/target/${project.version}/filevault-package-maven-plugin-${project.version}-source-release.zip" algorithm="SHA1" property="checksum" /> |
| <echo file="${basedir}/target/vote.txt"> |
| From: ${username}@apache.org |
| To: dev@jackrabbit.apache.org |
| Subject: [VOTE] Release Apache Jackrabbit Filevault Package Maven Plugin ${project.version} |
| |
| Hello, |
| |
| A candidate for the Jackrabbit Filevault Package Maven Plugin ${project.version} release is available at: |
| https://dist.apache.org/repos/dist/dev/jackrabbit/filevault-package-maven-plugin/${project.version}/ |
| |
| The release candidate is a zip archive of the sources in: |
| https://svn.apache.org/repos/asf/jackrabbit/commons/filevault-package-maven-plugin/tags/filevault-package-maven-plugin-${project.version}/ |
| |
| The SHA1 checksum of the archive is |
| ${checksum} |
| |
| The command for running automated checks against this release candidate is: |
| $ sh check-release.sh filevault-plugin ${project.version} ${checksum} |
| |
| A staged Maven repository is available for review at: |
| https://repository.apache.org/ |
| |
| Please vote on releasing this package as Apache Jackrabbit Filevault Package Maven Plugin ${project.version}. |
| The vote is open for a minimum of 72 hours during business days and passes |
| if a majority of at least three +1 Jackrabbit PMC votes are cast. |
| The vote fails if not enough votes are cast after 1 week (5 business days). |
| |
| [ ] +1 Release this package as Apache Jackrabbit Filevault Package Maven Plugin ${project.version} |
| [ ] -1 Do not release this package because...${line.separator} |
| </echo> |
| |
| <echo> |
| The release candidate has been prepared in: |
| |
| ${basedir}/target/${project.version} |
| |
| Please deploy it to |
| https://dist.apache.org/repos/dist/dev/jackrabbit/filevault-package-maven-plugin: |
| |
| cd /path/to/jackrabbit-dev/filevault-package-maven-plugin |
| mv ${basedir}/target/${project.version} ${project.version} |
| svn add ${project.version} |
| svn commit -m 'Apache Jackrabbit Filevault Package Maven Plugin |
| ${project.version} release candidate' ${project.version} |
| |
| A release vote template has been generated for you: |
| |
| file://${basedir}/target/vote.txt |
| </echo> |
| <echo /> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-nodeps</artifactId> |
| <version>1.8.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |