http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-jbi/pom.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-jbi/pom.xml b/assemblies/apache-servicemix-jbi/pom.xml deleted file mode 100644 index ea6be10..0000000 --- a/assemblies/apache-servicemix-jbi/pom.xml +++ /dev/null @@ -1,106 +0,0 @@ -<?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</groupId> - <artifactId>apache-servicemix</artifactId> - <version>4.6.0-SNAPSHOT</version> - <relativePath>../apache-servicemix/pom.xml</relativePath> - </parent> - - <artifactId>apache-servicemix-jbi</artifactId> - <packaging>pom</packaging> - <name>Apache ServiceMix :: Features :: Assemblies :: Apache ServiceMix (JBI)</name> - - <build> - <plugins> - <plugin> - <groupId>org.apache.karaf.tooling</groupId> - <artifactId>features-maven-plugin</artifactId> - <version>${karaf.version}</version> - <executions> - <execution> - <id>add-features-to-repo</id> - <phase>generate-resources</phase> - <goals> - <goal>add-features-to-repo</goal> - </goals> - <configuration> - <descriptors> - <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.features.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.servicemix/apache-servicemix/${project.version}/xml/features</descriptor> - </descriptors> - <features> - <feature>cxf</feature> - <feature>obr</feature> - <feature>config</feature> - <feature>activemq</feature> - <feature>activemq-blueprint</feature> - <feature>activemq-spring</feature> - <feature>activemq-broker</feature> - <feature>camel</feature> - <feature>activemq-camel</feature> - <feature>camel-nmr</feature> - <feature>camel-cxf</feature> - <feature>camel-blueprint</feature> - <feature>jbi-cluster</feature> - <feature>war</feature> - <!-- ServiceMix Components --> - <feature>servicemix-cxf-bc</feature> - <feature>servicemix-file</feature> - <feature>servicemix-ftp</feature> - <feature>servicemix-http</feature> - <feature>servicemix-jms</feature> - <feature>servicemix-mail</feature> - <feature>servicemix-bean</feature> - <feature>servicemix-camel</feature> - <feature>servicemix-cxf-se</feature> - <feature>servicemix-drools</feature> - <feature>servicemix-eip</feature> - <feature>servicemix-osworkflow</feature> - <feature>servicemix-quartz</feature> - <feature>servicemix-scripting</feature> - <feature>servicemix-validation</feature> - <feature>servicemix-saxon</feature> - <feature>servicemix-wsn2005</feature> - <feature>servicemix-snmp</feature> - <feature>servicemix-vfs</feature> - <feature>servicemix-smpp</feature> - <feature>servicemix-exec</feature> - </features> - <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> - <repository>target/features-repo</repository> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - -</project> -
http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml b/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml deleted file mode 100644 index 11d36fe..0000000 --- a/assemblies/apache-servicemix-jbi/src/main/descriptors/unix-bin.xml +++ /dev/null @@ -1,102 +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. ---> -<assembly> - <id>apache-servicemix</id> - - <formats> - <format>tar.gz</format> - </formats> - - <baseDirectory>apache-servicemix-${version}</baseDirectory> - - <componentDescriptors> - <componentDescriptor>target/shared/common-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/common-unix-bin.xml</componentDescriptor> - </componentDescriptors> - - <fileSets> - <!-- Copy over ant task definition files --> - <fileSet> - <directory>target/shared/ant</directory> - <outputDirectory>/ant</outputDirectory> - <lineEnding>unix</lineEnding> - </fileSet> - - <!-- Copy over karaf demos to examples folder --> - <fileSet> - <directory>target/dependencies/unix/apache-karaf-${karaf.version}/demos</directory> - <outputDirectory>/examples/karaf</outputDirectory> - <lineEnding>unix</lineEnding> - </fileSet> - - <!-- Copy over all the examples (incl. the NMR and JBI ones) --> - <fileSet> - <directory>${basedir}/../../examples</directory> - <outputDirectory>/examples/</outputDirectory> - <lineEnding>unix</lineEnding> - <excludes> - <exclude>pom.xml</exclude> - <!-- we need add filtered README.txt, so exclude the raw one here --> - <exclude>**/README.txt</exclude> - <!-- exclude build output/IDE config/... files --> - <exclude>**/target/**</exclude> - <exclude>**/.classpath</exclude> - <exclude>**/.project</exclude> - <exclude>**/.settings/**</exclude> - <exclude>**/*.i??</exclude> - <!-- exclude these 3 failing demos --> - <exclude>**/wsdl-first/**</exclude> - <exclude>**/loan-broker-bpel/**</exclude> - <exclude>**/web/**</exclude> - </excludes> - </fileSet> - - <fileSet> - <directory>${basedir}/../../examples</directory> - <outputDirectory>/examples/</outputDirectory> - <lineEnding>unix</lineEnding> - <filtered>true</filtered> - <fileMode>0644</fileMode> - <excludes> - <exclude>README.txt</exclude> <!-- don't include the main README.txt file --> - </excludes> - <includes> - <include>**/README.txt</include> - </includes> - </fileSet> - </fileSets> - - <!-- pick a pom.xml and README.txt file that includes the NMR and JBI examples --> - <files> - <file> - <source>${basedir}/target/classes/pom.xml</source> - <outputDirectory>/examples/</outputDirectory> - <filtered>true</filtered> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - <file> - <source>${basedir}/target/classes/README.txt</source> - <outputDirectory>/examples/</outputDirectory> - <filtered>true</filtered> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - </files> - -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml b/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml deleted file mode 100644 index 6630644..0000000 --- a/assemblies/apache-servicemix-jbi/src/main/descriptors/windows-bin.xml +++ /dev/null @@ -1,98 +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. ---> -<assembly> - <id>apache-servicemix</id> - - <formats> - <format>zip</format> - </formats> - - <baseDirectory>apache-servicemix-${version}</baseDirectory> - - <componentDescriptors> - <componentDescriptor>target/shared/common-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/common-windows-bin.xml</componentDescriptor> - </componentDescriptors> - - <fileSets> - <!-- Copy over ant task definition files --> - <fileSet> - <directory>target/shared/ant</directory> - <outputDirectory>/ant</outputDirectory> - <lineEnding>dos</lineEnding> - </fileSet> - - <!-- Copy over karaf demos to examples folder --> - <fileSet> - <directory>target/dependencies/win/apache-karaf-${karaf.version}/demos</directory> - <outputDirectory>/examples/karaf</outputDirectory> - <lineEnding>dos</lineEnding> - </fileSet> - - <!-- Copy over all the examples (incl. the NMR and JBI ones) --> - <fileSet> - <directory>${basedir}/../../examples</directory> - <outputDirectory>/examples/</outputDirectory> - <lineEnding>dos</lineEnding> - <excludes> - <exclude>pom.xml</exclude> - <!-- we need add filtered README.txt, so exclude the raw one here --> - <exclude>**/README.txt</exclude> - <!-- exclude build output/IDE config/... files --> - <exclude>**/target/**</exclude> - <exclude>**/.classpath</exclude> - <exclude>**/.project</exclude> - <exclude>**/.settings/**</exclude> - <exclude>**/*.i??</exclude> - <!-- exclude these 3 failing demos --> - <exclude>**/wsdl-first/**</exclude> - <exclude>**/loan-broker-bpel/**</exclude> - <exclude>**/web/**</exclude> - </excludes> - </fileSet> - - <fileSet> - <directory>${basedir}/../../examples</directory> - <outputDirectory>/examples/</outputDirectory> - <lineEnding>dos</lineEnding> - <filtered>true</filtered> - <includes> - <include>**/README.txt</include> - </includes> - </fileSet> - </fileSets> - - <!-- pick a pom.xml file that includes the NMR and JBI examples --> - <files> - <file> - <source>${basedir}/target/classes/pom.xml</source> - <outputDirectory>/examples/</outputDirectory> - <filtered>true</filtered> - <fileMode>0644</fileMode> - <lineEnding>dos</lineEnding> - </file> - <file> - <source>${basedir}/target/classes/README.txt</source> - <outputDirectory>/examples/</outputDirectory> - <filtered>true</filtered> - <fileMode>0644</fileMode> - <lineEnding>dos</lineEnding> - </file> - </files> - -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt b/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt deleted file mode 100644 index 858b55d..0000000 --- a/assemblies/apache-servicemix-jbi/src/main/filtered-resources/README.txt +++ /dev/null @@ -1,236 +0,0 @@ -/* - * 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. - */ - - -WELCOME TO THE SERVICEMIX EXAMPLES -================================== - -Camel Examples -============== - -- camel-osgi - Deploys a Camel EIP route as an OSGi bundle. Configuration makes use - of the OSGi Configuration Admin service and Spring property placeholders, - and the example demonstrates how to deploy the properties file from the - ServiceMix console. - -- camel-blueprint - Deploys a Camel EIP route as an OSGi bundle. Configuration makes use - of the OSGi Configuration Admin service and uses a Blueprint XML file to - start the Camel routes. - -CXF examples -============ - -- cxf-jaxrs - Creates a RESTful JAX-RS web service using CXF and exposes it using - the OSGi HTTP service. - -- cxf-osgi - Creates a web service using CXF and Spring-DM, and exposes it through - the OSGi HTTP service. - -- cxf-ws-addressing - Uses CXF to create a web service enabled for WS-Addressing, and exposes - it through the OSGi HTTP service. - -- cxf-ws-rm - Uses CXF to create a web service enabled for WS-ReliableMessaging, and exposes - it through the OSGi HTTP service. - -- cxf-ws-security-osgi - Create a web service with CXF using WS-SECURITY and expose it through the OSGi HTTP - Service, then it will leverage cxf JAASLoginInterceptor to authenticate against karaf - default jaas configuration. - -- cxf-ws-security-blueprint - Create a web service with CXF using WS-SECURITY and blueprint configuration, - and expose it through the OSGi HTTP - Service, then it will leverage cxf JAASLoginInterceptor to authenticate against karaf - default jaas configuration. - -- cxf-ws-security-signature - Create a web service with CXF using WS-SECURITY Signature action and expose it through the OSGi HTTP - Service, the main purpose is to demonstrate how to use signaturePropRefId WSS4J configuration in - OSGi container. - - -Karaf examples -============== - -- branding - Builds the artifacts that allow you to re-brand Apache Karaf - (as e.g. we did in Apache ServiceMix). - -- dump - Demo that deploys a simple service into the OSGi Service Registry - using a Blueprint XML file. - -- web - Embeds Apache Karaf in a web application. - - -NMR examples -============ - -- basic - Contains a client and endpoint bundle showing the basic functionality of the NMR. - - 1. /endpoint - Deploys a custom endpoint into the NMR registry. - - 2. /client - Deploys a client class that interacts with the NMR to communicate with - the endpoint. - -- camel-nmr - Deploys two Camel EIP routes that communicate with each other via the - ServiceMix NMR, using Spring to define the Camel routes. - -- camel-nmr-blueprint - Deploys two Camel EIP routes that communicate with each other via the - ServiceMix NMR, using Blueprint to define the Camel routes. - -- cxf-camel-nmr - Deploys a Camel route that transforms a message and passes it to a CXF - web service via the ServiceMix NMR. - -- cxf-nmr - Creates a web service using CXF and Spring-DM, and publishes it to the - ServiceMix NMR. - -- interceptors - Contains two interceptor examples: - - 1. /endpoint - Deploys a custom endpoint listener that captures and reports, to - the ServiceMix log, when an endpoint registers and unregisters with - the NMR. - - 2. /exchange - Deploys a custom exchange listener that captures and reports, to - the ServiceMix log, the exchanges that are sent and delivered using - the NMR. - - -JBI examples -============ - -- bridge - Uses the original ServiceMix EIP component and JBI to create a - protocol bridge that receives a message via HTTP, transforms it - and sends it to a JMS queue. - - This example uses the older ServiceMix EIP implementation. The - bridge-camel example (see below), on the other hand, uses Camel to - achieve the same result. - -- bridge-camel - Uses Camel and JBI to create a protocol bridge that receives a - message via HTTP, transforms it and sends it to a JMS queue. - - This example uses the newer Camel integration framework. - -- camel - Deploys a simple Camel EIP route, written in Java, as a JBI component. - -- cluster - Creates two child container instances with one JBI endpoint of each of them, - using the JBI clustering engine to interconnect the two endpoints. - -- cxf-wsdl-first - Publishes, as a JBI service assembly, a WSDL-defined web service created - using CXF. - -- cxf-wsdl-first-osgi-package - Publishes, as OSGi bundles, a WSDL-defined web service created using CXF. - -- simple - Adds new endpoints using XML configuration files only. - - -Prerequisites for Running the Examples -========================================= - -Java Development Kit (JDK) --------------------------- -You must have JDK 1.6 or higher installed on your machine to -run the ServiceMix examples. - -Apache Maven ------------- -The examples use Apache Maven for building code. You must install -Maven 2.2.1 or higher and add the Maven bin/ directory to your PATH -if you want to build any of the examples. - -If you have not used Maven before, the first time you use it to -build one of the examples, it downloads a lot of JARs to a local -repository on your machine. The next time you run Maven it uses the -locally stored JARs where possible. - -To download and find out more about Maven, visit: - http://maven.apache.org - -ServiceMix Container --------------------- -You must have ServiceMix up and running. To start the ServiceMix -container, run the following command: - - <servicemix_home>/bin/servicemix (on UNIX) - <servicemix_home>\bin\servicemix (on Windows) - - -ServiceMix Features Facility -============================ -Several of the examples make use of the ServiceMix features facility. -A feature is a named, versioned collection of OSGi bundles that work -together to provide some functionality. The details of what makes up -a feature are contained in a features definition file. The ServiceMix -console includes a features subshell that provides commands to enable -you to add and remove features, and to point to feature repositories. -If you add a feature, ServiceMix uses the details provided in -the features definition file to load and activate all of the -required bundles that are not already present in the container. - -ServiceMix includes a number of features that make the running of -the examples quick and easy. Each feature enables you to use a single -command to install the example bundle and any bundles that the example -depends on. - -To view a list of the features that are already installed, enter -the following command in the ServiceMix console: - - features:list - -To view a list of the features that are used by the examples, enter -the following command in the ServiceMix console: - - features:list | grep examples - -To view the repository URLs currently associated with the features -facility, enter the following command in the ServiceMix console: - - features:listUrl - -To view the contents of the features definition file that includes -definitions for each of the features used by the examples, enter the -following command in the ServiceMix console: - - cat mvn:org.apache.servicemix/apache-servicemix/${version}/xml/features - -For more information about the features facility, see the ServiceMix -documentation. http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-jbi/src/main/filtered-resources/etc/org.apache.karaf.features.cfg ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-jbi/src/main/filtered-resources/etc/org.apache.karaf.features.cfg b/assemblies/apache-servicemix-jbi/src/main/filtered-resources/etc/org.apache.karaf.features.cfg deleted file mode 100644 index c1f6eb5..0000000 --- a/assemblies/apache-servicemix-jbi/src/main/filtered-resources/etc/org.apache.karaf.features.cfg +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# 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. -# -################################################################################ - -# -# Comma separated list of features repositories to register by default -# -featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features,mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features,mvn:org.apache.servicemix/apache-servicemix/${version}/xml/features,mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features,mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features - -# -# Comma separated list of features to install at startup -# -featuresBoot=karaf-framework,config,activemq-broker,activemq-spring,saaj,cxf-specs,camel,activemq-camel,camel-nmr,camel-cxf,camel-blueprint,jbi-cluster,war,servicemix-cxf-bc,servicemix-file,servicemix-ftp,servicemix-http,servicemix-jms,servicemix-mail,servicemix-smpp,servicemix-snmp,servicemix-vfs,servicemix-bean,servicemix-camel,servicemix-cxf-se,servicemix-drools,servicemix-eip,servicemix-osworkflow,servicemix-quartz,servicemix-scripting,servicemix-validation,servicemix-saxon,servicemix-wsn2005,servicemix-exec - http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-jbi/src/main/filtered-resources/pom.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-jbi/src/main/filtered-resources/pom.xml b/assemblies/apache-servicemix-jbi/src/main/filtered-resources/pom.xml deleted file mode 100644 index 2d5395f..0000000 --- a/assemblies/apache-servicemix-jbi/src/main/filtered-resources/pom.xml +++ /dev/null @@ -1,56 +0,0 @@ -<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</groupId> - <artifactId>parent</artifactId> - <version>${project.version}</version> - </parent> - - <groupId>org.apache.servicemix.examples</groupId> - <artifactId>examples</artifactId> - <packaging>pom</packaging> - <version>${project.version}</version> - <name>Apache ServiceMix :: Examples</name> - - <modules> - <module>activemq</module> - <module>camel</module> - <module>cxf</module> - <module>nmr</module> - <module>jbi</module> - <module>karaf</module> - </modules> - - <repositories> - <!-- Required to build the examples in a SNAPSHOT assembly --> - <repository> - <id>apache.snapshots</id> - <name>Apache Snapshot Repository</name> - <url>http://repository.apache.org/snapshots</url> - <releases> - <enabled>false</enabled> - </releases> - </repository> - </repositories> - -</project> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/pom.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/pom.xml b/assemblies/apache-servicemix-minimal/pom.xml deleted file mode 100644 index 25b8dee..0000000 --- a/assemblies/apache-servicemix-minimal/pom.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?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</groupId> - <artifactId>apache-servicemix</artifactId> - <version>4.6.0-SNAPSHOT</version> - <relativePath>../apache-servicemix/pom.xml</relativePath> - </parent> - - <artifactId>apache-servicemix-minimal</artifactId> - <packaging>pom</packaging> - <name>Apache ServiceMix :: Features :: Assemblies :: Apache ServiceMix (Minimal)</name> - - <build> - <plugins> - <plugin> - <groupId>org.apache.karaf.tooling</groupId> - <artifactId>features-maven-plugin</artifactId> - <version>${karaf.version}</version> - <executions> - <execution> - <id>add-features-to-repo</id> - <phase>generate-resources</phase> - <goals> - <goal>add-features-to-repo</goal> - </goals> - <configuration> - <descriptors> - <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.features.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.servicemix/apache-servicemix/${project.version}/xml/features</descriptor> - </descriptors> - <features> - <feature>obr</feature> - </features> - <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> - <repository>target/features-repo</repository> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> - http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-unix-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-unix-bin.xml b/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-unix-bin.xml deleted file mode 100644 index 7932dc3..0000000 --- a/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-unix-bin.xml +++ /dev/null @@ -1,128 +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. ---> -<component> - <fileSets> - <!-- Cherry-pick files from the expanded Karaf distribution --> - <fileSet> - <directory>target/dependencies/unix/apache-karaf-${karaf.version}</directory> - <outputDirectory>/</outputDirectory> - <excludes> - <exclude>**/demos/**</exclude> - <exclude>bin/**</exclude> - <exclude>etc/system.properties</exclude> - <exclude>etc/org.apache.karaf.features.cfg</exclude> - <exclude>etc/org.apache.karaf.features.obr.cfg</exclude> - <exclude>etc/org.ops4j.pax.logging.cfg</exclude> - <exclude>etc/users.properties</exclude> - <exclude>etc/custom.properties</exclude> - <exclude>etc/jre.properties</exclude> - <exclude>system/**</exclude> - <exclude>LICENSE</exclude> - <exclude>NOTICE</exclude> - <exclude>README</exclude> - <exclude>RELEASE-NOTES</exclude> - <exclude>karaf-manual*</exclude> - </excludes> - </fileSet> - - <!-- Copy over bin/* scripts separately to get the correct file mode --> - <fileSet> - <directory>target/dependencies/unix/apache-karaf-${karaf.version}</directory> - <outputDirectory>/</outputDirectory> - <includes> - <include>bin/*</include> - </includes> - <fileMode>0755</fileMode> - </fileSet> - - <!-- Copy license and other files from root --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>/</outputDirectory> - <includes> - <include>README</include> - <include>RELEASE*</include> - </includes> - <lineEnding>unix</lineEnding> - <fileMode>0644</fileMode> - </fileSet> - - <!-- Copy over everything that needs to get unix line endings --> - <fileSet> - <directory>target/shared/etc</directory> - <outputDirectory>/etc/</outputDirectory> - <lineEnding>unix</lineEnding> - <fileMode>0644</fileMode> - <excludes> - <exclude>org.apache.servicemix.nmr.cfg</exclude> - <exclude>org.apache.servicemix.jbi.cfg</exclude> - <exclude>org.apache.felix.fileinstall-activemq.cfg</exclude> - <exclude>activemq-broker.xml</exclude> - </excludes> - </fileSet> - - <fileSet> - <directory>target/shared/licenses</directory> - <outputDirectory>/licenses/</outputDirectory> - <lineEnding>unix</lineEnding> - <fileMode>0644</fileMode> - </fileSet> - - <!-- Copy over filtered resources --> - <fileSet> - <directory>target/classes/etc</directory> - <outputDirectory>/etc/</outputDirectory> - <includes> - <include>*.*</include> - </includes> - <excludes> - <exclude>org.apache.servicemix.nmr.cfg</exclude> - <exclude>org.apache.servicemix.jbi.cfg</exclude> - <exclude>activemq-broker.xml</exclude> - <exclude>org.apache.felix.fileinstall-activemq.cfg</exclude> - </excludes> - <lineEnding>unix</lineEnding> - <fileMode>0644</fileMode> - </fileSet> - </fileSets> - - <files> - <file> - <source>${basedir}/target/dependencies/unix/apache-karaf-${karaf.version}/bin/karaf</source> - <outputDirectory>/bin/</outputDirectory> - <destName>servicemix</destName> - <fileMode>0755</fileMode> - <lineEnding>unix</lineEnding> - </file> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> - <outputDirectory>/</outputDirectory> - <destName>LICENSE</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> - <outputDirectory>/</outputDirectory> - <destName>NOTICE</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - </files> - -</component> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-windows-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-windows-bin.xml b/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-windows-bin.xml deleted file mode 100644 index bf1c941..0000000 --- a/assemblies/apache-servicemix-minimal/src/main/descriptors/minimal-windows-bin.xml +++ /dev/null @@ -1,116 +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. ---> -<component> - <fileSets> - <!-- Cherry-pick files from the expanded Karaf distribution --> - <fileSet> - <directory>target/dependencies/win/apache-karaf-${karaf.version}</directory> - <outputDirectory>/</outputDirectory> - <excludes> - <exclude>**/demos/**</exclude> - <exclude>etc/system.properties</exclude> - <exclude>etc/org.apache.karaf.features.cfg</exclude> - <exclude>etc/org.apache.karaf.features.obr.cfg</exclude> - <exclude>etc/org.ops4j.pax.logging.cfg</exclude> - <exclude>etc/users.properties</exclude> - <exclude>etc/custom.properties</exclude> - <exclude>etc/jre.properties</exclude> - <exclude>system/**</exclude> - <exclude>LICENSE</exclude> - <exclude>NOTICE</exclude> - <exclude>README</exclude> - <exclude>RELEASE-NOTES</exclude> - <exclude>karaf-manual*</exclude> - </excludes> - </fileSet> - - <!-- Copy license and other files from root --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>/</outputDirectory> - <includes> - <include>README</include> - <include>RELEASE*</include> - </includes> - <lineEnding>dos</lineEnding> - <fileMode>0644</fileMode> - </fileSet> - - <!-- Copy over everything that needs to get dos line endings --> - <fileSet> - <directory>target/shared/etc</directory> - <outputDirectory>/etc/</outputDirectory> - <lineEnding>dos</lineEnding> - <fileMode>0644</fileMode> - <excludes> - <exclude>org.apache.servicemix.nmr.cfg</exclude> - <exclude>org.apache.servicemix.jbi.cfg</exclude> - <exclude>activemq-broker.xml</exclude> - <exclude>org.apache.felix.fileinstall-activemq.cfg</exclude> - </excludes> - </fileSet> - - <fileSet> - <directory>target/shared/licenses</directory> - <outputDirectory>/licenses/</outputDirectory> - <lineEnding>dos</lineEnding> - <fileMode>0644</fileMode> - </fileSet> - - <fileSet> - <directory>target/classes/etc</directory> - <outputDirectory>/etc/</outputDirectory> - <includes> - <include>*.*</include> - </includes> - <excludes> - <exclude>org.apache.servicemix.nmr.cfg</exclude> - <exclude>org.apache.servicemix.jbi.cfg</exclude> - <exclude>activemq-broker.xml</exclude> - <exclude>org.apache.felix.fileinstall-activemq.cfg</exclude> - </excludes> - <lineEnding>dos</lineEnding> - <fileMode>0644</fileMode> - </fileSet> - </fileSets> - - <files> - <file> - <source>${basedir}/target/dependencies/win/apache-karaf-${karaf.version}/bin/karaf.bat</source> - <outputDirectory>/bin/</outputDirectory> - <destName>servicemix.bat</destName> - <fileMode>0755</fileMode> - <lineEnding>dos</lineEnding> - </file> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> - <outputDirectory>/</outputDirectory> - <destName>LICENSE</destName> - <fileMode>0644</fileMode> - <lineEnding>dos</lineEnding> - </file> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> - <outputDirectory>/</outputDirectory> - <destName>NOTICE</destName> - <fileMode>0644</fileMode> - <lineEnding>dos</lineEnding> - </file> - </files> - -</component> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/src/main/descriptors/unix-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/src/main/descriptors/unix-bin.xml b/assemblies/apache-servicemix-minimal/src/main/descriptors/unix-bin.xml deleted file mode 100644 index 441cb13..0000000 --- a/assemblies/apache-servicemix-minimal/src/main/descriptors/unix-bin.xml +++ /dev/null @@ -1,33 +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. ---> -<assembly> - <id>apache-servicemix</id> - - <formats> - <format>tar.gz</format> - </formats> - - <baseDirectory>apache-servicemix-${version}</baseDirectory> - - <componentDescriptors> - <componentDescriptor>target/shared/common-bin.xml</componentDescriptor> - <componentDescriptor>./minimal-unix-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/examples-unix-bin.xml</componentDescriptor> - </componentDescriptors> - -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/src/main/descriptors/windows-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/src/main/descriptors/windows-bin.xml b/assemblies/apache-servicemix-minimal/src/main/descriptors/windows-bin.xml deleted file mode 100644 index 4eaf532..0000000 --- a/assemblies/apache-servicemix-minimal/src/main/descriptors/windows-bin.xml +++ /dev/null @@ -1,33 +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. ---> -<assembly> - <id>apache-servicemix</id> - - <formats> - <format>zip</format> - </formats> - - <baseDirectory>apache-servicemix-${version}</baseDirectory> - - <componentDescriptors> - <componentDescriptor>target/shared/common-bin.xml</componentDescriptor> - <componentDescriptor>./minimal-windows-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/examples-windows-bin.xml</componentDescriptor> - </componentDescriptors> - -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.felix.fileinstall-activemq.cfg ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.felix.fileinstall-activemq.cfg b/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.felix.fileinstall-activemq.cfg deleted file mode 100644 index 0b9153f..0000000 --- a/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.felix.fileinstall-activemq.cfg +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# 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. -# -################################################################################ - -# uncomment the following lines to enable reloading of <smx-home>/etc/activemq-broker.xml - -#felix.fileinstall.poll = 2000 -#felix.fileinstall.dir = ${karaf.base}/etc -#felix.fileinstall.tmpdir = ${karaf.data}/generated-bundles -#felix.fileinstall.filter = activemq-broker.xml http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.karaf.features.cfg ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.karaf.features.cfg b/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.karaf.features.cfg deleted file mode 100644 index 9d1b3ef..0000000 --- a/assemblies/apache-servicemix-minimal/src/main/filtered-resources/etc/org.apache.karaf.features.cfg +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# 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. -# -################################################################################ - -# -# Comma separated list of features repositories to register by default -# -featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features,mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features,mvn:org.apache.servicemix/apache-servicemix/${version}/xml/features,mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features,mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features - -# -# Comma separated list of features to install at startup -# -featuresBoot=karaf-framework,config - http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix/pom.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix/pom.xml b/assemblies/apache-servicemix/pom.xml deleted file mode 100644 index 253e24b..0000000 --- a/assemblies/apache-servicemix/pom.xml +++ /dev/null @@ -1,355 +0,0 @@ -<?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</groupId> - <artifactId>assemblies</artifactId> - <version>4.6.0-SNAPSHOT</version> - </parent> - - <artifactId>apache-servicemix</artifactId> - <packaging>pom</packaging> - <name>Apache ServiceMix :: Features :: Assemblies :: Apache ServiceMix</name> - - <dependencies> - <dependency> - <groupId>org.apache.servicemix.assemblies</groupId> - <artifactId>shared</artifactId> - <version>${project.version}</version> - </dependency> - - <!-- Download Karaf assemblies for dependency:unpack--> - <dependency> - <groupId>org.apache.karaf</groupId> - <artifactId>apache-karaf</artifactId> - <type>zip</type> - </dependency> - <dependency> - <groupId>org.apache.karaf</groupId> - <artifactId>apache-karaf</artifactId> - <type>tar.gz</type> - </dependency> - - <!--Xerces jar to be included in lib/endorsed --> - <dependency> - <groupId>org.apache.xerces</groupId> - <artifactId>xml-apis</artifactId> - </dependency> - <dependency> - <groupId>org.apache.xerces</groupId> - <artifactId>xercesImpl</artifactId> - </dependency> - - <!--xalan jar to be included in lib/endorsed--> - <dependency> - <groupId>xalan</groupId> - <artifactId>xalan</artifactId> - </dependency> - <dependency> - <groupId>xalan</groupId> - <artifactId>serializer</artifactId> - </dependency> - - <!-- branding --> - <dependency> - <groupId>org.apache.servicemix.features</groupId> - <artifactId>org.apache.servicemix.features.branding</artifactId> - </dependency> - - </dependencies> - - <build> - <resources> - <resource> - <directory>${project.basedir}/src/main/filtered-resources</directory> - <filtering>true</filtering> - <includes> - <include>**/*</include> - </includes> - </resource> - </resources> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-remote-resources-plugin</artifactId> - <configuration> - <appendedResourcesDirectory>${basedir}/target/shared/appended-resources</appendedResourcesDirectory> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.karaf.tooling</groupId> - <artifactId>features-maven-plugin</artifactId> - <version>${karaf.version}</version> - <executions> - <execution> - <id>add-features-to-repo</id> - <phase>compile</phase> - <goals> - <goal>add-features-to-repo</goal> - </goals> - <configuration> - <descriptors> - <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor> - <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.features.version}/xml/features</descriptor> - <descriptor>file:${basedir}/target/classes/features.xml</descriptor> - </descriptors> - <features> - <feature>cxf</feature> - <feature>obr</feature> - <feature>config</feature> - <feature>activemq</feature> - <feature>activemq-blueprint</feature> - <feature>activemq-spring</feature> - <feature>activemq-broker</feature> - <feature>camel</feature> - <feature>activemq-camel</feature> - <feature>camel-cxf</feature> - <feature>camel-blueprint</feature> - <feature>war</feature> - </features> - <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> - <repository>target/features-repo</repository> - </configuration> - <inherited>false</inherited> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <executions> - <execution> - <id>filter</id> - <phase>generate-resources</phase> - <goals> - <goal>resources</goal> - </goals> - </execution> - <execution> - <id>copy-system-folder</id> - <phase>package</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <outputDirectory>target/features-repo</outputDirectory> - <resources> - <resource> - <directory>target/dependencies/unix/apache-karaf-${karaf.version}/system</directory> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>unpack-shared</id> - <phase>generate-resources</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <artifactItems> - <artifactItem> - <groupId>org.apache.servicemix.assemblies</groupId> - <artifactId>shared</artifactId> - <type>jar</type> - <outputDirectory>target/shared</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - <execution> - <id>unpack-unix</id> - <phase>generate-resources</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <artifactItems> - <artifactItem> - <groupId>org.apache.karaf</groupId> - <artifactId>apache-karaf</artifactId> - <type>tar.gz</type> - <outputDirectory>target/dependencies/unix</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - <execution> - <id>unpack-win</id> - <phase>generate-resources</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <artifactItems> - <artifactItem> - <groupId>org.apache.karaf</groupId> - <artifactId>apache-karaf</artifactId> - <type>zip</type> - <outputDirectory>target/dependencies/win</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>enable-obr</id> - <phase>generate-resources</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <target name="enable-obr"> - <echo message="Updating etc/startup.properties in unix assembly" /> - <concat destfile="target/dependencies/unix/apache-karaf-${karaf.version}/etc/startup.properties" append="true" eol="unix"> - <fileset file="target/shared/startup-obr.properties" /> - </concat> - <echo message="Updating etc/startup.properties in windows assembly" /> - <concat destfile="target/dependencies/win/apache-karaf-${karaf.version}/etc/startup.properties" append="true" eol="dos"> - <fileset file="target/shared/startup-obr.properties" /> - </concat> - </target> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>attach-artifacts</id> - <phase>package</phase> - <inherited>false</inherited> - <goals> - <goal>attach-artifact</goal> - </goals> - <configuration> - <artifacts> - <artifact> - <file>target/classes/features.xml</file> - <type>xml</type> - <classifier>features</classifier> - </artifact> - </artifacts> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>${maven-assembly-plugin.version}</version> - <executions> - <execution> - <id>unix-bin</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>src/main/descriptors/unix-bin.xml</descriptor> - </descriptors> - <finalName>${project.artifactId}-${project.version}</finalName> - <tarLongFileMode>gnu</tarLongFileMode> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - <execution> - <id>windows-bin</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>src/main/descriptors/windows-bin.xml</descriptor> - </descriptors> - <finalName>${project.artifactId}-${project.version}</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <profiles> - <profile> - <id>release</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <id>unix-src</id> - <phase>package</phase> - <goals> - <goal>attached</goal> - </goals> - <configuration> - <descriptors> - <descriptor>src/main/descriptors/unix-src.xml</descriptor> - </descriptors> - </configuration> - <inherited>false</inherited> - </execution> - <execution> - <id>windows-src</id> - <phase>package</phase> - <goals> - <goal>attached</goal> - </goals> - <configuration> - <descriptors> - <descriptor>src/main/descriptors/windows-src.xml</descriptor> - </descriptors> - </configuration> - <inherited>false</inherited> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project> - http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix/src/main/descriptors/unix-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix/src/main/descriptors/unix-bin.xml b/assemblies/apache-servicemix/src/main/descriptors/unix-bin.xml deleted file mode 100644 index fe5c88a..0000000 --- a/assemblies/apache-servicemix/src/main/descriptors/unix-bin.xml +++ /dev/null @@ -1,42 +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. ---> -<assembly> - <id>apache-servicemix</id> - - <formats> - <format>tar.gz</format> - </formats> - - <componentDescriptors> - <componentDescriptor>target/shared/common-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/common-unix-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/examples-unix-bin.xml</componentDescriptor> - </componentDescriptors> - - <files> - <file> - <!-- Install the features descriptor into the system repository --> - <source>${basedir}/target/classes/features.xml</source> - <outputDirectory>system/org/apache/servicemix/${artifactId}/${version}</outputDirectory> - <destName>${artifactId}-${version}-features.xml</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - </files> - -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix/src/main/descriptors/unix-src.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix/src/main/descriptors/unix-src.xml b/assemblies/apache-servicemix/src/main/descriptors/unix-src.xml deleted file mode 100644 index aeb20b0..0000000 --- a/assemblies/apache-servicemix/src/main/descriptors/unix-src.xml +++ /dev/null @@ -1,125 +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. ---> -<assembly> - <id>src</id> - <formats> - <format>tar.gz</format> - </formats> - <fileSets> - <!-- Copy license and other files from root --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>/</outputDirectory> - <includes> - <include>BUILDING.txt</include> - <include>README.txt</include> - <include>RELEASE*.txt</include> - </includes> - <lineEnding>unix</lineEnding> - </fileSet> - - <!-- Binary Files --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>src</outputDirectory> - <includes> - <include>**/*.jpeg</include> - <include>**/*.jpg</include> - <include>**/*.gif</include> - <include>**/*.png</include> - <include>**/*.exe</include> - <include>**/*.dll</include> - <include>**/*.jar</include> - <include>**/*.so</include> - <include>**/*.ks</include> - <include>**/*.ts</include> - <include>**/*.keystore</include> - <include>**/*.bin</include> - <include>**/*.jnilib</include> - <include>**/*.cert</include> - <include>**/*.jks</include> - <include>apache-servicemix/src/main/release/bin/*/wrapper</include> - </includes> - <excludes> - <exclude>**/eclipse-classes/**</exclude> - <exclude>**/target/**</exclude> - </excludes> - </fileSet> - - <!-- Text Files --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>src</outputDirectory> - <includes> - <include>**/*</include> - </includes> - <excludes> - <exclude>**/*.jpeg</exclude> - <exclude>**/*.jpg</exclude> - <exclude>**/*.gif</exclude> - <exclude>**/*.png</exclude> - <exclude>**/*.exe</exclude> - <exclude>**/*.dll</exclude> - <exclude>**/*.jar</exclude> - <exclude>**/*.so</exclude> - <exclude>**/*.ks</exclude> - <exclude>**/*.ts</exclude> - <exclude>**/*.keystore</exclude> - <exclude>**/*.bin</exclude> - <exclude>**/*.jnilib</exclude> - <exclude>**/*.cert</exclude> - <exclude>apache-servicemix/src/main/release/bin/*/wrapper</exclude> - <exclude>**/target/**</exclude> - <exclude>**/build/**</exclude> - <exclude>activemq-data/**</exclude> - <exclude>*/activemq-data/**</exclude> - <exclude>**/eclipse-classes/**</exclude> - <exclude>**/.*</exclude> - <exclude>**/.*/**</exclude> - - <exclude>**/surefire*</exclude> - <exclude>**/svn-commit*</exclude> - - <exclude>**/*.iml</exclude> - <exclude>**/*.ipr</exclude> - <exclude>**/*.iws</exclude> - <exclude>**/*.jks</exclude> - - <exclude>**/cobertura.ser</exclude> - - </excludes> - <lineEnding>unix</lineEnding> - </fileSet> - </fileSets> - <files> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> - <outputDirectory>/</outputDirectory> - <destName>LICENSE.txt</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> - <outputDirectory>/</outputDirectory> - <destName>NOTICE.txt</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - </files> -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix/src/main/descriptors/windows-bin.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix/src/main/descriptors/windows-bin.xml b/assemblies/apache-servicemix/src/main/descriptors/windows-bin.xml deleted file mode 100644 index d54c399..0000000 --- a/assemblies/apache-servicemix/src/main/descriptors/windows-bin.xml +++ /dev/null @@ -1,41 +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. ---> -<assembly> - <id>apache-servicemix</id> - - <formats> - <format>zip</format> - </formats> - - <componentDescriptors> - <componentDescriptor>target/shared/common-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/common-windows-bin.xml</componentDescriptor> - <componentDescriptor>target/shared/examples-windows-bin.xml</componentDescriptor> - </componentDescriptors> - - <files> - <file> - <source>${basedir}/target/classes/features.xml</source> - <outputDirectory>system/org/apache/servicemix/${artifactId}/${version}</outputDirectory> - <destName>${artifactId}-${version}-features.xml</destName> - <fileMode>0644</fileMode> - <lineEnding>dos</lineEnding> - </file> - </files> - -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix/src/main/descriptors/windows-src.xml ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix/src/main/descriptors/windows-src.xml b/assemblies/apache-servicemix/src/main/descriptors/windows-src.xml deleted file mode 100644 index 78bbeba..0000000 --- a/assemblies/apache-servicemix/src/main/descriptors/windows-src.xml +++ /dev/null @@ -1,125 +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. ---> -<assembly> - <id>src</id> - <formats> - <format>zip</format> - </formats> - <fileSets> - <!-- Copy license and other files from root --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>/</outputDirectory> - <includes> - <include>BUILDING.txt</include> - <include>README.txt</include> - <include>RELEASE*.txt</include> - </includes> - <lineEnding>dos</lineEnding> - </fileSet> - - <!-- Binary Files --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>src</outputDirectory> - <includes> - <include>**/*.jpeg</include> - <include>**/*.jpg</include> - <include>**/*.gif</include> - <include>**/*.png</include> - <include>**/*.exe</include> - <include>**/*.dll</include> - <include>**/*.jar</include> - <include>**/*.so</include> - <include>**/*.ks</include> - <include>**/*.ts</include> - <include>**/*.keystore</include> - <include>**/*.bin</include> - <include>**/*.jnilib</include> - <include>**/*.cert</include> - <include>**/*.jks</include> - <include>apache-servicemix/src/main/release/bin/*/wrapper</include> - </includes> - <excludes> - <exclude>**/eclipse-classes/**</exclude> - <exclude>**/target/**</exclude> - </excludes> - </fileSet> - - <!-- Text Files --> - <fileSet> - <directory>${basedir}/../..</directory> - <outputDirectory>src</outputDirectory> - <includes> - <include>**/*</include> - </includes> - <excludes> - <exclude>**/*.jpeg</exclude> - <exclude>**/*.jpg</exclude> - <exclude>**/*.gif</exclude> - <exclude>**/*.png</exclude> - <exclude>**/*.exe</exclude> - <exclude>**/*.dll</exclude> - <exclude>**/*.jar</exclude> - <exclude>**/*.so</exclude> - <exclude>**/*.ks</exclude> - <exclude>**/*.ts</exclude> - <exclude>**/*.keystore</exclude> - <exclude>**/*.bin</exclude> - <exclude>**/*.jnilib</exclude> - <exclude>**/*.cert</exclude> - <exclude>apache-servicemix/src/main/release/bin/*/wrapper</exclude> - - <exclude>**/target/**</exclude> - <exclude>**/build/**</exclude> - <exclude>activemq-data/**</exclude> - <exclude>*/activemq-data/**</exclude> - <exclude>**/eclipse-classes/**</exclude> - <exclude>**/.*</exclude> - <exclude>**/.*/**</exclude> - - <exclude>**/surefire*</exclude> - <exclude>**/svn-commit*</exclude> - - <exclude>**/*.iml</exclude> - <exclude>**/*.ipr</exclude> - <exclude>**/*.iws</exclude> - <exclude>**/*.jks</exclude> - <exclude>**/cobertura.ser</exclude> - - </excludes> - <lineEnding>dos</lineEnding> - </fileSet> - </fileSets> - <files> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> - <outputDirectory>/</outputDirectory> - <destName>LICENSE.txt</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - <file> - <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> - <outputDirectory>/</outputDirectory> - <destName>NOTICE.txt</destName> - <fileMode>0644</fileMode> - <lineEnding>unix</lineEnding> - </file> - </files> -</assembly> http://git-wip-us.apache.org/repos/asf/servicemix-features/blob/d358d2ea/assemblies/apache-servicemix/src/main/filtered-resources/etc/org.apache.karaf.features.cfg ---------------------------------------------------------------------- diff --git a/assemblies/apache-servicemix/src/main/filtered-resources/etc/org.apache.karaf.features.cfg b/assemblies/apache-servicemix/src/main/filtered-resources/etc/org.apache.karaf.features.cfg deleted file mode 100644 index ac18f88..0000000 --- a/assemblies/apache-servicemix/src/main/filtered-resources/etc/org.apache.karaf.features.cfg +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# 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. -# -################################################################################ - -# -# Comma separated list of features repositories to register by default -# -featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features,mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features,mvn:org.apache.servicemix/apache-servicemix/${version}/xml/features,mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features,mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features - -# -# Comma separated list of features to install at startup -# -featuresBoot=karaf-framework,config,activemq-broker,activemq-spring,saaj,cxf-specs,camel,activemq-camel,camel-cxf,camel-blueprint,war -
