create an archive of the examples src we can use to include them in the release assembly
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/d437af9b Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/d437af9b Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/d437af9b Branch: refs/heads/master Commit: d437af9b8da7a5f60da85d1adf539fe7aa7a57c6 Parents: 49d83b0 Author: Robert Gemmell <[email protected]> Authored: Thu Feb 5 11:58:11 2015 +0000 Committer: Robert Gemmell <[email protected]> Committed: Thu Feb 5 11:58:11 2015 +0000 ---------------------------------------------------------------------- qpid-jms-examples/pom.xml | 18 ++++++++ .../src/main/assembly/qpid-jms-examples-src.xml | 48 ++++++++++++++++++++ 2 files changed, 66 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/d437af9b/qpid-jms-examples/pom.xml ---------------------------------------------------------------------- diff --git a/qpid-jms-examples/pom.xml b/qpid-jms-examples/pom.xml index 7aa322a..b5c61a4 100644 --- a/qpid-jms-examples/pom.xml +++ b/qpid-jms-examples/pom.xml @@ -50,6 +50,24 @@ <skip>true</skip> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>src/main/assembly/qpid-jms-examples-src.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/d437af9b/qpid-jms-examples/src/main/assembly/qpid-jms-examples-src.xml ---------------------------------------------------------------------- diff --git a/qpid-jms-examples/src/main/assembly/qpid-jms-examples-src.xml b/qpid-jms-examples/src/main/assembly/qpid-jms-examples-src.xml new file mode 100644 index 0000000..eabed50 --- /dev/null +++ b/qpid-jms-examples/src/main/assembly/qpid-jms-examples-src.xml @@ -0,0 +1,48 @@ +<?xml version='1.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. + +--> +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> + <id>src</id> + <formats> + <format>tar.gz</format> + </formats> + <baseDirectory>qpid-jms-examples-${project.version}</baseDirectory> + <fileSets> + <fileSet> + <directory>src</directory> + <outputDirectory>src</outputDirectory> + <fileMode>0644</fileMode> + <directoryMode>0755</directoryMode> + </fileSet> + <fileSet> + <outputDirectory>/</outputDirectory> + <includes> + <include>pom.xml</include> + <include>README.txt</include> + </includes> + <fileMode>0644</fileMode> + <directoryMode>0755</directoryMode> + </fileSet> + </fileSets> +</assembly> + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
