Author: prabath
Date: Wed May  6 20:58:08 2009
New Revision: 35214
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=35214

Log:
Fix for CARBON-3658

Modified:
   trunk/wsas/java/modules/samples/CommodityQuote/pom.xml

Modified: trunk/wsas/java/modules/samples/CommodityQuote/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/samples/CommodityQuote/pom.xml?rev=35214&r1=35213&r2=35214&view=diff
==============================================================================
--- trunk/wsas/java/modules/samples/CommodityQuote/pom.xml      (original)
+++ trunk/wsas/java/modules/samples/CommodityQuote/pom.xml      Wed May  6 
20:58:08 2009
@@ -1,273 +1,278 @@
-<!--
-  ~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
-  ~
-  ~ 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 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.wso2.wsas</groupId>
-        <artifactId>wso2wsas-samples</artifactId>
-        <version>SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2wsas-samples-commodityquote</artifactId>
-    <packaging>jar</packaging>
-    <name>Sample/CommodityQuote</name>
-    <description>This is the Commodity Quote sample</description>
-
-    <build>
-        <sourceDirectory>src</sourceDirectory>
-        <testSourceDirectory>test</testSourceDirectory>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.4</source>
-                    <target>1.4</target>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <inherited>false</inherited>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>generate-code</id>
-                        <phase>generate-sources</phase>
-                        <configuration>
-                            <tasks>
-                                <property name="keys.dir" 
value="${basedir}/keys"/>
-                                <delete dir="${keys.dir}"/>
-                                <java 
classname="org.wso2.carbon.utils.codegen.CodegenHelper"
-                                      fork="true">
-                                    <arg value="./conf/codegen.xml"/>
-                                    <classpath 
refid="maven.dependency.classpath"/>
-                                    <classpath 
refid="maven.compile.classpath"/>
-                                    <classpath 
refid="maven.runtime.classpath"/>
-                                </java>
-                                <!-- Generate keys for the samples -->
-                                <mkdir dir="${keys.dir}"/>
-                                <genkey alias="client" storepass="testing" 
keyalg="RSA"
-                                        keystore="${keys.dir}/client.jks"
-                                        validity="99999">
-                                    <dname>
-                                        <param name="CN" value="WSO2WSAS"/>
-                                        <param name="OU" value="SAMPLE"/>
-                                        <param name="O" value="WSO2"/>
-                                        <param name="C" value="LK"/>
-                                    </dname>
-                                </genkey>
-                                <genkey alias="service" storepass="testing" 
keyalg="RSA"
-                                        keystore="${keys.dir}/service.jks"
-                                        validity="99999">
-                                    <dname>
-                                        <param name="CN" value="WSO2WSAS"/>
-                                        <param name="OU" value="SAMPLE"/>
-                                        <param name="O" value="WSO2"/>
-                                        <param name="C" value="LK"/>
-                                    </dname>
-                                </genkey>
-                                <echo message="############## Importing 
Certificates ###################"/>
-                                <java 
classname="org.wso2.carbon.utils.security.KeyImporter">
-                                    <arg value="${keys.dir}/service.jks"/>
-                                    <arg value="testing"/>
-                                    <arg value="service"/>
-                                    <arg value="${keys.dir}/client.jks"/>
-                                    <arg value="testing"/>
-                                    <classpath 
refid="maven.dependency.classpath"/>
-                                    <classpath 
refid="maven.compile.classpath"/>
-                                    <classpath 
refid="maven.runtime.classpath"/>
-                                </java>
-                                <java 
classname="org.wso2.carbon.utils.security.KeyImporter">
-                                    <arg value="${keys.dir}/client.jks"/>
-                                    <arg value="testing"/>
-                                    <arg value="client"/>
-                                    <arg value="${keys.dir}/service.jks"/>
-                                    <arg value="testing"/>
-                                    <classpath 
refid="maven.dependency.classpath"/>
-                                    <classpath 
refid="maven.compile.classpath"/>
-                                    <classpath 
refid="maven.runtime.classpath"/>
-                                </java>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <version>1.0</version>
-                <executions>
-                    <execution>
-                        <id>copy-code</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
-                        <configuration>
-                            <sources>
-                                
<source>${basedir}/target/generated/src</source>
-                            </sources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <configuration>
-                    <enableRulesSummary>false</enableRulesSummary>
-                </configuration>
-            </plugin>
-            <!--<plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-clover-plugin</artifactId>
-                <configuration>
-                    <licenseLocation>${clover.license.file}</licenseLocation>
-                    <targetPercentage>60%</targetPercentage>
-                    <generateHtml>true</generateHtml>
-                    <generatePdf>false</generatePdf>
-                    <generateXml>false</generateXml>
-                    <excludes>
-                        <exclude>**/*TestSuite.java</exclude>
-                        <exclude>**/*Test.java</exclude>
-                    </excludes>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>aggregate</goal>
-                            <goal>instrument</goal>
-                            <goal>clover</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>-->
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.utils</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.rm</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.security.mgt</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-            <version>1.5.0.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.security.wso2</groupId>
-            <artifactId>wss4j</artifactId>
-            <version>1.5.4.wso2v1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.security.rampart</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-            <version>1.2.7.wso2v1</version>
-        </dependency>
-    </dependencies>
-
-    <reporting>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-report-plugin</artifactId>
-                <configuration>
-                    
<outputDirectory>../../../target/site/wso2wsas-samples/${artifactId}
-                    </outputDirectory>
-                    
<reportsDirectory>target/surefire-reports</reportsDirectory>
-                    <outputName>${artifactId}-test-report</outputName>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jxr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-site-plugin</artifactId>
-                <configuration>
-                    
<outputDirectory>../../../target/site/wso2wsas-samples/${artifactId}
-                    </outputDirectory>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>1.1.1</version>
-                <configuration>
-                    <!--<xmlOutput>true|false</xmlOutput>
-                    <xmlOutputDirectory>
-                    directory location of xml findbugs report
-                    </xmlOutputDirectory>
-                    <threshold>Normal</threshold>
-                    <effort>Default</effort>
-                    <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
-                    <includeFilterFile>findbugs-include.xml</includeFilterFile>
-                    <visitors>FindDeadLocalStores,UnreadFields</visitors>
-                    
<omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors>
-                    <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze>
-                    
<pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList>
-                    <debug>true|false</debug>
-                    <relaxed>true|false</relaxed>-->
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-            </plugin>
-            <!--<plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-clover-plugin</artifactId>
-            </plugin>-->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-pmd-plugin</artifactId>
-            </plugin>
-        </plugins>
-    </reporting>
-</project>
+<!--
+  ~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
+  ~
+  ~ 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 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.wso2.wsas</groupId>
+        <artifactId>wso2wsas-samples</artifactId>
+        <version>SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wso2wsas-samples-commodityquote</artifactId>
+    <packaging>jar</packaging>
+    <name>Sample/CommodityQuote</name>
+    <description>This is the Commodity Quote sample</description>
+
+    <build>
+        <sourceDirectory>src</sourceDirectory>
+        <testSourceDirectory>test</testSourceDirectory>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.4</source>
+                    <target>1.4</target>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <inherited>false</inherited>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-code</id>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            <tasks>
+                                <property name="keys.dir" 
value="${basedir}/keys"/>
+                                <delete dir="${keys.dir}"/>
+                                <java 
classname="org.wso2.carbon.utils.codegen.CodegenHelper"
+                                      fork="true">
+                                    <arg value="./conf/codegen.xml"/>
+                                    <classpath 
refid="maven.dependency.classpath"/>
+                                    <classpath 
refid="maven.compile.classpath"/>
+                                    <classpath 
refid="maven.runtime.classpath"/>
+                                </java>
+                                <!-- Generate keys for the samples -->
+                                <mkdir dir="${keys.dir}"/>
+                                <genkey alias="client" storepass="testing" 
keyalg="RSA"
+                                        keystore="${keys.dir}/client.jks"
+                                        validity="99999">
+                                    <dname>
+                                        <param name="CN" value="WSO2WSAS"/>
+                                        <param name="OU" value="SAMPLE"/>
+                                        <param name="O" value="WSO2"/>
+                                        <param name="C" value="LK"/>
+                                    </dname>
+                                </genkey>
+                                <genkey alias="service" storepass="testing" 
keyalg="RSA"
+                                        keystore="${keys.dir}/service.jks"
+                                        validity="99999">
+                                    <dname>
+                                        <param name="CN" value="WSO2WSAS"/>
+                                        <param name="OU" value="SAMPLE"/>
+                                        <param name="O" value="WSO2"/>
+                                        <param name="C" value="LK"/>
+                                    </dname>
+                                </genkey>
+                                <echo message="############## Importing 
Certificates ###################"/>
+                                <java 
classname="org.wso2.carbon.utils.security.KeyImporter">
+                                    <arg value="${keys.dir}/service.jks"/>
+                                    <arg value="testing"/>
+                                    <arg value="service"/>
+                                    <arg value="${keys.dir}/client.jks"/>
+                                    <arg value="testing"/>
+                                    <classpath 
refid="maven.dependency.classpath"/>
+                                    <classpath 
refid="maven.compile.classpath"/>
+                                    <classpath 
refid="maven.runtime.classpath"/>
+                                </java>
+                                <java 
classname="org.wso2.carbon.utils.security.KeyImporter">
+                                    <arg value="${keys.dir}/client.jks"/>
+                                    <arg value="testing"/>
+                                    <arg value="client"/>
+                                    <arg value="${keys.dir}/service.jks"/>
+                                    <arg value="testing"/>
+                                    <classpath 
refid="maven.dependency.classpath"/>
+                                    <classpath 
refid="maven.compile.classpath"/>
+                                    <classpath 
refid="maven.runtime.classpath"/>
+                                </java>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>copy-code</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/generated/src</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <enableRulesSummary>false</enableRulesSummary>
+                </configuration>
+            </plugin>
+            <!--<plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clover-plugin</artifactId>
+                <configuration>
+                    <licenseLocation>${clover.license.file}</licenseLocation>
+                    <targetPercentage>60%</targetPercentage>
+                    <generateHtml>true</generateHtml>
+                    <generatePdf>false</generatePdf>
+                    <generateXml>false</generateXml>
+                    <excludes>
+                        <exclude>**/*TestSuite.java</exclude>
+                        <exclude>**/*Test.java</exclude>
+                    </excludes>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>aggregate</goal>
+                            <goal>instrument</goal>
+                            <goal>clover</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>-->
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.core</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.utils</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.rm</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.security.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2</artifactId>
+            <version>1.5.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.security.wso2</groupId>
+            <artifactId>wss4j</artifactId>
+            <version>1.5.4.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>opensaml.wso2</groupId>
+            <artifactId>opensaml</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.security.rampart</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
+            <artifactId>axiom</artifactId>
+            <version>1.2.7.wso2v1</version>
+        </dependency>
+    </dependencies>
+
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+                <configuration>
+                    
<outputDirectory>../../../target/site/wso2wsas-samples/${artifactId}
+                    </outputDirectory>
+                    
<reportsDirectory>target/surefire-reports</reportsDirectory>
+                    <outputName>${artifactId}-test-report</outputName>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <configuration>
+                    
<outputDirectory>../../../target/site/wso2wsas-samples/${artifactId}
+                    </outputDirectory>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>1.1.1</version>
+                <configuration>
+                    <!--<xmlOutput>true|false</xmlOutput>
+                    <xmlOutputDirectory>
+                    directory location of xml findbugs report
+                    </xmlOutputDirectory>
+                    <threshold>Normal</threshold>
+                    <effort>Default</effort>
+                    <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
+                    <includeFilterFile>findbugs-include.xml</includeFilterFile>
+                    <visitors>FindDeadLocalStores,UnreadFields</visitors>
+                    
<omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors>
+                    <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze>
+                    
<pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList>
+                    <debug>true|false</debug>
+                    <relaxed>true|false</relaxed>-->
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+            </plugin>
+            <!--<plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clover-plugin</artifactId>
+            </plugin>-->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-pmd-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </reporting>
+</project>

_______________________________________________
Wsas-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to