diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-25 15:55:15 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-25 15:55:15 +0000 |
commit | e2eb32676f17d9f7e1fa67902914124f956392cb (patch) | |
tree | 4a970c381236c8b491c84d5d4490ee7bf6494699 /java/sca/distribution/features/core/src/main/assembly | |
parent | 902d1cd1fe1dec937f578b7a4cc3c94fda2b52ff (diff) |
Simplified the distribution builds, use Maven assembly component descriptors to share definitions. Added a few scripts to help maintain some of the descriptors, eventually they should be converted to Maven plugins.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@688767 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/distribution/features/core/src/main/assembly')
-rw-r--r-- | java/sca/distribution/features/core/src/main/assembly/bin.xml | 89 | ||||
-rw-r--r-- | java/sca/distribution/features/core/src/main/assembly/src.xml | 88 |
2 files changed, 9 insertions, 168 deletions
diff --git a/java/sca/distribution/features/core/src/main/assembly/bin.xml b/java/sca/distribution/features/core/src/main/assembly/bin.xml index 04ac5f01cd..76b6b87c1e 100644 --- a/java/sca/distribution/features/core/src/main/assembly/bin.xml +++ b/java/sca/distribution/features/core/src/main/assembly/bin.xml @@ -30,88 +30,9 @@ <format>zip</format> </formats> - <fileSets> - - <!-- Add the text files to the top-level directroy --> - <fileSet> - <directory>src/main/release</directory> - <outputDirectory></outputDirectory> - <includes> - <include>CHANGES</include> - <include>DISCLAIMER</include> - <include>README</include> - <include>RELEASE_NOTES</include> - </includes> - </fileSet> - <fileSet> - <directory>src/main/release/bin</directory> - <outputDirectory></outputDirectory> - <includes> - <include>INSTALL</include> - <include>LICENSE</include> - <include>NOTICE</include> - </includes> - </fileSet> - - <!-- Add the node launcher webapp to the modules directory --> - <fileSet> - <directory>../../sca/modules/node2-launcher-webapp/target</directory> - <outputDirectory>modules</outputDirectory> - <includes> - <include>*.war</include> - </includes> - </fileSet> - - <!-- Add samples to the samples directory --> - <fileSet> - <directory>../../sca/samples</directory> - <outputDirectory>samples</outputDirectory> - <includes> - <include>calculator/**/*</include> - <include>binding-echo/**/*</include> - <include>binding-echo-extension/**/*</include> - <include>databinding-echo/**/*</include> - <include>implementation-composite/**/*</include> - <include>implementation-crud/**/*</include> - <include>implementation-crud-extension/**/*</include> - <include>implementation-pojo-extension/**/*</include> - <include>loanapplication/**/*</include> - <include>simple-bigbank/**/*</include> - <include>simple-callback/**/*</include> - <include>supplychain/**/*</include> - </includes> - <excludes> - <!-- General file/folders to exclude --> - <exclude>**/.*</exclude> - <exclude>**/.*/**</exclude> - <exclude>**/*.log</exclude> - - <!-- Sample specific files/folders to exclude --> - <exclude>pom.xml</exclude> - </excludes> - </fileSet> - </fileSets> - - <dependencySets> - - <!-- Add all the Tuscany modules to the modules directory --> - <dependencySet> - <outputDirectory>modules</outputDirectory> - <unpack>false</unpack> - <includes> - <include>org.apache.tuscany.sca:*</include> - </includes> - </dependencySet> - - <!-- Add all the dependent jars to the lib directory --> - <dependencySet> - <outputDirectory>lib</outputDirectory> - <unpack>false</unpack> - <excludes> - <exclude>org.apache.tuscany.sca:*</exclude> - </excludes> - </dependencySet> - - </dependencySets> - + <componentDescriptors> + <componentDescriptor>../core/src/main/components/bin-common.xml</componentDescriptor> + <componentDescriptor>../core/src/main/components/bin-dependencies.xml</componentDescriptor> + <componentDescriptor>../core/src/main/components/bin-samples.xml</componentDescriptor> + </componentDescriptors> </assembly> diff --git a/java/sca/distribution/features/core/src/main/assembly/src.xml b/java/sca/distribution/features/core/src/main/assembly/src.xml index fa176334de..0d2c7eab32 100644 --- a/java/sca/distribution/features/core/src/main/assembly/src.xml +++ b/java/sca/distribution/features/core/src/main/assembly/src.xml @@ -30,88 +30,8 @@ <format>zip</format> </formats> - <fileSets> - <fileSet> - <directory>src/main/release</directory> - <outputDirectory></outputDirectory> - <includes> - <include>CHANGES</include> - <include>DISCLAIMER</include> - <include>README</include> - <include>RELEASE_NOTES</include> - </includes> - </fileSet> - <fileSet> - <directory>src/main/release/src</directory> - <outputDirectory></outputDirectory> - <includes> - <include>BUILDING</include> - <include>LICENSE</include> - <include>NOTICE</include> - </includes> - </fileSet> - - <!-- Add module sources to the modules directory --> - <fileSet> - <directory>../../../modules</directory> - <outputDirectory>modules</outputDirectory> - <includes> - <include>assembly/**/*</include> - <include>assembly-xml/**/*</include> - <include>assembly-xsd/**/*</include> - <include>binding-sca/**/*</include> - <include>binding-sca-xml/**/*</include> - <include>contribution/**/*</include> - <include>contribution-impl/**/*</include> - <include>contribution-java/**/*</include> - <include>contribution-namespace/**/*</include> - <include>contribution-xml/**/*</include> - <include>core/**/*</include> - <include>core-databinding/**/*</include> - <include>core-spi/**/*</include> - <include>data-api/**/*</include> - <include>databinding/**/*</include> - <include>databinding-jaxb/**/*</include> - <include>definitions/**/*</include> - <include>definitions-xml/**/*</include> - <include>endpoint/**/*</include> - <include>extensibility/**/*</include> - <include>host-embedded/**/*</include> - <include>host-http/**/*</include> - <include>implementation-java/**/*</include> - <include>implementation-java-runtime/**/*</include> - <include>implementation-java-xml/**/*</include> - <include>implementation-node/**/*</include> - <include>implementation-node-runtime/**/*</include> - <include>interface/**/*</include> - <include>interface-java/**/*</include> - <include>interface-java-jaxws/**/*</include> - <include>interface-java-xml/**/*</include> - <include>interface-wsdl/**/*</include> - <include>interface-wsdl-xml/**/*</include> - <include>monitor/**/*</include> - <include>node2-api/**/*</include> - <include>node2-impl/**/*</include> - <include>node2-launcher/**/*</include> - <include>policy/**/*</include> - <include>policy-security/**/*</include> - <include>policy-xml/**/*</include> - <include>sca-api/**/*</include> - <include>xsd/**/*</include> - <include>xsd-xml/**/*</include> - </includes> - <excludes> - <!-- General file/folders to exclude --> - <exclude>**/.*</exclude> - <exclude>**/.*/**</exclude> - <exclude>**/*.log</exclude> - - <!-- Specific files/folders to exclude --> - <exclude>pom.xml</exclude> - <exclude>**/target</exclude> - <exclude>**/target/**/*</exclude> - </excludes> - </fileSet> - </fileSets> - + <componentDescriptors> + <componentDescriptor>../core/src/main/components/src-common.xml</componentDescriptor> + <componentDescriptor>../core/src/main/components/src-modules.xml</componentDescriptor> + </componentDescriptors> </assembly> |