summaryrefslogtreecommitdiffstats
path: root/otest/newlayout
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-09-17 09:35:04 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-09-17 09:35:04 +0000
commitea75aee9c230add4ddeb637a262f982448168255 (patch)
tree98e8e9c0e6bdfd0c98864b4db5ad4dfe631d61ad /otest/newlayout
parent2e157d69fdd6b791f48e5de5b13186f4ec3c8fee (diff)
Project for generating zip of policy otest contributions for running in trunk compliance tests.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'otest/newlayout')
-rw-r--r--otest/newlayout/oasis-policy-contributions/pom.xml54
-rw-r--r--otest/newlayout/oasis-policy-contributions/src/main/resources/assembly.xml31
-rw-r--r--otest/newlayout/oasis-policy-contributions/src/main/resources/components.xml29
3 files changed, 114 insertions, 0 deletions
diff --git a/otest/newlayout/oasis-policy-contributions/pom.xml b/otest/newlayout/oasis-policy-contributions/pom.xml
new file mode 100644
index 0000000000..87e9694a1d
--- /dev/null
+++ b/otest/newlayout/oasis-policy-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-policy-contributions</artifactId>
+ <name>Apache Tuscany SCA OASIS policy 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-policy-contributions/src/main/resources/assembly.xml b/otest/newlayout/oasis-policy-contributions/src/main/resources/assembly.xml
new file mode 100644
index 0000000000..fd643bb119
--- /dev/null
+++ b/otest/newlayout/oasis-policy-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-policy-contributions/src/main/resources/components.xml b/otest/newlayout/oasis-policy-contributions/src/main/resources/components.xml
new file mode 100644
index 0000000000..ea28d17668
--- /dev/null
+++ b/otest/newlayout/oasis-policy-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-policy</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>**/target/*.zip</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</component>