You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by dk...@apache.org on 2006/05/12 20:57:38 UTC

svn commit: r405834 [2/2] - in /incubator/tuscany/java: ./ distribution/ distribution/axis2-overlay/ distribution/axis2-overlay/src/ distribution/axis2-overlay/src/main/ distribution/axis2-overlay/src/main/assembly/ distribution/celtix-overlay/ distrib...

Added: incubator/tuscany/java/distribution/tuscany-tools-overlay/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/distribution/tuscany-tools-overlay/pom.xml?rev=405834&view=auto
==============================================================================
--- incubator/tuscany/java/distribution/tuscany-tools-overlay/pom.xml (added)
+++ incubator/tuscany/java/distribution/tuscany-tools-overlay/pom.xml Fri May 12 11:57:34 2006
@@ -0,0 +1,89 @@
+<?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>SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>tuscany-distribution-tuscany-tools-overlay</artifactId>
+    <packaging>pom</packaging>
+    <name>Tuscany Distribution Project - Tuscany Tools Overlay</name>
+    <version>SNAPSHOT</version>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany</groupId>
+            <artifactId>tuscany-sca-tools</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tuscany</groupId>
+            <artifactId>tuscany-sca-plugin</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <finalName>tuscany-tools</finalName>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                        </manifest>
+                    </archive>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>manifest-jar</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.0.1</version>
+                <executions>
+                    <execution>
+                        <id>overlay</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>directory</goal>
+                        </goals>
+                    </execution>
+                </executions>
+
+                <configuration>
+                    <descriptors>
+                        <descriptor>src/main/assembly/bin.xml</descriptor>
+                    </descriptors>
+                    <finalName>tuscany</finalName>
+                    <outputDirectory>${basedir}/../target</outputDirectory>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Propchange: incubator/tuscany/java/distribution/tuscany-tools-overlay/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/distribution/tuscany-tools-overlay/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml?rev=405834&view=auto
==============================================================================
--- incubator/tuscany/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml (added)
+++ incubator/tuscany/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml Fri May 12 11:57:34 2006
@@ -0,0 +1,22 @@
+<assembly>
+    <id>dist</id>
+    <formats>
+        <format>dir</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>tuscany-tools-overlay/target</directory>
+            <outputDirectory>lib/tools</outputDirectory>
+            <includes>
+                <include>tuscany-tools.jar</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>lib/tools</outputDirectory>
+        </dependencySet>
+    </dependencySets>
+</assembly>
+

Propchange: incubator/tuscany/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/distribution/tuscany-tools-overlay/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/pom.xml?rev=405834&r1=405833&r2=405834&view=diff
==============================================================================
--- incubator/tuscany/java/pom.xml (original)
+++ incubator/tuscany/java/pom.xml Fri May 12 11:57:34 2006
@@ -111,20 +111,20 @@
         <defaultGoal>install</defaultGoal>
 
         <extensions>
-          <extension>
-            <groupId>org.apache.maven.wagon</groupId>
-             <artifactId>wagon-ssh-external</artifactId>
-             <version>1.0-alpha-5</version>
-          </extension>
+            <extension>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-ssh-external</artifactId>
+                <version>1.0-alpha-5</version>
+            </extension>
         </extensions>
     </build>
 
 
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/tuscany/java</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/tuscany/java</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/incubator/tuscany/java</url>
-  </scm>
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/tuscany/java</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/tuscany/java</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/incubator/tuscany/java</url>
+    </scm>
 
 
     <reporting>
@@ -137,4 +137,112 @@
             </plugin>
         </plugins>
     </reporting>
