From 760faa5982a25e8a5ed1680e67e29c415a23cb87 Mon Sep 17 00:00:00 2001 From: slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> Date: Fri, 17 Sep 2010 08:53:50 +0000 Subject: [PATCH] Project for generating zip of jci otest contributions for running in trunk compliance tests. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998022 13f79535-47bb-0310-9956-ffa450edef68 --- .../newlayout/oasis-jci-contributions/pom.xml | 54 +++++++++++++++++++ .../src/main/resources/assembly.xml | 31 +++++++++++ .../src/main/resources/components.xml | 29 ++++++++++ 3 files changed, 114 insertions(+) create mode 100644 otest/newlayout/oasis-jci-contributions/pom.xml create mode 100644 otest/newlayout/oasis-jci-contributions/src/main/resources/assembly.xml create mode 100644 otest/newlayout/oasis-jci-contributions/src/main/resources/components.xml diff --git a/otest/newlayout/oasis-jci-contributions/pom.xml b/otest/newlayout/oasis-jci-contributions/pom.xml new file mode 100644 index 0000000000..2555152ad6 --- /dev/null +++ b/otest/newlayout/oasis-jci-contributions/pom.xml @@ -0,0 +1,54 @@ +<?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. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca</artifactId> + <version>2.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>oasis-jci-contributions</artifactId> + <name>Apache Tuscany SCA OASIS JCI Otest Contributions Zip</name> + + <build> + <finalName>${artifactId}</finalName> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-5</version> + <configuration> + <descriptors> + <descriptor>src/main/resources/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/otest/newlayout/oasis-jci-contributions/src/main/resources/assembly.xml b/otest/newlayout/oasis-jci-contributions/src/main/resources/assembly.xml new file mode 100644 index 0000000000..fd643bb119 --- /dev/null +++ b/otest/newlayout/oasis-jci-contributions/src/main/resources/assembly.xml @@ -0,0 +1,31 @@ +<?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 typically identifies the "type" (src vs bin etc) of the assembly --> + <id></id> + <includeBaseDirectory>false</includeBaseDirectory> + <formats> + <format>zip</format> + </formats> + + <componentDescriptors> + <componentDescriptor>src/main/resources/components.xml</componentDescriptor> + </componentDescriptors> +</assembly> diff --git a/otest/newlayout/oasis-jci-contributions/src/main/resources/components.xml b/otest/newlayout/oasis-jci-contributions/src/main/resources/components.xml new file mode 100644 index 0000000000..ff3b4bd50a --- /dev/null +++ b/otest/newlayout/oasis-jci-contributions/src/main/resources/components.xml @@ -0,0 +1,29 @@ +<!-- + * 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> + <fileSet> + <directory>../sca-java-ci</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>**/target/*.zip</include> + </includes> + </fileSet> + </fileSets> +</component>