diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-10 00:12:50 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-10 00:12:50 +0000 |
commit | a2ec685a7da8231b48e28476849ca88f859640f4 (patch) | |
tree | 9899c74470a049e91225bf832e65cdaf7521d9d8 /sandbox | |
parent | e9b71bb0fa5de399a3a94fb7f123afd1c2c8f863 (diff) |
Fix the pom.xml to use the default resource/source folders
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@742796 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox')
22 files changed, 47 insertions, 362 deletions
diff --git a/sandbox/travelsample/chapter-01/pom.xml b/sandbox/travelsample/chapter-01/pom.xml index 8067ff4cd5..c7fa91b952 100644 --- a/sandbox/travelsample/chapter-01/pom.xml +++ b/sandbox/travelsample/chapter-01/pom.xml @@ -74,6 +74,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> </build> </project> diff --git a/sandbox/travelsample/chapter-02/goodvaluetrips-contribution/pom.xml b/sandbox/travelsample/chapter-02/goodvaluetrips-contribution/pom.xml index e9b9193ee8..745ddd17b3 100644 --- a/sandbox/travelsample/chapter-02/goodvaluetrips-contribution/pom.xml +++ b/sandbox/travelsample/chapter-02/goodvaluetrips-contribution/pom.xml @@ -53,21 +53,5 @@ <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> - --> </build> </project> diff --git a/sandbox/travelsample/chapter-02/tuscanyscatours-contribution/pom.xml b/sandbox/travelsample/chapter-02/tuscanyscatours-contribution/pom.xml index f0b8378731..4536d16dfe 100644 --- a/sandbox/travelsample/chapter-02/tuscanyscatours-contribution/pom.xml +++ b/sandbox/travelsample/chapter-02/tuscanyscatours-contribution/pom.xml @@ -45,21 +45,5 @@ <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> - --> </build> </project> diff --git a/sandbox/travelsample/chapter-05/node/pom.xml b/sandbox/travelsample/chapter-05/node/pom.xml index 077173d8eb..e5bb7affb5 100644 --- a/sandbox/travelsample/chapter-05/node/pom.xml +++ b/sandbox/travelsample/chapter-05/node/pom.xml @@ -143,20 +143,6 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> <plugins> <plugin> <groupId>org.apache.tuscany.sca</groupId> diff --git a/sandbox/travelsample/chapter-05/ui-contribution/pom.xml b/sandbox/travelsample/chapter-05/ui-contribution/pom.xml index b896a8cda6..bc9399e9d8 100644 --- a/sandbox/travelsample/chapter-05/ui-contribution/pom.xml +++ b/sandbox/travelsample/chapter-05/ui-contribution/pom.xml @@ -67,20 +67,6 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> <plugins> <plugin> <groupId>org.apache.tuscany.sca</groupId> diff --git a/sandbox/travelsample/chapter-06/node/pom.xml b/sandbox/travelsample/chapter-06/node/pom.xml index dec0d1416c..61c8b43b94 100644 --- a/sandbox/travelsample/chapter-06/node/pom.xml +++ b/sandbox/travelsample/chapter-06/node/pom.xml @@ -143,20 +143,6 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> <plugins> <plugin> <groupId>org.apache.tuscany.sca</groupId> diff --git a/sandbox/travelsample/chapter-06/payment-bpel-contribution/pom.xml b/sandbox/travelsample/chapter-06/payment-bpel-contribution/pom.xml index a878258880..fc8bf24b98 100644 --- a/sandbox/travelsample/chapter-06/payment-bpel-contribution/pom.xml +++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/pom.xml @@ -87,31 +87,6 @@ </dependencies> <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <testSourceDirectory>${basedir}/test</testSourceDirectory> - <resources> - <resource> - <directory>${basedir}/src</directory> - </resource> - </resources> - --> - <testResources> - <testResource> - <directory>${basedir}/src/main/resources</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </testResource> - <testResource> - <directory>${basedir}/src/test/resources</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </testResource> - </testResources> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> diff --git a/sandbox/travelsample/chapter-09/node/pom.xml b/sandbox/travelsample/chapter-09/node/pom.xml index a2afb29a17..08cd919bfc 100644 --- a/sandbox/travelsample/chapter-09/node/pom.xml +++ b/sandbox/travelsample/chapter-09/node/pom.xml @@ -123,20 +123,6 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> <plugins> <plugin> <groupId>org.apache.tuscany.sca</groupId> diff --git a/sandbox/travelsample/chapter-09/payment-contribution/pom.xml b/sandbox/travelsample/chapter-09/payment-contribution/pom.xml index c8739eef73..ce60f33f29 100644 --- a/sandbox/travelsample/chapter-09/payment-contribution/pom.xml +++ b/sandbox/travelsample/chapter-09/payment-contribution/pom.xml @@ -73,28 +73,6 @@ </dependencies> <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <testSourceDirectory>${basedir}/test</testSourceDirectory> - <resources> - <resource> - <directory>${basedir}/src</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </resource> - </resources> - <testResources> - <testResource> - <directory>${basedir}/test</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </testResource> - </testResources> - --> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> diff --git a/sandbox/travelsample/chapter-09/ui-contribution/pom.xml b/sandbox/travelsample/chapter-09/ui-contribution/pom.xml index 83bbcbea50..b330385cd1 100644 --- a/sandbox/travelsample/chapter-09/ui-contribution/pom.xml +++ b/sandbox/travelsample/chapter-09/ui-contribution/pom.xml @@ -67,21 +67,5 @@ <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> - --> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/car-contribution/pom.xml b/sandbox/travelsample/shared-contributions/car-contribution/pom.xml index 5e3061aa32..7cfcf79d97 100644 --- a/sandbox/travelsample/shared-contributions/car-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/car-contribution/pom.xml @@ -58,19 +58,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/common-contribution/pom.xml b/sandbox/travelsample/shared-contributions/common-contribution/pom.xml index 86185e1b1c..6563b8d6ab 100644 --- a/sandbox/travelsample/shared-contributions/common-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/common-contribution/pom.xml @@ -52,6 +52,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/creditcardpayment-contribution/pom.xml b/sandbox/travelsample/shared-contributions/creditcardpayment-contribution/pom.xml index 6a706c0791..218be91b71 100644 --- a/sandbox/travelsample/shared-contributions/creditcardpayment-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/creditcardpayment-contribution/pom.xml @@ -73,28 +73,6 @@ </dependencies> <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <testSourceDirectory>${basedir}/test</testSourceDirectory> - <resources> - <resource> - <directory>${basedir}/src</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </resource> - </resources> - <testResources> - <testResource> - <directory>${basedir}/test</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </testResource> - </testResources> - --> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> diff --git a/sandbox/travelsample/shared-contributions/currency-contribution/pom.xml b/sandbox/travelsample/shared-contributions/currency-contribution/pom.xml index c14e804973..f358d94f98 100644 --- a/sandbox/travelsample/shared-contributions/currency-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/currency-contribution/pom.xml @@ -53,11 +53,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}/resources</directory> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/emailgateway-contribution/pom.xml b/sandbox/travelsample/shared-contributions/emailgateway-contribution/pom.xml index 75ff92785b..302c9398b9 100644 --- a/sandbox/travelsample/shared-contributions/emailgateway-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/emailgateway-contribution/pom.xml @@ -62,7 +62,7 @@ <version>1.4</version> <scope>runtime</scope> </dependency> - + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> @@ -73,74 +73,52 @@ </dependencies> <build> <finalName>${artifactId}</finalName> - <!-- - <sourceDirectory>${basedir}/src</sourceDirectory> - <testSourceDirectory>${basedir}/test</testSourceDirectory> - <resources> - <resource> - <directory>${basedir}/src</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </resource> - </resources> - <testResources> - <testResource> - <directory>${basedir}/test</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - </excludes> - </testResource> - </testResources> - --> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>1.0</version> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>target/jaxws-source</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jaxws-maven-plugin</artifactId> - <version>1.9</version> - <executions> - <execution> - <id>wsimport</id> - <phase>generate-sources</phase> - <goals> - <goal>wsimport</goal> - </goals> - <configuration> - <packageName>scatours.emailgateway</packageName> - <wsdlDirectory>${basedir}/src/main/resources + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>target/jaxws-source</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jaxws-maven-plugin</artifactId> + <version>1.9</version> + <executions> + <execution> + <id>wsimport</id> + <phase>generate-sources</phase> + <goals> + <goal>wsimport</goal> + </goals> + <configuration> + <packageName>scatours.emailgateway</packageName> + <wsdlDirectory>${basedir}/src/main/resources </wsdlDirectory> - <wsdlFiles> - <wsdlFile>EmailGateway.wsdl</wsdlFile> - </wsdlFiles> - <sourceDestDir>${project.build.directory}/jaxws-source - </sourceDestDir> - <verbose>false</verbose> - <xnocompile>true</xnocompile> - </configuration> - </execution> - </executions> - </plugin> - </plugins> + <wsdlFiles> + <wsdlFile>EmailGateway.wsdl</wsdlFile> + </wsdlFiles> + <sourceDestDir>${project.build.directory}/jaxws-source + </sourceDestDir> + <verbose>false</verbose> + <xnocompile>true</xnocompile> + </configuration> + </execution> + </executions> + </plugin> + </plugins> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/flight-contribution/pom.xml b/sandbox/travelsample/shared-contributions/flight-contribution/pom.xml index 92248b2df0..b324946692 100644 --- a/sandbox/travelsample/shared-contributions/flight-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/flight-contribution/pom.xml @@ -58,19 +58,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/hotel-contribution/pom.xml b/sandbox/travelsample/shared-contributions/hotel-contribution/pom.xml index 1e68fd9ea9..b9c7483699 100644 --- a/sandbox/travelsample/shared-contributions/hotel-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/hotel-contribution/pom.xml @@ -58,19 +58,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/scatours-contribution/pom.xml b/sandbox/travelsample/shared-contributions/scatours-contribution/pom.xml index 7b55e0864f..816fbe11b4 100644 --- a/sandbox/travelsample/shared-contributions/scatours-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/scatours-contribution/pom.xml @@ -90,19 +90,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/shoppingcart-contribution/pom.xml b/sandbox/travelsample/shared-contributions/shoppingcart-contribution/pom.xml index e0867a02b5..248c757067 100644 --- a/sandbox/travelsample/shared-contributions/shoppingcart-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/shoppingcart-contribution/pom.xml @@ -72,19 +72,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/travelcatalog-contribution/pom.xml b/sandbox/travelsample/shared-contributions/travelcatalog-contribution/pom.xml index 7d92cd2d11..0622458c17 100644 --- a/sandbox/travelsample/shared-contributions/travelcatalog-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/travelcatalog-contribution/pom.xml @@ -70,19 +70,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/trip-contribution/pom.xml b/sandbox/travelsample/shared-contributions/trip-contribution/pom.xml index e051ad885a..4f2cb813fb 100644 --- a/sandbox/travelsample/shared-contributions/trip-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/trip-contribution/pom.xml @@ -58,19 +58,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> diff --git a/sandbox/travelsample/shared-contributions/tripbooking-contribution/pom.xml b/sandbox/travelsample/shared-contributions/tripbooking-contribution/pom.xml index f90a8c4652..23cffc631f 100644 --- a/sandbox/travelsample/shared-contributions/tripbooking-contribution/pom.xml +++ b/sandbox/travelsample/shared-contributions/tripbooking-contribution/pom.xml @@ -70,19 +70,5 @@ <build> <finalName>${artifactId}</finalName> - <sourceDirectory>${basedir}/src</sourceDirectory> - <resources> - <resource> - <directory>${basedir}</directory> - <excludes> - <exclude>**/*.java</exclude> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.xml</exclude> - <exclude>target/**</exclude> - <exclude>src/**</exclude> - </excludes> - </resource> - </resources> </build> </project> |