You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2006/11/03 23:31:37 UTC
svn commit: r471021 - in /incubator/tuscany/branches/sca-java-M2/sca:
distribution/build.xml distribution/pom.xml pom.xml
Author: rfeng
Date: Fri Nov 3 14:31:37 2006
New Revision: 471021
URL: http://svn.apache.org/viewvc?view=rev&rev=471021
Log:
Add javadoc and other distros
Added:
incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml (with props)
Modified:
incubator/tuscany/branches/sca-java-M2/sca/distribution/pom.xml
incubator/tuscany/branches/sca-java-M2/sca/pom.xml
Added: incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml?view=auto&rev=471021
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml (added)
+++ incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml Fri Nov 3 14:31:37 2006
@@ -0,0 +1,112 @@
+<?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 name="project" default="install">
+
+ <property name="prefix" value="tuscany-incubator-M2"/>
+
+ <patternset id="exclusionList">
+ <exclude name="**/distribution" />
+ <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>
+
+ <target name="install" depends="source, sample, javadoc" />
+
+ <target name="javadoc">
+
+ <delete dir="target/javadoc" quiet="true"/>
+
+ <unzip dest="target/javadoc/api">
+ <fileset dir="../kernel/api">
+ <include name="target/*javadoc.jar"/>
+ </fileset>
+ </unzip>
+ <unzip dest="target/javadoc/host-api">
+ <fileset dir="../kernel/host-api">
+ <include name="target/*javadoc.jar"/>
+ </fileset>
+ </unzip>
+ <unzip dest="target/javadoc/spi">
+ <fileset dir="../kernel/spi">
+ <include name="target/*javadoc.jar"/>
+ </fileset>
+ </unzip>
+
+ <zip destfile="target/${prefix}-javadoc.zip">
+ <zipfileset dir="target/javadoc" />
+ </zip>
+ <tar destfile="target/${prefix}-javadoc.tar" longfile="gnu">
+ <tarfileset dir="target/javadoc" />
+ </tar>
+ <gzip zipfile="target/${prefix}-javadoc.tar.gz" src="target/${prefix}-javadoc.tar" />
+ <delete file="target/${prefix}-javadoc.tar" />
+ </target>
+
+
+ <target name="source">
+
+ <zip destfile="target/${prefix}-src.zip">
+ <zipfileset dir="../..">
+ <patternset refid="exclusionList" />
+ </zipfileset>
+ </zip>
+ <tar destfile="target/${prefix}-src.tar" longfile="gnu">
+ <tarfileset dir="../..">
+ <patternset refid="exclusionList" />
+ </tarfileset>
+ </tar>
+ <gzip zipfile="target/${prefix}-src.tar.gz" src="target/${prefix}-src.tar" />
+ <delete file="target/${prefix}-src.tar" />
+
+ </target>
+
+ <target name="sample">
+
+ <zip destfile="target/${prefix}-sample-src.zip">
+ <zipfileset dir="../../samples">
+ <patternset refid="exclusionList" />
+ </zipfileset>
+ </zip>
+ <tar destfile="target/${prefix}-sample-src.tar" longfile="gnu">
+ <tarfileset dir="../../samples">
+ <patternset refid="exclusionList" />
+ </tarfileset>
+ </tar>
+ <gzip zipfile="target/${prefix}-sample-src.tar.gz" src="target/${prefix}-sample-src.tar" />
+ <delete file="target/${prefix}-sample-src.tar" />
+
+ </target>
+
+</project>
Propchange: incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-M2/sca/distribution/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/tuscany/branches/sca-java-M2/sca/distribution/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/distribution/pom.xml?view=diff&rev=471021&r1=471020&r2=471021
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/sca/distribution/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-M2/sca/distribution/pom.xml Fri Nov 3 14:31:37 2006
@@ -1,21 +1,21 @@
<?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.
+ * 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>
@@ -34,7 +34,7 @@
<properties>
<sca.version>1.0-incubator-M2-SNAPSHOT</sca.version>
</properties>
-
+
<!-- definition of repositories where the parent pom can be found -->
<repositories>
<repository>
@@ -89,15 +89,15 @@
<version>2.4</version>
<scope>runtime</scope>
</dependency>
-
- <dependency> <!-- TUSCANY-871 -->
+
+ <dependency><!-- TUSCANY-871 -->
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-impl</artifactId>
<version>1.0-incubator-M2</version>
<scope>compile</scope>
</dependency>
-
-
+
+
<!-- dependencies for contributed extensions -->
<dependency>
@@ -148,11 +148,31 @@
</execution>
</executions>
<configuration>
+ <finalName>tuscany-${sca.version}</finalName>
<descriptors>
<descriptor>src/main/assembly/standalone.xml</descriptor>
</descriptors>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>build-distro</id>
+ <phase>install</phase>
+ <configuration>
+ <tasks>
+ <ant inheritRefs="true" antfile="build.xml" dir="${basedir}" target="install">
+ </ant>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
</project>
Modified: incubator/tuscany/branches/sca-java-M2/sca/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/pom.xml?view=diff&rev=471021&r1=471020&r2=471021
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/sca/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-M2/sca/pom.xml Fri Nov 3 14:31:37 2006
@@ -1,21 +1,21 @@
<?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.
+ * 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>
@@ -330,9 +330,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.1</version>
- <configuration>
- <aggregate>false</aggregate>
- </configuration>
<executions>
<execution>
<id>package</id>
@@ -342,6 +339,33 @@
</goals>
</execution>
</executions>
+ <configuration>
+ <aggregate>false</aggregate>
+ <links>
+ <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+ </links>
+ <offlineLinks>
+ <offlineLink>
+ <url>../api</url>
+ <location>../api/target/apidocs</location>
+ </offlineLink>
+ <offlineLink>
+ <url>../host-api</url>
+ <location>../host-api/target/apidocs</location>
+ </offlineLink>
+ <offlineLink>
+ <url>../spi</url>
+ <location>../spi/target/apidocs</location>
+ </offlineLink>
+ </offlineLinks>
+ <!--
+ <outputDirectory>${tuscany.home}/distribution/build/javadoc/${project.artifactId}</outputDirectory>
+ -->
+ <quiet>true</quiet>
+ <bottom>-</bottom>
+ <header>${project.name}</header>
+ <footer>${project.name}</footer>
+ </configuration>
</plugin>
</plugins>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org