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/all/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 '')
-rw-r--r-- | java/sca/distribution/features/all/src/main/assembly/bin.xml | 125 | ||||
-rw-r--r-- | java/sca/distribution/features/all/src/main/assembly/src.xml | 144 |
2 files changed, 19 insertions, 250 deletions
diff --git a/java/sca/distribution/features/all/src/main/assembly/bin.xml b/java/sca/distribution/features/all/src/main/assembly/bin.xml index 350cd19a1c..5e21cc7a0f 100644 --- a/java/sca/distribution/features/all/src/main/assembly/bin.xml +++ b/java/sca/distribution/features/all/src/main/assembly/bin.xml @@ -30,119 +30,14 @@ <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> - - <!-- Base samples --> - <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> - <include>domain-management/**/*</include> - - <!-- JEE samples --> - <include>helloworld-bpel/**/*</include> - <include>helloworld-bpel-ws/**/*</include> - <include>quote-xquery/**/*</include> - - <!-- Management samples --> - <include>domain-management/**/*</include> - - <!-- Process samples --> - <include>helloworld-bpel/**/*</include> - <include>helloworld-bpel-ws/**/*</include> - <include>quote-xquery/**/*</include> - - <!-- Web 2.0 samples --> - <include>feed-aggregator/**/*</include> - <include>store/**/*</include> - <include>web-resource/**/*</include> - - <!-- Web Service samples --> - <include>callback-ws-client/**/*</include> - <include>callback-ws-service/**/*</include> - <include>helloworld-ws-reference/**/*</include> - <include>helloworld-ws-service/**/*</include> - <include>helloworld-ws-reference-secure/**/*</include> - <include>helloworld-ws-service-secure/**/*</include> - <include>simple-callback-ws/**/*</include> - <include>zipcode-jaxws/**/*</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> + <componentDescriptor>../ejava/src/main/components/bin-samples.xml</componentDescriptor> + <componentDescriptor>../manager/src/main/components/bin-samples.xml</componentDescriptor> + <componentDescriptor>../process/src/main/components/bin-samples.xml</componentDescriptor> + <componentDescriptor>../web20/src/main/components/bin-samples.xml</componentDescriptor> + <componentDescriptor>../webservice/src/main/components/bin-samples.xml</componentDescriptor> + </componentDescriptors> </assembly> diff --git a/java/sca/distribution/features/all/src/main/assembly/src.xml b/java/sca/distribution/features/all/src/main/assembly/src.xml index 8ffe74337a..7a57773572 100644 --- a/java/sca/distribution/features/all/src/main/assembly/src.xml +++ b/java/sca/distribution/features/all/src/main/assembly/src.xml @@ -30,139 +30,13 @@ <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-atom/**/*</include> - <include>binding-atom-abdera/**/*</include> - <include>binding-ejb/**/*</include> - <include>binding-ejb-runtime/**/*</include> - <include>binding-http/**/*</include> - <include>binding-http-runtime/**/*</include> - <include>binding-jms/**/*</include> - <include>binding-jms-runtime/**/*</include> - <include>binding-jsonrpc/**/*</include> - <include>binding-jsonrpc-runtime/**/*</include> - <include>binding-rss/**/*</include> - <include>binding-rss-rome/**/*</include> - <include>binding-sca/**/*</include> - <include>binding-sca-axis2/**/*</include> - <include>binding-sca-xml/**/*</include> - <include>binding-ws/**/*</include> - <include>binding-ws-axis2/**/*</include> - <include>binding-ws-wsdlgen/**/*</include> - <include>binding-ws-xml/**/*</include> - <include>contribution/**/*</include> - <include>contribution-impl/**/*</include> - <include>contribution-java/**/*</include> - <include>contribution-namespace/**/*</include> - <include>contribution-resource/**/*</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-axiom/**/*</include> - <include>databinding-jaxb/**/*</include> - <include>databinding-jaxb-axiom/**/*</include> - <include>databinding-json/**/*</include> - <include>databinding-saxon/**/*</include> - <include>databinding-sdo/**/*</include> - <include>definitions/**/*</include> - <include>definitions-xml/**/*</include> - <include>distribution-all/**/*</include> - <include>distribution-core/**/*</include> - <include>distribution-ejava/**/*</include> - <include>distribution-manager/**/*</include> - <include>distribution-process/**/*</include> - <include>distribution-web20/**/*</include> - <include>distribution-webservice/**/*</include> - <include>domain-manager/**/*</include> - <include>endpoint/**/*</include> - <include>extensibility/**/*</include> - <include>extension-helper/**/*</include> - <include>host-ejb/**/*</include> - <include>host-embedded/**/*</include> - <include>host-http/**/*</include> - <include>host-jetty/**/*</include> - <include>implementation-bpel/**/*</include> - <include>implementation-bpel-ode/**/*</include> - <include>implementation-ejb/**/*</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>implementation-resource/**/*</include> - <include>implementation-resource-runtime/**/*</include> - <include>implementation-script/**/*</include> - <include>implementation-spring/**/*</include> - <include>implementation-widget/**/*</include> - <include>implementation-widget-runtime/**/*</include> - <include>implementation-xquery/**/*</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>monitor-logging/**/*</include> - <include>node2-api/**/*</include> - <include>node2-impl/**/*</include> - <include>node2-launcher/**/*</include> - <include>node-manager/**/*</include> - <include>policy/**/*</include> - <include>policy-security/**/*</include> - <include>policy-security-ws/**/*</include> - <include>policy-xml/**/*</include> - <include>policy-xml-ws/**/*</include> - <include>sca-api/**/*</include> - <include>workspace/**/*</include> - <include>workspace-impl/**/*</include> - <include>workspace-xml/**/*</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> + <componentDescriptor>../ejava/src/main/components/src-modules.xml</componentDescriptor> + <componentDescriptor>../manager/src/main/components/src-modules.xml</componentDescriptor> + <componentDescriptor>../process/src/main/components/src-modules.xml</componentDescriptor> + <componentDescriptor>../web20/src/main/components/src-modules.xml</componentDescriptor> + <componentDescriptor>../webservice/src/main/components/src-modules.xml</componentDescriptor> + </componentDescriptors> </assembly> |