diff options
author | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
---|---|---|
committer | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
commit | bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch) | |
tree | 38a92061c0793434c4be189f1d70c3458b6bc41d /branches/java-post-M1/distribution/tuscany-polish |
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/java-post-M1/distribution/tuscany-polish')
-rw-r--r-- | branches/java-post-M1/distribution/tuscany-polish/fixupJars.xml | 112 | ||||
-rw-r--r-- | branches/java-post-M1/distribution/tuscany-polish/pom.xml | 110 |
2 files changed, 222 insertions, 0 deletions
diff --git a/branches/java-post-M1/distribution/tuscany-polish/fixupJars.xml b/branches/java-post-M1/distribution/tuscany-polish/fixupJars.xml new file mode 100644 index 0000000000..8142364b78 --- /dev/null +++ b/branches/java-post-M1/distribution/tuscany-polish/fixupJars.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable. + * + * Licensed 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 name="project" default="fixupJars"> + + <target name="fixupJars"> + <delete> + <fileset dir="${target.dir}/lib/axis2" includes="*.jar"> + <present present="both" targetdir="${target.dir}/lib" /> + </fileset> + <fileset dir="${target.dir}/lib/celtix" includes="*.jar"> + <present present="both" targetdir="${target.dir}/lib" /> + </fileset> + <fileset dir="${target.dir}/lib/tools" includes="*.jar"> + <present present="both" targetdir="${target.dir}/lib" /> + </fileset> + </delete> + <copy todir="${target.dir}/javadoc"> + <fileset dir="${target.dir}/../../build/javadoc"> + <include name="sca-api/**/*" /> + <include name="sdo-api/**/*" /> + <include name="tuscany-common/**/*" /> + <include name="tuscany-core/**/*" /> + <include name="tuscany-model/**/*" /> + <include name="tuscany-das-rdb/**/*" /> + <include name="tuscany-databinding-sdo/**/*" /> + </fileset> + </copy> + <copy todir="${target.dir}/javadoc"> <!-- Style sheets are bing hdden here. --> + <fileset dir="../../javadoc"> + <include name="**/*" /> + </fileset> + </copy> + <copy todir="${target.dir}/sampleapps"> + <fileset dir="../../sampleapps"> + <include name="**/*.htm*" /> + </fileset> + </copy> + <copy todir="${target.dir}"> + <fileset dir="../.."> + <include name="README.txt" /> + <include name="LICENSE.txt" /> + <include name="NOTICE" /> + <include name="GettingStarted.htm" /> + </fileset> + <fileset dir="../../.."> + <include name="STATUS" /> + <include name="PROPOSAL.txt" /> + </fileset> + </copy> + <zip destfile="${target.dir}/../tuscany-incubating-M1.zip"> + <zipfileset dir="${target.dir}" prefix="tuscany-incubating-M1"> + </zipfileset> + </zip> + <tar destfile="${target.dir}/../tuscany-incubating-M1.tar" longfile="gnu"> + <tarfileset dir="${target.dir}" prefix="tuscany-incubating-M1" mode="755"> + <include name="**/*.sh"/> + </tarfileset> + <tarfileset dir="${target.dir}" prefix="tuscany-incubating-M1"> + <exclude name="**/*.sh"/> + </tarfileset> + </tar> + <gzip zipfile="${target.dir}/../tuscany-incubating-M1.tar.gz" src="${target.dir}/../tuscany-incubating-M1.tar" /> + + <patternset id="exclusionList"> + <exclude name="**/target"/> + <exclude name="**/target/**/*"/> + <exclude name="**/.svn"/> + <exclude name="**/.svn/**/*"/> + <exclude name="**/build"/> + <exclude name="**/build/**/*"/> + <exclude name="**/.settings/**/*"/> + <exclude name="**/.classpath"/> + <exclude name="**/.project"/> + <exclude name="**/.wtpmodules"/> + <exclude name="**/surefire*"/> + <exclude name="**/cobertura.ser"/> + <exclude name="**/bin/*"/> + <exclude name="**/var/journal"/> + <exclude name="**/build.out*"/> + <exclude name="**/apache-tomcat-*.zip"/> + <exclude name="**/apache-tomcat-*.tar.gz"/> + </patternset> + + <zip destfile="${target.dir}/../tuscany-incubating-M1-src.zip"> + <zipfileset dir="${target.dir}/../../.." prefix="tuscany-incubating-M1-src"> + <patternset refid="exclusionList"/> + </zipfileset> + </zip> + <tar destfile="${target.dir}/../tuscany-incubating-M1-src.tar" longfile="gnu"> + <tarfileset dir="${target.dir}/../../.." prefix="tuscany-incubating-M1-src"> + <patternset refid="exclusionList"/> + </tarfileset> + </tar> + <gzip zipfile="${target.dir}/../tuscany-incubating-M1-src.tar.gz" src="${target.dir}/../tuscany-incubating-M1-src.tar" /> + + </target> + +</project> diff --git a/branches/java-post-M1/distribution/tuscany-polish/pom.xml b/branches/java-post-M1/distribution/tuscany-polish/pom.xml new file mode 100644 index 0000000000..48340a3af0 --- /dev/null +++ b/branches/java-post-M1/distribution/tuscany-polish/pom.xml @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable. + * + * Licensed 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> + <parent> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution</artifactId> + <version>incubating-M1</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <artifactId>tuscany-distribution-tuscany-polish</artifactId> + <packaging>pom</packaging> + <name>Tuscany Distribution Project - Tuscany Polish</name> + <version>incubating-M1</version> + + <!-- + <dependencies> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution-tuscany-samples</artifactId> + <version>${pom.version}</version> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution-tuscany-core-overlay</artifactId> + <version>${pom.version}</version> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution-tuscany-tools-overlay</artifactId> + <version>${pom.version}</version> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution-axis2-overlay</artifactId> + <version>${pom.version}</version> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution-celtix-overlay</artifactId> + <version>${pom.version}</version> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>tuscany-distribution-tomcat-overlay</artifactId> + <version>${pom.version}</version> + <type>pom</type> + <scope>test</scope> + </dependency> + </dependencies> + --> + + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <dependencies> + <dependency> + <groupId>ant</groupId> + <artifactId>ant-trax</artifactId> + <version>1.6.5</version> + </dependency> + </dependencies> + + <executions> + <execution> + <id>fixup-jars</id> + <phase>install</phase> + <configuration> + <tasks> + <ant inheritRefs="true" + antfile="fixupJars.xml" dir="${basedir}" + target="fixupJars"> + <property name="target.dir" + value="${basedir}/../target/tuscany-dist" /> + </ant> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |