You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2019/03/15 08:13:00 UTC

[sling-parent] branch master updated: Revert "SLING-8317 use latest sling-maven-plugin"

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/sling-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 82e05ab  Revert "SLING-8317 use latest sling-maven-plugin"
82e05ab is described below

commit 82e05ab6942acb923d542bf8902bd594f581a86e
Author: Konrad Windszus <ko...@netcentric.biz>
AuthorDate: Fri Mar 15 09:12:12 2019 +0100

    Revert "SLING-8317 use latest sling-maven-plugin"
    
    This reverts commit 553c10ca5d8967243e08e8b20fa675a6120f3f53.
---
 sling-bundle-parent/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/sling-bundle-parent/pom.xml b/sling-bundle-parent/pom.xml
index 4f65ba0..420a56f 100644
--- a/sling-bundle-parent/pom.xml
+++ b/sling-bundle-parent/pom.xml
@@ -40,6 +40,7 @@
     <build>
         <pluginManagement>
             <plugins>
+
                 <plugin>
                     <groupId>org.apache.sling</groupId>
                     <artifactId>sling-maven-plugin</artifactId>
@@ -152,6 +153,22 @@ Bundle-Category: sling
                         </configuration>
                     </execution>
                     <execution>
+                        <id>ban-maven-sling-plugin</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <bannedPlugins>
+                                    <excludes>
+                                        <exclude>org.apache.sling:maven-sling-plugin</exclude>
+                                    </excludes>
+                                    <message>Please change all occurences of maven-sling-plugin to sling-maven-plugin (plugin was renamed).</message>
+                                  </bannedPlugins>
+                            </rules>
+                        </configuration>
+                    </execution>
+                    <execution>
                         <id>enforce-java</id>
                         <goals>
                             <goal>enforce</goal>