servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1637843 - in /servicemix/smx4/bundles/trunk: ./ freemarker-2.3.21/ freemarker-2.3.21/src/ freemarker-2.3.21/src/main/ freemarker-2.3.21/src/main/resources/ freemarker-2.3.21/src/main/resources/OSGI-INF/
Date Mon, 10 Nov 2014 13:38:32 GMT
Author: jbonofre
Date: Mon Nov 10 13:38:32 2014
New Revision: 1637843

URL: http://svn.apache.org/r1637843
Log:
[SMX4-1899] Create OSGi bundle for freemarker 2.3.21

Added:
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/pom.xml
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/freemarker-2.3.21/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/freemarker-2.3.21/pom.xml?rev=1637843&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/freemarker-2.3.21/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/freemarker-2.3.21/pom.xml Mon Nov 10 13:38:32 2014
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd">
+
+    <!--
+
+        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.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>bundles-pom</artifactId>
+        <version>11</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.freemarker</artifactId>
+    <version>2.3.21_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>org.freemarker</pkgGroupId>
+        <pkgArtifactId>freemarker</pkgArtifactId>
+        <pkgVersion>2.3.21</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            freemarker
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.xml*,
+            org.w3c.dom*,
+            org.xml.sax*,
+            com.sun.org.apache*;resolution:=optional,
+            javax.el*;resolution:=optional;version="[1,2)",
+            javax.servlet*;resolution:=optional;version="[2.5,3)",
+            javax.swing*;resolution:=optional,
+            org.apache.log;resolution:=optional;version="[1.0.1,1.0.1]",
+            org.apache.log4j;resolution:=optional;version="[1.2,2)",
+            org.apache.tools.ant*;resolution:=optional;version="[1.7,2)",
+            org.apache.xml.utils;resolution:=optional;version="[2.7,3)",
+            org.apache.xpath*;resolution:=optional;version="[2.7,3)",
+            org.dom4j*;resolution:=optional;version="[1.6.1,2)",
+            org.jaxen*;resolution:=optional;version="[1.1.1,2)",
+            org.jdom*;resolution:=optional;version="[1,2)",
+            org.mozilla.javascript;resolution:=optional,
+            org.python*;resolution:=optional;version="[2.2.1,2.3)",
+            org.zeroturnaround.javarebel;resolution:=optional,
+            org.apache.commons.logging;resolution:=optional,
+            org.slf4j*;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <artifactSet>
+                                <includes>
+                                    <include>${pkgGroupId}:${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/OSGI-INF/bundle.info?rev=1637843&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/OSGI-INF/bundle.info
(added)
+++ servicemix/smx4/bundles/trunk/freemarker-2.3.21/src/main/resources/OSGI-INF/bundle.info
Mon Nov 10 13:38:32 2014
@@ -0,0 +1,27 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    FreeMarker is a "template engine"; a generic tool to generate text output (anything from
HTML to
+    autogenerated source code) based on templates. It's a Java package, a class library for
Java programmers.
+    It's not an application for end-users in itself, but something that programmers can embed
into their
+    products.
+
+    FreeMarker is designed to be practical for the generation of HTML Web pages, particularly
by servlet-based
+    applications following the MVC (Model View Controller) pattern. The idea behind using
the MVC pattern for
+    dynamic Web pages is that you separate the designers (HTML authors) from the programmers.
Everybody works
+    on what they are good at. Designers can change the appearance of a page without programmers
having to
+    change or recompile code, because the application logic (Java programs) and page design
(FreeMarker
+    templates) are separated. Templates do not become polluted with complex program fragments.
This separation
+    is useful even for projects where the programmer and the HTML page author is the same
person, since it helps
+    to keep the application clear and easily maintainable.
+
+    Although FreeMarker has some programming capabilities, it is not a full-blown programming
language like PHP.
+    Instead, Java programs prepare the data to be displayed (like issue SQL queries), and
FreeMarker just
+    generates textual pages that display the prepared data using templates.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://freemarker.sourceforge.net/\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1637843&r1=1637842&r2=1637843&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Mon Nov 10 13:38:32 2014
@@ -324,6 +324,7 @@
         <module>jsch-agentproxy-jsch-0.0.8</module>
         <module>aws-java-sdk-1.9.3</module>
         <module>geocoder-java-0.16</module>
+        <module>freemarker-2.3.21</momdule>
         <!-- add modules for all bundles to released in the next batch here -->
     </modules>
 



Mime
View raw message