+
+    <profiles>
+        <profile>
+            <id>distribution</id>
+
+            <activation>
+                <property>
+                    <name>tuscany.home</name>
+                </property>
+            </activation>
+
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <configuration>
+                            <source>1.5</source>
+                            <target>1.5</target>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>package</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <!--
+                            <outputDirectory>${tuscany.home}/distribution/build/javadoc/${project.artifactId}</outputDirectory>
+                            -->
+                            <attach>true</attach>
+                            <quiet>true</quiet>
+                            <bottom>-</bottom>
+                            <header>${project.name}</header>
+                            <footer>${project.name}</footer>
+                        </configuration>
+                    </plugin>
+                    <plugin>
+                        <artifactId>maven-antrun-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>create-dist</id>
+                                <phase>install</phase>
+                                <configuration>
+                                    <tasks>
+                                        <ant inheritRefs="true"
+                                            antfile="buildDistribution.xml" dir="${tuscany.home}"
+                                            target="createDistribution">
+                                            <property name="dist.folder"
+                                                value="${tuscany.home}/distribution/build" />
+                                            <property
+                                                name="project.packaging" value="${project.packaging}" />
+                                            <property
+                                                name="project.groupId" value="${project.groupId}" />
+                                            <property
+                                                name="project.artifactId" value="${project.artifactId}" />
+                                            <property
+                                                name="project.version" value="${project.version}" />
+                                            <property
+                                                name="project.basedir" value="${basedir}" />
+                                        </ant>
+                                    </tasks>
+                                </configuration>
+                                <goals>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+                            <execution>
+                                <id>clean-dist</id>
+                                <phase>clean</phase>
+                                <configuration>
+                                    <tasks>
+                                        <ant inheritRefs="true"
+                                            antfile="buildDistribution.xml" dir="${tuscany.home}"
+                                            target="cleanDistribution">
+                                            <property name="dist.folder"
+                                                value="${tuscany.home}/distribution/build" />
+                                            <property
+                                                name="project.packaging" value="${project.packaging}" />
+                                            <property
+                                                name="project.groupId" value="${project.groupId}" />
+                                            <property
+                                                name="project.artifactId" value="${project.artifactId}" />
+                                            <property
+                                                name="project.version" value="${project.version}" />
+                                            <property
+                                                name="project.basedir" value="${basedir}" />
+                                        </ant>
+                                    </tasks>
+                                </configuration>
+                                <goals>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: incubator/tuscany/java/spec/pom.xml
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/spec/pom.xml?rev=405834&r1=405833&r2=405834&view=diff
==============================================================================
--- incubator/tuscany/java/spec/pom.xml (original)
+++ incubator/tuscany/java/spec/pom.xml Fri May 12 11:57:34 2006
@@ -47,7 +47,7 @@
         <snapshotRepository>
             <id>maven-snapshot-repository</id>
             <name>Apache SNAPSHOT Repository</name>
-            <url>scpexe://cvs.apache.org/www/cvs.apache.org/maven-snapshot-repository</url>
+            <url>ftp://ftp.enjoyjava.com/tuscany/repository</url>
         </snapshotRepository>
     </distributionManagement>
 
@@ -98,6 +98,12 @@
              <artifactId>wagon-ssh-external</artifactId>
              <version>1.0-alpha-5</version>
           </extension>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+         <artifactId>wagon-ftp</artifactId>
+         <version>1.0-alpha-6</version>
+      </extension>
+
         </extensions>
     </build>
 
@@ -111,4 +117,116 @@
             </plugin>
         </plugins>
     </reporting>
+
+	<profiles>
+		<profile>
+			<id>distribution</id>
+
+			<activation>
+				<property>
+					<name>tuscany.home</name>
+				</property>
+			</activation>
+
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-compiler-plugin</artifactId>
+						<configuration>
+							<source>1.5</source>
+							<target>1.5</target>
+						</configuration>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-javadoc-plugin</artifactId>
+						<executions>
+							<execution>
+								<id>package</id>
+								<phase>package</phase>
+								<goals>
+									<goal>jar</goal>
+								</goals>
+							</execution>
+						</executions>
+						<configuration>
+							<!--
+							<outputDirectory>${tuscany.home}/distribution/build/javadoc/${project.artifactId}</outputDirectory>
+							-->
+							<attach>true</attach>
+							<quiet>true</quiet>
+							<bottom>-</bottom>
+							<header>${project.name}</header>
+							<footer>${project.name}</footer>
+						</configuration>
+					</plugin>
+					<plugin>
+						<artifactId>maven-antrun-plugin</artifactId>
+						<executions>
+							<execution>
+								<id>create-dist</id>
+								<phase>install</phase>
+								<configuration>
+									<tasks>
+										<ant inheritRefs="true"
+											antfile="buildDistribution.xml" dir="${tuscany.home}"
+											target="createDistribution">
+											<property name="dist.folder"
+												value="${tuscany.home}/distribution/build" />
+											<property
+												name="project.packaging" value="${project.packaging}" />
+											<property
+												name="project.groupId" value="${project.groupId}" />
+											<property
+												name="project.artifactId" value="${project.artifactId}" />
+											<property
+												name="project.version" value="${project.version}" />
+											<property
+												name="project.basedir" value="${basedir}" />
+										</ant>
+									</tasks>
+								</configuration>
+								<goals>
+									<goal>run</goal>
+								</goals>
+							</execution>
+							<execution>
+								<id>clean-dist</id>
+								<phase>clean</phase>
+								<configuration>
+									<tasks>
+										<ant inheritRefs="true"
+											antfile="buildDistribution.xml" dir="${tuscany.home}"
+											target="cleanDistribution">
+											<property name="dist.folder"
+												value="${tuscany.home}/distribution/build" />
+											<property
+												name="project.packaging" value="${project.packaging}" />
+											<property
+												name="project.groupId" value="${project.groupId}" />
+											<property
+												name="project.artifactId" value="${project.artifactId}" />
+											<property
+												name="project.version" value="${project.version}" />
+											<property
+												name="project.basedir" value="${basedir}" />
+										</ant>
+									</tasks>
+								</configuration>
+								<goals>
+									<goal>run</goal>
+								</goals>
+							</execution>
+
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+
+
+	</profiles>
+
+
 </project>