You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2019/10/20 13:52:49 UTC

[plc4x] 14/25: - Removed the XSL again as it seems that it should also work without.

This is an automated email from the ASF dual-hosted git repository.

jfeinauer pushed a commit to branch feature/resolve-split-package-osgi
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 6d4b4672ae465a054554d33a83fc022693138ada
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Oct 14 09:37:44 2019 +0200

    - Removed the XSL again as it seems that it should also work without.
---
 .../apache-karaf/karaf-s7-feature/pom.xml          | 29 -------------
 .../karaf-s7-feature/src/main/feature/feature.xslt | 47 ----------------------
 2 files changed, 76 deletions(-)

diff --git a/plc4j/integrations/apache-karaf/karaf-s7-feature/pom.xml b/plc4j/integrations/apache-karaf/karaf-s7-feature/pom.xml
index 059298b..f614f0a 100644
--- a/plc4j/integrations/apache-karaf/karaf-s7-feature/pom.xml
+++ b/plc4j/integrations/apache-karaf/karaf-s7-feature/pom.xml
@@ -47,35 +47,6 @@
         <artifactId>karaf-maven-plugin</artifactId>
       </plugin>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>xml-maven-plugin</artifactId>
-        <version>1.0.2</version>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>transform</goal>
-            </goals>
-            <configuration>
-              <transformationSets>
-                <transformationSet>
-                  <dir>${build.directory}/feature</dir>
-                  <outputDir>${build.directory}/feature</outputDir>
-                  <stylesheet>src/main/feature/feature.xslt</stylesheet>
-                </transformationSet>
-              </transformationSets>
-            </configuration>
-          </execution>
-        </executions>
-        <dependencies>
-          <dependency>
-            <groupId>net.sf.saxon</groupId>
-            <artifactId>saxon</artifactId>
-            <version>8.7</version>
-          </dependency>
-        </dependencies>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <configuration>
diff --git a/plc4j/integrations/apache-karaf/karaf-s7-feature/src/main/feature/feature.xslt b/plc4j/integrations/apache-karaf/karaf-s7-feature/src/main/feature/feature.xslt
deleted file mode 100644
index 1c4b621..0000000
--- a/plc4j/integrations/apache-karaf/karaf-s7-feature/src/main/feature/feature.xslt
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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.
-  -->
-<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
-                xpath-default-namespace="http://karaf.apache.org/xmlns/features/v1.6.0">
-
-    <xsl:output indent="yes"/>
-
-    <xsl:template match="/features">
-        <features>
-            <xsl:copy-of select="@*"/>
-            <xsl:apply-templates/>
-        </features>
-    </xsl:template>
-
-    <xsl:template match="feature">
-        <feature>
-            <xsl:copy-of select="@*"/>
-            <xsl:copy-of select="details"/>
-            <xsl:copy-of select="feature"/>
-            <feature>scr</feature>
-            <xsl:copy-of select="bundle"/>
-        </feature>
-    </xsl:template>
-
-    <xsl:template match="*">
-        <xsl:copy-of select="."/>
-    </xsl:template>
-
-</xsl:stylesheet>