You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by en...@apache.org on 2009/02/04 17:14:00 UTC

svn commit: r740776 - in /servicemix/smx4/features/trunk: ./ assembly/ assembly/src/main/descriptors/ branding/ branding/src/ branding/src/main/ branding/src/main/resources/ branding/src/main/resources/org/ branding/src/main/resources/org/apache/ brand...

Author: enolan
Date: Wed Feb  4 16:13:59 2009
New Revision: 740776

URL: http://svn.apache.org/viewvc?rev=740776&view=rev
Log:
URL: https://issues.apache.org/activemq/browse/SMX4KNL-152
Log: Adding branding support to servicemix


Added:
    servicemix/smx4/features/trunk/branding/
    servicemix/smx4/features/trunk/branding/pom.xml   (with props)
    servicemix/smx4/features/trunk/branding/src/
    servicemix/smx4/features/trunk/branding/src/main/
    servicemix/smx4/features/trunk/branding/src/main/resources/
    servicemix/smx4/features/trunk/branding/src/main/resources/org/
    servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/
    servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/
    servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/
    servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/
    servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties   (with props)
Modified:
    servicemix/smx4/features/trunk/assembly/pom.xml
    servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml
    servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml
    servicemix/smx4/features/trunk/pom.xml

Modified: servicemix/smx4/features/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/pom.xml?rev=740776&r1=740775&r2=740776&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/assembly/pom.xml (original)
+++ servicemix/smx4/features/trunk/assembly/pom.xml Wed Feb  4 16:13:59 2009
@@ -859,6 +859,24 @@
                 <artifactId>maven-dependency-plugin</artifactId>
                 <executions>
                     <execution>
+                        <id>copy</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.servicemix.kernel</groupId>
+                                    <artifactId>org.apache.servicemix.kernel.version</artifactId>
+                                    <version>${pom.version}</version>
+                                    <outputDirectory>target/dependencies</outputDirectory>
+                                    <destFileName>servicemix-version.jar</destFileName>
+                                </artifactItem>                               
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                    <execution>
                         <id>unpack-unix</id>
                         <phase>generate-resources</phase>
                         <goals>

Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml?rev=740776&r1=740775&r2=740776&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml (original)
+++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/unix-bin.xml Wed Feb  4 16:13:59 2009
@@ -57,6 +57,15 @@
             <lineEnding>unix</lineEnding>
         </fileSet>
 
+        <!-- Copy over jar files -->
+        <fileSet>
+            <directory>target/dependencies</directory>
+            <includes>
+                <include>servicemix-version.jar</include>
+            </includes>
+            <outputDirectory>/lib/</outputDirectory>
+        </fileSet>
+
         <!-- Copy over everything that needs to get unix line endings -->
         <fileSet>
             <directory>src/main/distribution/text</directory>

Modified: servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml?rev=740776&r1=740775&r2=740776&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml (original)
+++ servicemix/smx4/features/trunk/assembly/src/main/descriptors/windows-bin.xml Wed Feb  4 16:13:59 2009
@@ -58,6 +58,15 @@
           <lineEnding>dos</lineEnding>
       </fileSet>
 
+      <!-- Copy over jar files -->
+      <fileSet>
+          <directory>target/dependencies</directory>
+          <includes>
+              <include>servicemix-version.jar</include>
+          </includes>
+          <outputDirectory>/lib/</outputDirectory>
+      </fileSet>
+
       <!-- Copy over the examples -->
       <fileSet>
           <directory>../examples</directory>

Added: servicemix/smx4/features/trunk/branding/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/branding/pom.xml?rev=740776&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/branding/pom.xml (added)
+++ servicemix/smx4/features/trunk/branding/pom.xml Wed Feb  4 16:13:59 2009
@@ -0,0 +1,64 @@
+<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">
+
+    <!--
+
+        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.features</groupId>
+        <artifactId>features</artifactId>
+        <version>4.0-m2-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.kernel</groupId>
+    <artifactId>org.apache.servicemix.kernel.version</artifactId>
+    <packaging>bundle</packaging>
+    <version>4.0-m2-SNAPSHOT</version>
+    <name>Apache ServiceMix Branding Support</name>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+                <includes>
+                    <include>**/*</include>
+                </includes>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>*</Import-Package>
+                        <Private-Package>!*</Private-Package>
+                        <Export-Package>
+                            org.apache.servicemix.kernel.version        
+                        </Export-Package>
+                        <Spring-Context>*;publish-context:=false</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Propchange: servicemix/smx4/features/trunk/branding/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties?rev=740776&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties (added)
+++ servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties Wed Feb  4 16:13:59 2009
@@ -0,0 +1,35 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# Framework config properties.
+#
+
+banner=" ____                  _          __  __ _      ",\
+        "/ ___|  ___ _ ____   _(_) ___ ___|  \\/  (_)_  __",\
+        "\\___ \\ / _ \\ '__\\ \\ / / |/ __/ _ \\ |\\/| | \\ \\/ /",\
+        " ___) |  __/ |   \\ V /| | (_|  __/ |  | | |>  < ",\
+        "|____/ \\___|_|    \\_/ |_|\\___\\___|_|  |_|_/_/\\_\\",\
+
+
+application.name=ServiceMix
+application.version=${pom.version}
+application.location=http://servicemix.apache.org
+
+

Propchange: servicemix/smx4/features/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: servicemix/smx4/features/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/pom.xml?rev=740776&r1=740775&r2=740776&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/pom.xml (original)
+++ servicemix/smx4/features/trunk/pom.xml Wed Feb  4 16:13:59 2009
@@ -35,6 +35,7 @@
   <inceptionYear>2005</inceptionYear>
 
   <modules>
+    <module>branding</module>
     <module>transaction</module>
     <module>activemq</module>
     <module>camel</module>