incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1138907 - in /sling/trunk/bundles/extensions: framework-extension-transaction/ framework-extension-xml/
Date Thu, 23 Jun 2011 14:45:05 GMT
Author: fmeschbe
Date: Thu Jun 23 14:45:05 2011
New Revision: 1138907

URL: http://svn.apache.org/viewvc?rev=1138907&view=rev
Log:
SLING-2109 Provide System Bundle Extension Fragments for XML and JTA APIs

Added:
    sling/trunk/bundles/extensions/framework-extension-transaction/   (with props)
    sling/trunk/bundles/extensions/framework-extension-transaction/README.txt   (with props)
    sling/trunk/bundles/extensions/framework-extension-transaction/pom.xml   (with props)
    sling/trunk/bundles/extensions/framework-extension-xml/   (with props)
    sling/trunk/bundles/extensions/framework-extension-xml/README.txt   (with props)
    sling/trunk/bundles/extensions/framework-extension-xml/pom.xml   (with props)

Propchange: sling/trunk/bundles/extensions/framework-extension-transaction/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Jun 23 14:45:05 2011
@@ -0,0 +1,4 @@
+.settings
+.project
+.classpath
+target

Added: sling/trunk/bundles/extensions/framework-extension-transaction/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/framework-extension-transaction/README.txt?rev=1138907&view=auto
==============================================================================
--- sling/trunk/bundles/extensions/framework-extension-transaction/README.txt (added)
+++ sling/trunk/bundles/extensions/framework-extension-transaction/README.txt Thu Jun 23 14:45:05
2011
@@ -0,0 +1,27 @@
+Apache Sling System Bundle Extension: Java Transaction API
+
+Adds the javax.transaction and javax.transaction.xa packages to the system
+bundle exports.
+
+Getting Started
+===============
+
+This component uses a Maven 2 (http://maven.apache.org/) build
+environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
+2.2.1 or later. We recommend to use the latest Maven version.
+
+If you have Maven 2 installed, you can compile and
+package the jar using the following command:
+
+    mvn package
+
+See the Maven 2 documentation for other build features.
+
+The latest source code for this component is available in the
+Subversion (http://subversion.tigris.org/) source repository of
+the Apache Software Foundation. If you have Subversion installed,
+you can checkout the latest source using the following command:
+
+    svn checkout https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/framework-extension-transaction
+
+See the Subversion documentation for other source control features.

Propchange: sling/trunk/bundles/extensions/framework-extension-transaction/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: sling/trunk/bundles/extensions/framework-extension-transaction/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/framework-extension-transaction/pom.xml?rev=1138907&view=auto
==============================================================================
--- sling/trunk/bundles/extensions/framework-extension-transaction/pom.xml (added)
+++ sling/trunk/bundles/extensions/framework-extension-transaction/pom.xml Thu Jun 23 14:45:05
2011
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>10</version>
+        <relativePath>../../parent/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>org.apache.sling.fragment.transaction</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+
+    <name>Apache Sling System Bundle Extension: Java Transaction API</name>
+    <description>
+        Adds the javax.transaction and javax.transaction.xa
+        packages to the system bundle exports.
+    </description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <instructions>
+                        <Fragment-Host>
+                            system.bundle;extension:=framework
+                        </Fragment-Host>
+                    </instructions>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <forceCreation>true</forceCreation>
+                    <archive>
+                        <manifestFile>
+                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
+                        </manifestFile>
+                        <manifestEntries>
+                            <Export-Package>
+                                javax.transaction,
+                                javax.transaction.xa
+                            </Export-Package>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: sling/trunk/bundles/extensions/framework-extension-transaction/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/trunk/bundles/extensions/framework-extension-xml/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Jun 23 14:45:05 2011
@@ -0,0 +1,4 @@
+.settings
+.project
+.classpath
+target

Added: sling/trunk/bundles/extensions/framework-extension-xml/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/framework-extension-xml/README.txt?rev=1138907&view=auto
==============================================================================
--- sling/trunk/bundles/extensions/framework-extension-xml/README.txt (added)
+++ sling/trunk/bundles/extensions/framework-extension-xml/README.txt Thu Jun 23 14:45:05
2011
@@ -0,0 +1,29 @@
+Apache Sling System Bundle Extension: XML APIs
+
+Adds the XML API packages to the system bundle exports. The list of packages
+is derived from the packages available in the Java 5 platform. To use more
+recent XML APIs either modify this bundle to also export those package from
+the platform or install respective API bundles.
+
+Getting Started
+===============
+
+This component uses a Maven 2 (http://maven.apache.org/) build
+environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
+2.2.1 or later. We recommend to use the latest Maven version.
+
+If you have Maven 2 installed, you can compile and
+package the jar using the following command:
+
+    mvn package
+
+See the Maven 2 documentation for other build features.
+
+The latest source code for this component is available in the
+Subversion (http://subversion.tigris.org/) source repository of
+the Apache Software Foundation. If you have Subversion installed,
+you can checkout the latest source using the following command:
+
+    svn checkout https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/framework-extension-xml
+
+See the Subversion documentation for other source control features.

Propchange: sling/trunk/bundles/extensions/framework-extension-xml/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: sling/trunk/bundles/extensions/framework-extension-xml/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/framework-extension-xml/pom.xml?rev=1138907&view=auto
==============================================================================
--- sling/trunk/bundles/extensions/framework-extension-xml/pom.xml (added)
+++ sling/trunk/bundles/extensions/framework-extension-xml/pom.xml Thu Jun 23 14:45:05 2011
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>10</version>
+        <relativePath>../../parent/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>org.apache.sling.fragment.xml</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+
+    <name>Apache Sling System Bundle Extension: XML APIs</name>
+    <description>
+        Adds the XML API packages to the system bundle exports.
+        The list of packages is derived from the packages available
+        in the Java 5 platform. To use more recent XML APIs either
+        modify this bundle to also export those package from the
+        platform or install respective API bundles.
+    </description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <instructions>
+                        <Fragment-Host>
+                            system.bundle;extension:=framework
+                        </Fragment-Host>
+                    </instructions>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <forceCreation>true</forceCreation>
+                    <archive>
+                        <manifestFile>
+                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
+                        </manifestFile>
+                        <manifestEntries>
+                            <Export-Package>
+                                javax.xml,
+                                javax.xml.datatype,
+                                javax.xml.namespace,
+                                javax.xml.parsers,
+                                javax.xml.transform,
+                                javax.xml.transform.dom,
+                                javax.xml.transform.sax,
+                                javax.xml.transform.stream,
+                                javax.xml.validation,
+                                javax.xml.xpath,
+                                org.w3c.dom,
+                                org.w3c.dom.bootstrap,
+                                org.w3c.dom.css,
+                                org.w3c.dom.events,
+                                org.w3c.dom.html,
+                                org.w3c.dom.ls,
+                                org.w3c.dom.ranges,
+                                org.w3c.dom.stylesheets,
+                                org.w3c.dom.traversal,
+                                org.w3c.dom.views,
+                                org.xml.sax,
+                                org.xml.sax.ext,
+                                org.xml.sax.helpers
+                            </Export-Package>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: sling/trunk/bundles/extensions/framework-extension-xml/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message