You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/02/17 13:56:29 UTC
svn commit: r745032 - in /servicemix/smx4/nmr/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/ branding/src/...
Author: ffang
Date: Tue Feb 17 12:56:28 2009
New Revision: 745032
URL: http://svn.apache.org/viewvc?rev=745032&view=rev
Log:
[SMX4NMR-93]Create a bundle to display NMR version instead of the Kernel one
Added:
servicemix/smx4/nmr/trunk/branding/
servicemix/smx4/nmr/trunk/branding/pom.xml (with props)
servicemix/smx4/nmr/trunk/branding/src/
servicemix/smx4/nmr/trunk/branding/src/main/
servicemix/smx4/nmr/trunk/branding/src/main/resources/
servicemix/smx4/nmr/trunk/branding/src/main/resources/org/
servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/
servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/
servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/
servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/
servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties (with props)
Modified:
servicemix/smx4/nmr/trunk/assembly/pom.xml
servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/unix-bin.xml
servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/windows-bin.xml
Modified: servicemix/smx4/nmr/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/assembly/pom.xml?rev=745032&r1=745031&r2=745032&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/assembly/pom.xml (original)
+++ servicemix/smx4/nmr/trunk/assembly/pom.xml Tue Feb 17 12:56:28 2009
@@ -198,6 +198,24 @@
</artifactItems>
</configuration>
</execution>
+ <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>
</executions>
</plugin>
<plugin>
Modified: servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/unix-bin.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/unix-bin.xml?rev=745032&r1=745031&r2=745032&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/unix-bin.xml (original)
+++ servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/unix-bin.xml Tue Feb 17 12:56:28 2009
@@ -77,6 +77,15 @@
<directory>${basedir}/target/features-repo</directory>
<outputDirectory>system</outputDirectory>
</fileSet>
+
+ <!-- Copy over jar files -->
+ <fileSet>
+ <directory>target/dependencies</directory>
+ <includes>
+ <include>servicemix-version.jar</include>
+ </includes>
+ <outputDirectory>/lib/</outputDirectory>
+ </fileSet>
</fileSets>
Modified: servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/windows-bin.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/windows-bin.xml?rev=745032&r1=745031&r2=745032&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/windows-bin.xml (original)
+++ servicemix/smx4/nmr/trunk/assembly/src/main/descriptors/windows-bin.xml Tue Feb 17 12:56:28 2009
@@ -78,6 +78,16 @@
<outputDirectory>system</outputDirectory>
</fileSet>
+ <!-- Copy over jar files -->
+ <fileSet>
+ <directory>target/dependencies</directory>
+ <includes>
+ <include>servicemix-version.jar</include>
+ </includes>
+ <outputDirectory>/lib/</outputDirectory>
+ </fileSet>
+
+
</fileSets>
<files>
Added: servicemix/smx4/nmr/trunk/branding/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/branding/pom.xml?rev=745032&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/branding/pom.xml (added)
+++ servicemix/smx4/nmr/trunk/branding/pom.xml Tue Feb 17 12:56:28 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.nmr</groupId>
+ <artifactId>nmr-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.kernel</groupId>
+ <artifactId>org.apache.servicemix.kernel.version</artifactId>
+ <packaging>bundle</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>Apache ServiceMix NMR 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/nmr/trunk/branding/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: servicemix/smx4/nmr/trunk/branding/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: servicemix/smx4/nmr/trunk/branding/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties?rev=745032&view=auto
==============================================================================
--- servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties (added)
+++ servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties Tue Feb 17 12:56:28 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 NMR
+application.version=${pom.version}
+application.location=http://servicemix.apache.org/nmr
+
+
Propchange: servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: servicemix/smx4/nmr/trunk/branding/src/main/resources/org/apache/servicemix/kernel/version/embedded.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain