Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SWITCHYARD-195 Add supporting files to release distribution

  • Loading branch information...
commit 1977ad163cfe856b016e6b376ef21ff22d1a17a3 1 parent 9c4afd3
@kcbabo kcbabo authored
View
2  README.md
@@ -12,3 +12,5 @@ artifactIds [switchyard-release-as6](https://repository.jboss.org/nexus/content/
and [switchyard-release-as7](https://repository.jboss.org/nexus/content/groups/public/org/switchyard/switchyard-release-as7)),
which means you can skip the build step and go straight to running SwitchYard.
+The assembly definition for both release distributions assumes that the quickstarts repository has been checked out and exists in the same directory as your release checkout (i.e. quickstarts and release share the same parent directory). The build will still work if this directory is not present, but the quickstarts will not be included in the built distributions.
+
View
50 distribution/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source
+ ~ Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ ~ as indicated by the @authors tag. All rights reserved.
+ ~ See the copyright.txt in the distribution for a
+ ~ full listing of individual contributors.
+ ~ *
+ ~ This copyrighted material is made available to anyone wishing to use,
+ ~ modify, copy, or redistribute it subject to the terms and conditions
+ ~ of the GNU Lesser General Public License, v. 2.1.
+ ~ This program is distributed in the hope that it will be useful, but WITHOUT A
+ ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ ~ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ ~ You should have received a copy of the GNU Lesser General Public License,
+ ~ v.2.1 along with this distribution; if not, write to the Free Software
+ ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ ~ MA 02110-1301, USA.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>org.switchyard</groupId>
+ <artifactId>switchyard-release</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.switchyard</groupId>
+ <artifactId>switchyard-release-distribution</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>SwitchYard: Distribution Artifacts</name>
+ <description>Module containing extra distribution artifacts (e.g. license, readme)</description>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
12 distribution/src/main/resources/Contributors.txt
@@ -0,0 +1,12 @@
+Individual contributors to the SwitchYard project are listed below. If your name
+is missing please email kbabo@redhat.com.
+
+Antollini, Mario
+Babo, Keith
+Bevenius, Daniel
+Bojan, Magesh
+Cunningham, Thomas
+Fennelly, Tom
+Montenegro, Alejandro
+Ward, David
+
View
104 distribution/src/main/resources/JBossORG-EULA.txt
@@ -0,0 +1,104 @@
+LICENSE AGREEMENT
+JBOSS(r)
+
+This License Agreement governs the use of the Software Packages and any updates to the Software
+Packages, regardless of the delivery mechanism. Each Software Package is a collective work
+under U.S. Copyright Law. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to
+the user ("Client") a license to the applicable collective work(s) pursuant to the
+GNU Lesser General Public License v. 2.1 except for the following Software Packages:
+(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the
+GNU General Public License v.2;
+
+(b) JBoss Rules, which is licensed pursuant to the Apache License v.2.0;
+
+(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the
+(open source) Sleepycat License (if Client does not wish to use the open source version of this database,
+it may purchase a license from Sleepycat Software);
+
+and (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1,
+and, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various
+royalty-free patent licenses.
+
+Each of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.
+
+1. The Software. "Software Packages" refer to the various software modules that are created and made available
+for distribution by the JBoss.org open source community at http://www.jboss.org. Each of the Software Packages
+may be comprised of hundreds of software components. The end user license agreement for each component is located in
+the component's source code. With the exception of certain image files identified in Section 2 below,
+the license terms for the components permit Client to copy, modify, and redistribute the component,
+in both source code and binary code forms. This agreement does not limit Client's rights under,
+or grant Client rights that supersede, the license terms of any particular component.
+
+2. Intellectual Property Rights. The Software Packages are owned by Red Hat and others and are protected under copyright
+and other laws. Title to the Software Packages and any component, or to any copy, modification, or merged portion shall
+remain with the aforementioned, subject to the applicable license. The "JBoss" trademark, "Red Hat" trademark, the
+individual Software Package trademarks, and the "Shadowman" logo are registered trademarks of Red Hat and its affiliates
+in the U.S. and other countries. This agreement permits Client to distribute unmodified copies of the Software Packages
+using the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's
+trademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/. Client must abide by
+these trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified.
+If Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at
+http://www.jboss.com/company/logos unless a separate agreement with Red Hat is executed or other permission granted.
+Merely deleting the files containing the Red Hat trademarks may corrupt the Software Packages.
+
+3. Limited Warranty. Except as specifically stated in this Paragraph 3 or a license for a particular
+component, to the maximum extent permitted under applicable law, the Software Packages and the
+components are provided and licensed "as is" without warranty of any kind, expressed or implied,
+including the implied warranties of merchantability, non-infringement or fitness for a particular purpose.
+Red Hat warrants that the media on which Software Packages may be furnished will be free from defects in
+materials and manufacture under normal use for a period of 30 days from the date of delivery to Client.
+Red Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements
+or that the operation of the Software Packages will be entirely error free or appear precisely as described
+in the accompanying documentation. This warranty extends only to the party that purchases the Services
+pertaining to the Software Packages from Red Hat or a Red Hat authorized distributor.
+
+4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies
+described below are accepted by Client as its only remedies. Red Hat's entire liability, and Client's
+exclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of
+delivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or
+refund the money paid by Client for the Software. To the maximum extent permitted by applicable law,
+Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential
+damages, including lost profits or lost savings arising out of the use or inability to use the Software,
+even if Red Hat or such dealer has been advised of the possibility of such damages. In no event shall
+Red Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this
+Agreement during the twelve months preceding the action.
+
+5. Export Control. As required by U.S. law, Client represents and warrants that it:
+(a) understands that the Software Packages are subject to export controls under the
+U.S. Commerce Department's Export Administration Regulations ("EAR");
+
+(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations
+(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria);
+
+(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity,
+or individual without the necessary export license(s) or authorizations(s) from the U.S. Government;
+
+(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or
+biological weapons, or missile technology end-uses unless authorized by the U.S. Government by
+regulation or specific license;
+
+(e) understands and agrees that if it is in the United States and exports or transfers the Software
+Packages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual
+reports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and
+address (including country) of each transferee;
+
+and (f) understands that countries other than the United States may restrict the import, use, or
+export of encryption products and that it shall be solely responsible for compliance with any such
+import, use, or export restrictions.
+
+6. Third Party Programs. Red Hat may distribute third party software programs with the Software Packages
+that are not part of the Software Packages and which Client must install separately. These third party
+programs are subject to their own license terms. The license terms either accompany the programs or
+can be viewed at http://www.redhat.com/licenses/. If Client does not agree to abide by the applicable
+license terms for such programs, then Client may not install them. If Client wishes to install the programs
+on more than one system or transfer the programs to another party, then Client must contact the licensor
+of the programs.
+
+7. General. If any provision of this agreement is held to be unenforceable, that shall not affect the
+enforceability of the remaining provisions. This License Agreement shall be governed by the laws of the
+State of North Carolina and of the United States, without regard to any conflict of laws provisions,
+except that the United Nations Convention on the International Sale of Goods shall not apply.
+
+Copyright 2006-2007 Red Hat, Inc. All rights reserved.
+"JBoss" and the JBoss logo are registered trademarks of Red Hat, Inc.
+All other trademarks are the property of their respective owners.
View
0  distribution/src/main/resources/README.txt
No changes.
View
26 jboss-as6/assembly.xml
@@ -29,17 +29,39 @@
<fileSets>
<fileSet>
- <directory>${stagging.dir}/${as.root.dir}</directory>
+ <directory>${staging.dir}</directory>
+ <includes>
+ <include>*.txt</include>
+ </includes>
+ <outputDirectory>/${switchyard.root.dir}</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${staging.dir}/${as.root.dir}</directory>
<excludes>
<exclude>bin/*</exclude>
</excludes>
<outputDirectory>/${switchyard.root.dir}</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/${as.root.dir}/bin</directory>
+ <directory>${staging.dir}/${as.root.dir}/bin</directory>
<fileMode>755</fileMode>
<lineEnding>keep</lineEnding>
<outputDirectory>/${switchyard.root.dir}/bin</outputDirectory>
</fileSet>
+ <fileSet>
+ <directory>../../quickstarts</directory>
+ <outputDirectory>${switchyard.root.dir}/quickstarts</outputDirectory>
+ <excludes>
+ <exclude>**/.git</exclude>
+ <exclude>**/.gitignore</exclude>
+ <exclude>**/.DS_Store</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.settings</exclude>
+ <exclude>**/.settings/**/*</exclude>
+ <exclude>**/target</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
+ </fileSet>
</fileSets>
</assembly>
View
35 jboss-as6/pom.xml
@@ -38,7 +38,7 @@
<properties>
<version.jbossas>6.0.0.Final</version.jbossas>
- <stagging.dir>${project.build.directory}/staging</stagging.dir>
+ <staging.dir>${project.build.directory}/staging</staging.dir>
<assembly.dir>${project.build.directory}/assembly</assembly.dir>
<as.root.dir>jboss-${version.jbossas}</as.root.dir>
<switchyard.root.dir>switchyard-as6-0.1</switchyard.root.dir>
@@ -126,12 +126,12 @@
<property name="dependencies.dir" value="target/dependency" />
<!-- Create the staging and assembly dirs... -->
- <mkdir dir="${stagging.dir}" />
+ <mkdir dir="${staging.dir}" />
<!-- Unzip the AS distribution... -->
- <unzip src="${dependencies.dir}/jboss-as-distribution-${version.jbossas}.zip" dest="${stagging.dir}" />
+ <unzip src="${dependencies.dir}/jboss-as-distribution-${version.jbossas}.zip" dest="${staging.dir}" />
- <property name="default.server" value="${stagging.dir}/${as.root.dir}/server/default" />
+ <property name="default.server" value="${staging.dir}/${as.root.dir}/server/default" />
<!-- Unzip the SwitchYard distribution on top of the AS... -->
<unzip src="${dependencies.dir}/switchyard-as6-build-${project.version}.zip" dest="${default.server}/deployers" />
@@ -158,10 +158,33 @@
<goals>
<goal>run</goal>
</goals>
- </execution>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- Include distribution files -->
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-distribution-files</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.switchyard</groupId>
+ <artifactId>switchyard-release-distribution</artifactId>
+ <type>jar</type>
+ <version>${project.version}</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${staging.dir}</outputDirectory>
+ </configuration>
+ </execution>
</executions>
</plugin>
-
<!-- Assemble the Server... -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
View
30 jboss-as7/assembly.xml
@@ -9,14 +9,15 @@
<!-- We are not ready for domain config yet -->
<fileSets>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}</directory>
<includes>
<include>*.jar</include>
+ <include>*.txt</include>
</includes>
<outputDirectory>${distro.root.dir}</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}/bin</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}/bin</directory>
<excludes>
<exclude>domain.*</exclude>
</excludes>
@@ -28,7 +29,7 @@
<outputDirectory>${distro.root.dir}bin</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}/bin</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}/bin</directory>
<excludes>
<exclude>domain.*</exclude>
<exclude>*.sh</exclude>
@@ -38,20 +39,35 @@
<outputDirectory>${distro.root.dir}bin</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}/bundles</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}/bundles</directory>
<outputDirectory>${distro.root.dir}bundles</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}/docs</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}/docs</directory>
<outputDirectory>${distro.root.dir}docs</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}/modules</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}/modules</directory>
<outputDirectory>${distro.root.dir}modules</outputDirectory>
</fileSet>
<fileSet>
- <directory>${stagging.dir}/jboss-${version.jbossas}/standalone</directory>
+ <directory>${staging.dir}/jboss-${version.jbossas}/standalone</directory>
<outputDirectory>${distro.root.dir}standalone</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>../../quickstarts</directory>
+ <outputDirectory>${distro.root.dir}quickstarts</outputDirectory>
+ <excludes>
+ <exclude>**/.git</exclude>
+ <exclude>**/.gitignore</exclude>
+ <exclude>**/.DS_Store</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.settings</exclude>
+ <exclude>**/.settings/**/*</exclude>
+ <exclude>**/target</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
</fileSet>
</fileSets>
</assembly>
View
42 jboss-as7/pom.xml
@@ -18,7 +18,7 @@
<properties>
<version.jbossas>7.0.0.Beta3</version.jbossas>
- <stagging.dir>${project.build.directory}/jboss-switchyard</stagging.dir>
+ <staging.dir>${project.build.directory}/jboss-switchyard</staging.dir>
<distro.root.dir>/switchyard-as7-0.1/</distro.root.dir>
</properties>
@@ -29,6 +29,10 @@
<type>zip</type>
<version>${version.jbossas}</version>
</dependency>
+ <dependency>
+ <groupId>org.switchyard</groupId>
+ <artifactId>switchyard-release-distribution</artifactId>
+ </dependency>
</dependencies>
<build>
@@ -51,7 +55,7 @@
<version>${version.jbossas}</version>
</artifactItem>
</artifactItems>
- <outputDirectory>${stagging.dir}</outputDirectory>
+ <outputDirectory>${staging.dir}</outputDirectory>
</configuration>
</execution>
<execution>
@@ -69,7 +73,7 @@
<version>${project.version}</version>
</artifactItem>
</artifactItems>
- <outputDirectory>${stagging.dir}/jboss-${version.jbossas}</outputDirectory>
+ <outputDirectory>${staging.dir}/jboss-${version.jbossas}</outputDirectory>
</configuration>
</execution>
<execution>
@@ -87,7 +91,7 @@
<version>${project.version}</version>
</artifactItem>
</artifactItems>
- <outputDirectory>${stagging.dir}/jboss-${version.jbossas}</outputDirectory>
+ <outputDirectory>${staging.dir}/jboss-${version.jbossas}</outputDirectory>
</configuration>
</execution>
<execution>
@@ -105,7 +109,7 @@
<version>${project.version}</version>
</artifactItem>
</artifactItems>
- <outputDirectory>${stagging.dir}/jboss-${version.jbossas}</outputDirectory>
+ <outputDirectory>${staging.dir}/jboss-${version.jbossas}</outputDirectory>
</configuration>
</execution>
<execution>
@@ -123,7 +127,25 @@
<version>${project.version}</version>
</artifactItem>
</artifactItems>
- <outputDirectory>${stagging.dir}/jboss-${version.jbossas}</outputDirectory>
+ <outputDirectory>${staging.dir}/jboss-${version.jbossas}</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-distribution-files</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.switchyard</groupId>
+ <artifactId>switchyard-release-distribution</artifactId>
+ <type>jar</type>
+ <version>${project.version}</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${staging.dir}/jboss-${version.jbossas}</outputDirectory>
</configuration>
</execution>
</executions>
@@ -141,21 +163,21 @@
<configuration>
<transformationSets>
<transformationSet>
- <dir>${stagging.dir}/jboss-${version.jbossas}/standalone/configuration</dir>
+ <dir>${staging.dir}/jboss-${version.jbossas}/standalone/configuration</dir>
<includes>
<include>standalone.xml</include>
</includes>
- <outputDir>${stagging.dir}/jboss-${version.jbossas}/standalone/configuration</outputDir>
+ <outputDir>${staging.dir}/jboss-${version.jbossas}/standalone/configuration</outputDir>
<stylesheet>src/main/resources/switchyard.xsl</stylesheet>
</transformationSet>
<!-- We are not ready for domain config yet -->
<!--
<transformationSet>
- <dir>${stagging.dir}/jboss-${version.jbossas}/domain/configuration</dir>
+ <dir>${staging.dir}/jboss-${version.jbossas}/domain/configuration</dir>
<includes>
<include>domain.xml</include>
</includes>
- <outputDir>${stagging.dir}/jboss-${version.jbossas}/domain/configuration</outputDir>
+ <outputDir>${staging.dir}/jboss-${version.jbossas}/domain/configuration</outputDir>
<stylesheet>src/main/resources/switchyard.xsl</stylesheet>
</transformationSet>
-->
View
13 pom.xml
@@ -16,8 +16,21 @@
<description>SwitchYard Distribution</description>
<modules>
+ <module>distribution</module>
<module>jboss-as6</module>
<module>jboss-as7</module>
</modules>
+ <dependencyManagement>
+ <!-- internal dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>org.switchyard</groupId>
+ <artifactId>switchyard-release-distribution</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.