You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/10/19 17:53:25 UTC
[jackrabbit-filevault-package-maven-plugin] branch master updated: use Maven properties for referencing Maven coordinates in site
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault-package-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 99074cc use Maven properties for referencing Maven coordinates in site
99074cc is described below
commit 99074ccfe58d2f3c2ed173849df191d7259555f9
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Oct 19 19:53:18 2022 +0200
use Maven properties for referencing Maven coordinates in site
---
src/site/markdown/{classifiers.md => classifiers.md.vm} | 5 +++--
src/site/markdown/{filtering.md => filtering.md.vm} | 5 +++--
src/site/markdown/{import_package.md => import_package.md.vm} | 6 +++---
src/site/markdown/{index.md => index.md.vm} | 6 +++---
src/site/markdown/{migrating.md => migrating.md.vm} | 8 ++++----
src/site/markdown/{validators.md => validators.md.vm} | 5 +++--
src/site/site.xml | 2 +-
7 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/src/site/markdown/classifiers.md b/src/site/markdown/classifiers.md.vm
similarity index 96%
rename from src/site/markdown/classifiers.md
rename to src/site/markdown/classifiers.md.vm
index 18bcca9..0f0efda 100644
--- a/src/site/markdown/classifiers.md
+++ b/src/site/markdown/classifiers.md.vm
@@ -38,8 +38,9 @@ An example configuration for generating two packages out of the same pom.xml mig
```
<plugin>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>filevault-package-maven-plugin</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
<executions>
<execution>
<!-- default execution id for primary artifact: https://maven.apache.org/guides/mini/guide-default-execution-ids.html#default-executionids-for-implied-executions -->
diff --git a/src/site/markdown/filtering.md b/src/site/markdown/filtering.md.vm
similarity index 94%
rename from src/site/markdown/filtering.md
rename to src/site/markdown/filtering.md.vm
index f1ffcf9..78dea9b 100644
--- a/src/site/markdown/filtering.md
+++ b/src/site/markdown/filtering.md.vm
@@ -36,8 +36,9 @@ An example configuration which enables filtering on all `.content.xml` files in
```
<plugin>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>filevault-package-maven-plugin</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
<executions>
<execution>
<!-- default execution id for primary artifact: https://maven.apache.org/guides/mini/guide-default-execution-ids.html#default-executionids-for-implied-executions -->
diff --git a/src/site/markdown/import_package.md b/src/site/markdown/import_package.md.vm
similarity index 96%
rename from src/site/markdown/import_package.md
rename to src/site/markdown/import_package.md.vm
index f02c18a..220bc8c 100644
--- a/src/site/markdown/import_package.md
+++ b/src/site/markdown/import_package.md.vm
@@ -77,9 +77,9 @@ _Note: The excludes are present in the default value of the `<importPackage>` pr
<sourceDirectory>src/content/jcr_root</sourceDirectory>
<plugins>
<plugin>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>filevault-package-maven-plugin</artifactId>
- <version>1.0.0</version>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
<extensions>true</extensions>
<configuration>
<filterSource>${basedir}/src/content/META-INF/vault/filter.xml</filterSource>
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md.vm
similarity index 96%
rename from src/site/markdown/index.md
rename to src/site/markdown/index.md.vm
index bf2ac04..84149eb 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md.vm
@@ -33,9 +33,9 @@ As this Maven plugin comes with [Maven extensions](https://maven.apache.org/guid
```
<plugin>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>filevault-package-maven-plugin</artifactId>
- <version>1.3.0</version>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
<extensions>true</extensions>
</plugin>
```
diff --git a/src/site/markdown/migrating.md b/src/site/markdown/migrating.md.vm
similarity index 93%
rename from src/site/markdown/migrating.md
rename to src/site/markdown/migrating.md.vm
index 452d8b1..5cb89be 100644
--- a/src/site/markdown/migrating.md
+++ b/src/site/markdown/migrating.md.vm
@@ -39,9 +39,9 @@ An example plugin section could look like this:
```
<!-- this plugin creates the content package artifact -->
<plugin>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>filevault-package-maven-plugin</artifactId>
- <version>1.0.0</version>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
<extensions>true</extensions>
<configuration>
<filterSource>${basedir}/META-INF/vault/filter.xml</filterSource>
@@ -52,7 +52,7 @@ An example plugin section could look like this:
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
- <version>1.0.2</version>
+ <version>1.0.4</version>
</plugin>
```
diff --git a/src/site/markdown/validators.md b/src/site/markdown/validators.md.vm
similarity index 96%
rename from src/site/markdown/validators.md
rename to src/site/markdown/validators.md.vm
index 00df8b4..a1d127d 100644
--- a/src/site/markdown/validators.md
+++ b/src/site/markdown/validators.md.vm
@@ -91,8 +91,9 @@ To reference an external validator it just needs to be given as [plugin dependen
```
<plugin>
- <groupId>org.apache.jackrabbit</groupId>
- <artifactId>filevault-package-maven-plugin</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
<dependencies>
<!-- some validator extension -->
<dependency>
diff --git a/src/site/site.xml b/src/site/site.xml
index c34703b..68b5a30 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -18,7 +18,7 @@
-->
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"
name="Jackrabbit FileVault Package Maven Plugin">
<body>
<breadcrumbs>