Author: richard.opalka(a)jboss.com
Date: 2011-08-12 06:15:42 -0400 (Fri, 12 Aug 2011)
New Revision: 14803
Added:
thirdparty/cxf/branches/cxf-2.3.1/etc/
thirdparty/cxf/branches/cxf-2.3.1/etc/apache-header.txt
thirdparty/cxf/branches/cxf-2.3.1/etc/cxf.rdf
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXF.importorder
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCleanUp.xml
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCodeFormatter.xml
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/addcheckstyle.xsl
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/codetemplates.xml
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/template.checkstyle-config.xml
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/xmltemplates.xml
thirdparty/cxf/branches/cxf-2.3.1/etc/idea/
thirdparty/cxf/branches/cxf-2.3.1/etc/idea/README.txt
thirdparty/cxf/branches/cxf-2.3.1/etc/idea/settings.jar
thirdparty/cxf/branches/cxf-2.3.1/etc/rat.unknowns.txt
thirdparty/cxf/branches/cxf-2.3.1/etc/survey/
thirdparty/cxf/branches/cxf-2.3.1/etc/survey/README
thirdparty/cxf/branches/cxf-2.3.1/etc/survey/SurveySummary.pdf
thirdparty/cxf/branches/cxf-2.3.1/etc/svn-auto-props
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/META-INF/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/META-INF/maven/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/META-INF/maven/archetype.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorld.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/Option.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlArtifact.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOption.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/test/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/test/java/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/test/java/org/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/test/java/org/apache/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/test/java/org/apache/cxf/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/test/resources/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IdltowsdlOption.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WsdltoidlOption.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/pom.xml
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/cxf/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/cxf/maven_plugin/
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDLValidatorMojo.java
thirdparty/cxf/branches/cxf-2.3.1/parent/
thirdparty/cxf/branches/cxf-2.3.1/parent/pom.xml
Log:
importing CXF 2.3.1 tag - (per partes) because of unreliable SVN RH repo :(
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/apache-header.txt
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/apache-header.txt (rev
0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/apache-header.txt 2011-08-12 10:15:42 UTC (rev
14803)
@@ -0,0 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/cxf.rdf
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/cxf.rdf (rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/cxf.rdf 2011-08-12 10:15:42 UTC (rev 14803)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rdf:RDF xml:lang="en"
+
xmlns="http://usefulinc.com/ns/doap#"
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+
xmlns:asfext="http://projects.apache.org/ns/asfext#"
+
xmlns:foaf="http://xmlns.com/foaf/0.1/">
+ <Project
rdf:about="http://cxf.apache.org/">
+ <created>2009-04-04</created>
+ <license
rdf:resource="http://usefulinc.com/doap/licenses/asl20" />
+ <name>Apache CXF</name>
+ <homepage
rdf:resource="http://cxf.apache.org/" />
+ <asfext:pmc
rdf:resource="http://cxf.apache.org/" />
+ <shortdesc>Apache CXF: An Open Source Service Framework</shortdesc>
+ <description>Apache CXF is an open source services framework. CXF helps you
build and develop services using frontend programming APIs like JAX-WS and JAX-RS. These
services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA
and work over a variety of transports such as HTTP, JMS or JBI.</description>
+ <bug-database
rdf:resource="http://issues.apache.org/jira/browse/CXF"
/>
+ <mailing-list
rdf:resource="http://cxf.apache.org/mailing-lists.html"
/>
+ <download-page
rdf:resource="http://cxf.apache.org/download.html" />
+ <programming-language>Java</programming-language>
+ <category
rdf:resource="http://projects.apache.org/category/library"
/>
+ <category
rdf:resource="http://projects.apache.org/category/xml" />
+ <category
rdf:resource="http://projects.apache.org/category/network-client" />
+ <category
rdf:resource="http://projects.apache.org/category/network-server" />
+ <repository>
+ <SVNRepository>
+ <location
rdf:resource="http://svn.apache.org/repos/asf/cxf"/>
+ <browse
rdf:resource="http://svn.apache.org/viewvc/cxf/"/>
+ </SVNRepository>
+ </repository>
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Daniel Kulp</foaf:name>
+ <foaf:mbox rdf:resource="mailto:dkulp@apache.org"/>
+ </foaf:Person>
+ </maintainer>
+ <asfext:implements>
+ <asfext:Standard>
+ <asfext:title>Web Services Metadata</asfext:title>
+ <asfext:body>JCP</asfext:body>
+ <asfext:id>JSR 181</asfext:id>
+ <asfext:url
rdf:resource="http://www.jcp.org/en/jsr/detail?id=181"/>
+ </asfext:Standard>
+ </asfext:implements>
+ <asfext:implements>
+ <asfext:Standard>
+ <asfext:title>JAX-WS</asfext:title>
+ <asfext:body>JCP</asfext:body>
+ <asfext:id>JSR 224</asfext:id>
+ <asfext:url
rdf:resource="http://www.jcp.org/en/jsr/detail?id=224"/>
+ </asfext:Standard>
+ </asfext:implements>
+ <asfext:implements>
+ <asfext:Standard>
+ <asfext:title>JAX-RS</asfext:title>
+ <asfext:body>JCP</asfext:body>
+ <asfext:id>JSR 311</asfext:id>
+ <asfext:url
rdf:resource="http://www.jcp.org/en/jsr/detail?id=311"/>
+ </asfext:Standard>
+ </asfext:implements>
+ </Project>
+
+</rdf:RDF>
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXF.importorder
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXF.importorder
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXF.importorder 2011-08-12 10:15:42 UTC
(rev 14803)
@@ -0,0 +1,27 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+#
+#Organize Import Order
+#Thu Aug 11 12:37:29 EDT 2005
+4=junit
+3=org.xml
+2=org.w3c
+1=javax
+0=java
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCleanUp.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCleanUp.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCleanUp.xml 2011-08-12 10:15:42 UTC
(rev 14803)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<profiles version="2">
+<profile kind="CleanUpProfile" name="CXF"
version="2">
+<setting id="cleanup.always_use_blocks" value="true"/>
+<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary"
value="true"/>
+<setting id="cleanup.use_this_for_non_static_field_access"
value="false"/>
+<setting id="cleanup.qualify_static_method_accesses_with_declaring_class"
value="false"/>
+<setting id="cleanup.remove_unused_private_fields"
value="true"/>
+<setting id="cleanup.remove_unnecessary_casts" value="true"/>
+<setting id="cleanup.sort_members_all" value="true"/>
+<setting id="cleanup.make_local_variable_final" value="true"/>
+<setting id="cleanup.never_use_parentheses_in_expressions"
value="true"/>
+<setting id="cleanup.always_use_this_for_non_static_method_access"
value="false"/>
+<setting id="cleanup.convert_to_enhanced_for_loop"
value="true"/>
+<setting id="cleanup.remove_trailing_whitespaces"
value="true"/>
+<setting id="cleanup.qualify_static_field_accesses_with_declaring_class"
value="false"/>
+<setting
id="cleanup.use_this_for_non_static_method_access_only_if_necessary"
value="true"/>
+<setting id="cleanup.always_use_parentheses_in_expressions"
value="false"/>
+<setting id="cleanup.remove_unused_private_types"
value="true"/>
+<setting id="cleanup.format_source_code" value="true"/>
+<setting
id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class"
value="true"/>
+<setting id="cleanup.remove_unused_local_variables"
value="true"/>
+<setting id="cleanup.add_missing_nls_tags" value="false"/>
+<setting id="cleanup.add_missing_override_annotations"
value="false"/>
+<setting id="cleanup.add_missing_annotations" value="true"/>
+<setting id="cleanup.use_this_for_non_static_method_access"
value="false"/>
+<setting id="cleanup.make_variable_declarations_final"
value="false"/>
+<setting id="cleanup.remove_private_constructors"
value="true"/>
+<setting id="cleanup.make_parameters_final" value="false"/>
+<setting id="cleanup.remove_trailing_whitespaces_all"
value="true"/>
+<setting id="cleanup.add_generated_serial_version_id"
value="false"/>
+<setting id="cleanup.add_missing_deprecated_annotations"
value="true"/>
+<setting id="cleanup.organize_imports" value="true"/>
+<setting id="cleanup.qualify_static_member_accesses_with_declaring_class"
value="true"/>
+<setting id="cleanup.remove_unnecessary_nls_tags"
value="true"/>
+<setting id="cleanup.always_use_this_for_non_static_field_access"
value="false"/>
+<setting id="cleanup.remove_trailing_whitespaces_ignore_empty"
value="false"/>
+<setting id="cleanup.use_parentheses_in_expressions"
value="true"/>
+<setting id="cleanup.never_use_blocks" value="false"/>
+<setting id="cleanup.sort_members" value="false"/>
+<setting
id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class"
value="true"/>
+<setting id="cleanup.use_blocks_only_for_return_and_throw"
value="false"/>
+<setting id="cleanup.add_default_serial_version_id"
value="true"/>
+<setting id="cleanup.add_serial_version_id" value="false"/>
+<setting id="cleanup.use_blocks" value="true"/>
+<setting id="cleanup.make_private_fields_final" value="true"/>
+<setting id="cleanup.remove_unused_imports" value="true"/>
+<setting id="cleanup.remove_unused_private_methods"
value="true"/>
+<setting id="cleanup.remove_unused_private_members"
value="false"/>
+</profile>
+</profiles>
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCodeFormatter.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCodeFormatter.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/CXFCodeFormatter.xml 2011-08-12 10:15:42
UTC (rev 14803)
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<profiles version="11">
+<profile kind="CodeFormatterProfile" name="CXF Java Conventions"
version="11">
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant"
value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.size"
value="4"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk"
value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.continuation_indentation"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration"
value="18"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment"
value="0"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression"
value="32"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description"
value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_html"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indentation.size"
value="8"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration"
value="end_of_line"/>
+<setting id="org.eclipse.jdt.core.formatter.lineSplit"
value="110"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_header"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call"
value="18"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer"
value="18"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field"
value="0"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression"
value="18"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator"
value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode"
value="enabled"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression"
value="18"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier"
value="error"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration"
value="0"/>
+<setting
id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line"
value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block"
value="insert"/>
+<setting id="org.eclipse.jdt.core.compiler.source"
value="1.5"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.line_length"
value="110"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.compliance"
value="1.5"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.compact_else_if"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration"
value="18"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body"
value="0"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier"
value="error"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line"
value="false"/>
+<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform"
value="1.5"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer"
value="1"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags"
value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants"
value="49"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration"
value="16"/>
+<setting
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation"
value="18"/>
+<setting id="org.eclipse.jdt.core.formatter.tabulation.char"
value="space"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package"
value="0"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line"
value="true"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
value="insert"/>
+<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method"
value="1"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments"
value="insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column"
value="false"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator"
value="do not insert"/>
+<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block"
value="end_of_line"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression"
value="do not insert"/>
+<setting
id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter"
value="insert"/>
+</profile>
+</profiles>
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/addcheckstyle.xsl
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/addcheckstyle.xsl
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/addcheckstyle.xsl 2011-08-12 10:15:42
UTC (rev 14803)
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" indent="yes"/>
+ <xsl:strip-space elements="*"/>
+
+ <xsl:param name="checkstyleconfig"/>
+ <xsl:param name="checkstyleconfigcorba"/>
+
+ <xsl:template match="*">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="checkstyle-configurations">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+
+ <xsl:choose>
+ <xsl:when test="not(check-configuration/@name='CXF CORBA
Checks')">
+ <check-configuration name="CXF Checks"
type="external" description="">
+ <xsl:attribute name="location"><xsl:value-of
select="$checkstyleconfig"/></xsl:attribute>
+ </check-configuration>
+ <check-configuration name="CXF CORBA Checks"
type="external" description="">
+ <xsl:attribute name="location"><xsl:value-of
select="$checkstyleconfigcorba"/></xsl:attribute>
+ </check-configuration>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
+
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/codetemplates.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/codetemplates.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/codetemplates.xml 2011-08-12 10:15:42
UTC (rev 14803)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+<templates><template autoinsert="true"
context="gettercomment_context" deleted="false"
description="Comment for getter method" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.gettercomment"
name="gettercomment">/** * @return Returns the ${bare_field_name}.
+ */</template><template autoinsert="true"
context="settercomment_context" deleted="false"
description="Comment for setter method" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.settercomment"
name="settercomment">/**
+ * @param ${param} The ${bare_field_name} to set.
+ */</template><template autoinsert="true"
context="constructorcomment_context" deleted="false"
description="Comment for created constructors" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment"
name="constructorcomment">/**
+ * ${tags}
+ */</template><template autoinsert="false"
context="filecomment_context" deleted="false"
description="Comment for created Java files" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.filecomment"
name="filecomment">/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+</template><template autoinsert="false"
context="typecomment_context" deleted="false"
description="Comment for created types" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.typecomment"
name="typecomment">/**
+ * ${tags}
+ */</template><template autoinsert="false"
context="fieldcomment_context" deleted="false"
description="Comment for fields" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment"
name="fieldcomment"></template><template autoinsert="true"
context="methodcomment_context" deleted="false"
description="Comment for non-overriding methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.methodcomment"
name="methodcomment">/**
+ * ${tags}
+ */</template><template autoinsert="true"
context="overridecomment_context" deleted="false"
description="Comment for overriding methods" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.overridecomment"
name="overridecomment">/** {@inheritDoc}*/</template><template
autoinsert="true" context="delegatecomment_context"
deleted="false" description="Comment for delegate methods"
enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment"
name="delegatecomment">/**
+ * ${tags}
+ * ${see_to_target}
+ */</template><template autoinsert="true"
context="newtype_context" deleted="false" description="Newly
created files" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.newtype"
name="newtype">${filecomment}
+${package_declaration}
+
+${typecomment}
+${type_declaration}</template><template autoinsert="true"
context="classbody_context" deleted="false" description="Code in
new class type bodies" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.classbody"
name="classbody">
+</template><template autoinsert="true"
context="interfacebody_context" deleted="false" description="Code
in new interface type bodies" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.interfacebody"
name="interfacebody">
+</template><template autoinsert="true"
context="enumbody_context" deleted="false" description="Code in
new enum type bodies" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.enumbody"
name="enumbody">
+</template><template autoinsert="true"
context="annotationbody_context" deleted="false"
description="Code in new annotation type bodies" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.annotationbody"
name="annotationbody">
+</template><template autoinsert="true"
context="catchblock_context" deleted="false" description="Code in
new catch blocks" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.catchblock"
name="catchblock">// ${todo} Auto-generated catch block
+${exception_var}.printStackTrace();</template><template
autoinsert="true" context="methodbody_context"
deleted="false" description="Code in created method stubs"
enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodbody"
name="methodbody">// ${todo} Auto-generated method stub
+${body_statement}</template><template autoinsert="true"
context="constructorbody_context" deleted="false"
description="Code in created constructor stubs" enabled="true"
id="org.eclipse.jdt.ui.text.codetemplates.constructorbody"
name="constructorbody">${body_statement}
+// ${todo} Auto-generated constructor stub</template><template
autoinsert="true" context="getterbody_context"
deleted="false" description="Code in created getters"
enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.getterbody"
name="getterbody">return ${field};</template><template
autoinsert="true" context="setterbody_context"
deleted="false" description="Code in created setters"
enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.setterbody"
name="setterbody">${field} = ${param};</template></templates>
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/template.checkstyle-config.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/template.checkstyle-config.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/template.checkstyle-config.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+<checkstyle-configurations file-format-version="5.0.0">
+ <check-configuration name="CXF Checks"
location="@CHECKSTYLE_CONFIG_FILE@" type="external"
description=""/>
+ <check-configuration name="CXF CORBA Checks"
location="@CHECKSTYLE_CORBA_CONFIG_FILE@" type="external"
description=""/>
+</checkstyle-configurations>
\ No newline at end of file
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/xmltemplates.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/xmltemplates.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/eclipse/xmltemplates.xml 2011-08-12 10:15:42 UTC
(rev 14803)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+<templates><template autoinsert="true" context="xml_new"
deleted="false" description="xml declaration" enabled="true"
id="org.eclipse.wst.xml.ui.internal.templates.xmldeclaration" name="xml
declaration"><?xml version="1.0"
encoding="${encoding}"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+--></template></templates>
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/idea/README.txt
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/idea/README.txt (rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/idea/README.txt 2011-08-12 10:15:42 UTC (rev
14803)
@@ -0,0 +1,22 @@
+
+To setup an IntelliJ project: (tested with version 5.1.2)
+
+1) From the trunk, run "mvn process-test-sources -Pnochecks idea:idea"
+
+2) From IntelliJ, open the project created above
+
+3) From IntelliJ, select "File -> Import Settings". Navigate to this
folder
+ and sellect the settings.jar file. Let it import everything. Restart.
+
+4) From IntelliJ, select "File -> Settings", select "Project Code
Style",
+ "Use per-project code style","Import", and select the
"CXFStyle" option.
+
+Optional:
+5) If you have the "JetStyle" plugin installed, select "File ->
Settings",
+ "Checkstyle", "Select Checkstyle Configuration", navigate to
trunk/checkstyle.xml.
+
+
+
+
+
+
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/idea/settings.jar
===================================================================
(Binary files differ)
Property changes on: thirdparty/cxf/branches/cxf-2.3.1/etc/idea/settings.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/rat.unknowns.txt
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/rat.unknowns.txt (rev
0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/rat.unknowns.txt 2011-08-12 10:15:42 UTC (rev
14803)
@@ -0,0 +1,320 @@
+
+W3C Schemas:
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/addressing.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/http.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/mime-binding.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/soap-binding.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/soap-encoding.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/wsdl.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/wsrm.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/xml.xsd
+ !????? ./common/schemas/src/main/resources/schemas/wsdl/XMLSchema.xsd
+ !????? ./rt/ws/rm/src/main/resources/schemas/configuration/wsrm-policy.xsd
+ !????? ./rt/ws/rm/src/main/resources/schemas/wsdl/wsrm.xsd
+ !????? ./rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd
+ !????? ./rt/ws/policy/src/main/resources/schemas/datatypes.dtd
+ !????? ./rt/ws/policy/src/main/resources/schemas/ws-policy-200409.xsd
+ !????? ./rt/ws/policy/src/main/resources/schemas/xml.xsd
+ !????? ./rt/ws/policy/src/main/resources/schemas/xmldsig-core-schema.xsd
+ !????? ./rt/ws/policy/src/main/resources/schemas/XMLSchema.dtd
+
+Files without support for comments (and one liners with no creativity)
+ !????? ./common/xjc/dv/src/main/resources/META-INF/services/com.sun.tools.xjc.Plugin
+ !????? ./common/xjc/ts/src/main/resources/META-INF/services/com.sun.tools.xjc.Plugin
+ !?????
./tools/wsdlto/test/src/test/resources/META-INF/services/com.sun.tools.xjc.Plugin
+ !????? ./rt/bindings/http/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/bindings/jbi/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/bindings/object/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/bindings/soap/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/bindings/xml/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/frontend/jaxws/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/management/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/transports/http-jetty/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/transports/http/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/transports/jbi/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/transports/jms/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/transports/local/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/ws/addr/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/ws/policy/src/main/resources/META-INF/cxf/cxf.extension
+ !????? ./rt/ws/rm/src/main/resources/META-INF/cxf/cxf.extension
+ !?????
./rt/frontend/jaxws/src/main/resources/META-INF/services/javax.xml.ws.spi.Provider
+ !????? ./rt/frontend/js/src/main/resources/META-INF/services/javax.xml.ws.spi.Provider
+ !????? ./rt/core/src/main/resources/META-INF/services/org.apache.cxf.bus.factory
+
+Readme type files
+ !????? ./distribution/src/main/release/lib/WHICH_JARS
+
+License text files
+ !????? ./distribution/src/main/release/licenses/asm.txt
+ !????? ./distribution/src/main/release/licenses/bouncy-castle.txt
+ !????? ./distribution/src/main/release/licenses/bsd.txt
+ !????? ./distribution/src/main/release/licenses/cdd1-1.0.txt
+ !????? ./distribution/src/main/release/licenses/jaxen.txt
+ !????? ./distribution/src/main/release/licenses/jdom.txt
+ !????? ./distribution/src/main/release/licenses/MPL-1.1.txt
+ !????? ./distribution/src/main/release/licenses/ruby-mit.txt
+ !????? ./distribution/src/main/release/licenses/sl4j.txt
+ !????? ./distribution/src/main/release/licenses/w3c.html
+ !????? ./distribution/src/main/release/licenses/ws-policy.txt
+ !????? ./distribution/src/main/release/licenses/wsa.txt
+ !????? ./distribution/src/main/release/licenses/wsdl.txt
+ !????? ./distribution/src/main/release/licenses/wsdl4j.txt
+ !????? ./rt/databinding/aegis/src/main/resources/META-INF/NOTICE.jdom
+
+JDOM Licensed: (NOTICE included in jar as well as in distro)
+ !?????
./rt/databinding/aegis/src/main/generated/org/apache/cxf/aegis/util/jdom/StaxBuilder.java
+
+
+Generated:
+ !?????
./integration/jbi/src/test/resources/service-assemblies/cxf-demo-service-assembly/version_1/sus/CXFServiceEngine/JBIDemoSE_AProvider/META-INF/MANIFEST.MF
+
+
+"Binary" files (may be text files, but they are uses as sample "wire
dumps" to
+test various things and/or as direct string compares of generated data. Some may be
changed as
+part of the work around CXF-1000:
+ !????? ./common/common/src/test/java/org/apache/cxf/helpers/resources/test.xml
+ !????? ./tools/jdee/src/main/java/org/apache/cxf/maven_plugin/jdee/prj.vm
+ !?????
./tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/namespace2package.cfg
+ !?????
./tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/wsdltojavaexclude.cfg
+ !????? ./systests/src/test/java/org/apache/cxf/systest/http/resources/Truststore.pem
+ !????? ./systests/src/test/java/org/apache/cxf/systest/mtom/nonmtom.xml
+ !????? ./systests/src/test/java/org/apache/cxf/systest/mtom/request
+ !????? ./systests/src/test/java/org/apache/cxf/systest/mtom/request-url-attachment
+ !????? ./systests/src/test/java/org/apache/cxf/systest/provider/attachmentData
+ !?????
./systests/src/test/java/org/apache/cxf/systest/provider/resources/GreetMeRpcLiteralReqLogical.xml
+ !?????
./systests/src/test/java/org/apache/cxf/systest/provider/resources/XML_GreetMeDocLiteralResp.xml
+ !????? ./systests/src/test/java/org/apache/cxf/systest/rest/resources/add_book_json.txt
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/CustomerAllResp.xml
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/CustomerJohnReq.xml
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/CustomerJohnResp.xml
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/expected_add_book_json.txt
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/expected_get_book123_xmlwrapped.txt
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/expected_json_book123.txt
+ !?????
./systests/src/test/java/org/apache/cxf/systest/rest/resources/expected_json_books.txt
+ !????? ./systests/src/test/java/org/apache/cxf/systest/swa/resources/attach.jpeg1
+ !????? ./systests/src/test/java/org/apache/cxf/systest/swa/resources/attach.jpeg2
+ !????? ./systests/src/test/resources/attachmentBinaryData
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/generator/wsdl11/expected/DBServiceFaultBean.java.source
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/generator/wsdl11/expected/FaultDetail.java.source
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_localName.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_no_webparam.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_no_wrapperclass.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_with_wrapperclass.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_holder.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_rpclist_no_sei.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl
+ !?????
./tools/javato/test/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/generator/wsdl11/expected/DBServiceFaultBean.java.source
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/generator/wsdl11/expected/FaultDetail.java.source
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_localName.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_no_webparam.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_no_wrapperclass.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_doc_lit_wrapped_with_wrapperclass.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_holder.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/expected_rpclist_no_sei.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/rpc_greeter.wsdl
+ !?????
./tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/stock_noanno_rpc.wsdl
+ !????? ./rt/core/src/test/java/org/apache/cxf/attachment/axis2_mimedata
+ !????? ./rt/core/src/test/java/org/apache/cxf/attachment/mimedata
+ !????? ./rt/core/src/test/java/org/apache/cxf/attachment/swadata
+ !????? ./rt/core/src/test/java/org/apache/cxf/attachment/swareq
+ !?????
./rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/attachment/reference/referring.wsdl
+ !????? ./rt/ws/policy/src/test/resources/normalized/test10.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test11.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test12.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test13.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test14.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test15.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test16.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test17.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test18.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test19.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test2.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test20.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test21.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test22.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test23.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test24.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test25.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test3.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test4.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test5.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test6.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test7.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test8.xml
+ !????? ./rt/ws/policy/src/test/resources/normalized/test9.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test10.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test11.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test12.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test13.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test14.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test15.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test16.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test17.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test18.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test19.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test2.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test20.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test21.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test22.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test23.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test24.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test25.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test26.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test27.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test28.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test3.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test4.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test5.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test6.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test7.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test8.xml
+ !????? ./rt/ws/policy/src/test/resources/samples/test9.xml
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/ca.crl
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/cacert.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/caprivkey.pem
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/certs/cherry-ra-cert.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/cherry.chain
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/csrcherry.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/csrra.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/csrwibble.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/index.txt
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/index.txt.old
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/newcerts/1345.pem
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/newcerts/1346.pem
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/newcerts/1347.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/serial
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/demoCA/serial.old
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/exts
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/ra-ca-cert.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/raprivkey.pem
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/certs/wibble-ra-cert.pem
+ !????? ./distribution/src/main/release/samples/wsdl_first_https/certs/wibble.chain
+ !?????
./distribution/src/main/release/samples/wsdl_first_https/src/demo/hw_https/resources/abigcompany_ca.pem
+ !?????
./rt/transports/http/src/test/java/org/apache/cxf/transport/https/resources/abigcompany_ca.pem
+ !????? ./rt/ws/security/src/test/java/META-INF/cxf/key.rsa
+ !????? ./rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/signed.xml
+ !?????
./rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/signed_invalid.xml
+ !?????
./rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/wsse-request-clean.xml
+ !????? ./rt/bindings/http/src/test/java/org/apache/cxf/binding/http/mtom/addPerson
+ !????? ./rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/resources/emptyReq.xml
+ !????? ./rt/frontend/simple/src/test/java/org/apache/cxf/frontend/soap/soap11.xml
+ !????? ./rt/frontend/simple/src/test/java/org/apache/cxf/frontend/soap/soap12.xml
+ !????? ./rt/frontend/simple/src/test/java/org/apache/cxf/service/stax/req.xml
+ !????? ./rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/service/echoFoo.xsd
+ !????? ./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/Echo.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/inheritance/GetEmployee.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/inheritance/ReceiveEmployee.xml
+ !????? ./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/integration/bean11.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/array/DuplicateArrayReturnItem.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/BadBeanDescriptor.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/EchoData.xml
+ !????? ./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/GetData.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/MyInterface.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/basic/MyInterface2.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/AnnotatedBean3.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/CollectionTest$CollectionService.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/dto/GetDTO.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/DualOutService.aegis.xml
+ !????? ./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/echo11.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/missing/Inner.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/missing/Outer.aegis.xml
+ !?????
./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/missing/package.html
+ !????? ./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xml/stax/bean11.xml
+ !????? ./rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/xml/stax/read1.xml
+ !????? ./distribution/src/main/release/samples/restful_http_binding/add.json
+ !????? ./distribution/src/main/release/samples/restful_http_binding/add.xml
+ !????? ./distribution/src/main/release/samples/restful_http_binding/index.html
+ !????? ./distribution/src/main/release/samples/restful_http_binding/update.xml
+
+MTOSI stuff: (see NOTICE file)
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/DiscoveryServiceSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/EquipmentInventoryMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/FaultServiceSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/InventoryRetrievalSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/ManagedElementMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/MultiLayerSubnetworkMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/NotificationServiceSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/OperationsSystemMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/ProtectionMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_http/TransmissionDescriptorMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/DiscoveryServiceSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/EquipmentInventoryMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/FaultServiceSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/InventoryRetrievalSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/ManagedElementMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/MultiLayerSubnetworkMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/NotificationServiceSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/OperationsSystemMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/ProtectionMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/binding/soap_jms/TransmissionDescriptorMgrSOAP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/ConfigurationService.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/DiscoveryService.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/EquipmentInventoryMgr.wsdl
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/Exceptions.wsdl
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/FaultService.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/InventoryRetrieval.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/ManagedElementMgr.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/MultiLayerSubnetworkMgr.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/NotificationService.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/OperationsSystemMgr.wsdl
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/ProtectionMgr.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/common/TransmissionDescriptorMgr.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/async_binding.xml
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/DiscoveryServiceSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/EquipmentInventoryMgrSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/FaultServiceSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/InventoryRetrievalSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/ManagedElementMgrSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/MultiLayerSubnetworkMgrSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/NotificationServiceSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/OperationsSystemMgrSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/ProtectionMgrSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/http/TransmissionDescriptorMgrSOAP_HTTP.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/DiscoveryServiceSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/EquipmentInventoryMgrSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/FaultServiceSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/InventoryRetrievalSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/ManagedElementMgrSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/MultiLayerSubnetworkMgrSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/NotificationServiceSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/OperationsSystemMgrSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/ProtectionMgrSOAP_JMS.wsdl
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/wsdl/transport/jms/TransmissionDescriptorMgrSOAP_JMS.wsdl
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/xsd/common/Definitions.xsd
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/xsd/common/Header.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/common/HeaderVendorExtensions.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/AlarmRetrieval.xsd
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/Common.xsd
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/Discovery.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/EquipmentInventoryMgr.xsd
+ !????? ./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/Exceptions.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/InventoryRetrieval.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/ManagedElementMgr.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/MultiLayerSubnetworkMgr.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/NotificationService.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/OperationsSystemMgr.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/ProtectionMgr.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/TransmissionDescriptorMgr.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/interfaces/VendorExtensions.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/Equipment.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/GlobalDefinitions.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/Inventory.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/LayerRates.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/ManagedElement.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/ManagementDomain.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/MultiLayerSubnetwork.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/Notifications.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/OperationsSystem.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/PGPParameters.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/ProbableCauses.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/Protection.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/SubnetworkConnection.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/TerminationPoint.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/TopologicalLink.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/TransmissionDescriptor.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/TransmissionParameters.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/VendorExtensions.xsd
+ !?????
./distribution/src/main/release/samples/mtosi_1.1/xsd/networkResources/VendorObject.xsd
+
+
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/survey/README
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/survey/README (rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/survey/README 2011-08-12 10:15:42 UTC (rev
14803)
@@ -0,0 +1,7 @@
+This is the summary results of the USER Survey that the CXF community
+conducted in September 2010.
+
+If you are interested in seeing the raw data, please contact Daniel
+Kulp (dkulp at
apache.org)
+
+
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/survey/SurveySummary.pdf
===================================================================
(Binary files differ)
Property changes on: thirdparty/cxf/branches/cxf-2.3.1/etc/survey/SurveySummary.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: thirdparty/cxf/branches/cxf-2.3.1/etc/svn-auto-props
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/etc/svn-auto-props (rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/etc/svn-auto-props 2011-08-12 10:15:42 UTC (rev
14803)
@@ -0,0 +1,83 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+#
+### Section for configuring miscelleneous Subversion options.
+[miscellany]
+### Set enable-auto-props to 'yes' to enable automatic properties
+### for 'svn add' and 'svn import', it defaults to 'no'.
+### Automatic properties are defined in the section 'auto-props'.
+enable-auto-props = yes
+
+### Section for configuring automatic properties.
+### The format of the entries is:
+### file-name-pattern = propname[=value][;propname[=value]...]
+### The file-name-pattern can contain wildcards (such as '*' and
+### '?'). All entries which match will be applied to the file.
+### Note that auto-props functionality must be enabled, which
+### is typically done by setting the 'enable-auto-props' option.
+[auto-props]
+*.java = svn:eol-style=native;svn:keywords=Rev Date
+*.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.xsl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.xsd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.xjb = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.wsdl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Rev Date
+.checkstyle = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+.pmd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+.ruleset = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.c = svn:eol-style=native;svn:keywords=Rev Date
+*.cpp = svn:eol-style=native;svn:keywords=Rev Date
+*.h = svn:eol-style=native;svn:keywords=Rev Date
+*.dsp = svn:eol-style=CRLF
+*.dsw = svn:eol-style=CRLF
+*.sh = svn:eol-style=native;svn:executable
+*.bat = svn:eol-style=native
+*.pl = svn:eol-style=native
+*.py = svn:eol-style=native
+*.cmd = svn:eol-style=native
+*.txt = svn:eol-style=native;svn:mime-type=text/plain
+*.cat = svn:eol-style=native;svn:mime-type=text/plain
+*.htm* = svn:eol-style=native;svn:mime-type=text/html;svn:keywords=Rev Date
+ChangeLog = svn:eol-style=native;svn:mime-type=text/plain
+README* = svn:eol-style=native;svn:mime-type=text/plain
+LICENSE* = svn:eol-style=native;svn:mime-type=text/plain
+NOTICE* = svn:eol-style=native;svn:mime-type=text/plain
+TODO* = svn:eol-style=native;svn:mime-type=text/plain
+KEYS* = svn:eol-style=native;svn:mime-type=text/plain
+INSTALL* = svn:eol-style=native;svn:mime-type=text/plain
+WHATSNEW* = svn:eol-style=native;svn:mime-type=text/plain
+NEWS* = svn:eol-style=native;svn:mime-type=text/plain
+COPYING = svn:eol-style=native;svn:mime-type=text/plain
+*.png = svn:mime-type=image/png
+*.jpg = svn:mime-type=image/jpeg
+*.gif = svn:mime-type=image/gif
+Makefile = svn:eol-style=native
+*.css = svn:eol-style=native
+*.js = svn:eol-style=native
+*.jsx = svn:eol-style=native
+#Tuscany/SCA work should also have:
+*.wsdd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.scdl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.componentType = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Rev Date
+*.fragment = svn:eol-style=native
+sca.subsystem = svn:eol-style=native;svn:mime-type=text/xml
+
+
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/pom.xml
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/pom.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/pom.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!--
+ licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../../../parent/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf.archetype</groupId>
+ <artifactId>cxf-jaxws-javafirst</artifactId>
+ <name>Apache CXF Archetype - Simple JAX-WS Java First</name>
+ <version>2.3.1</version>
+ <url>http://cxf.apache.org</url>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ <eclipse.skip>true</eclipse.skip>
+ </properties>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </build>
+</project>
\ No newline at end of file
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/META-INF/maven/archetype.xml
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/META-INF/maven/archetype.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/META-INF/maven/archetype.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,29 @@
+<!--
+ licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+<archetype>
+ <id>cxf-spring-basic</id>
+ <sources>
+ <source>src/main/java/HelloWorldImpl.java</source>
+ <source>src/main/java/HelloWorld.java</source>
+ </sources>
+ <resources>
+ <resource>src/main/webapp/WEB-INF/beans.xml</resource>
+ <resource>src/main/webapp/WEB-INF/web.xml</resource>
+ </resources>
+</archetype>
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/pom.xml
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/pom.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/pom.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,64 @@
+## licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you 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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>$groupId</groupId>
+ <artifactId>$artifactId</artifactId>
+ <version>$version</version>
+ <packaging>war</packaging>
+ <name>Simple CXF project using spring configuration</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxws</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-transports-http</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+
<projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
+ <wtpmanifest>true</wtpmanifest>
+ <wtpapplicationxml>true</wtpapplicationxml>
+ <wtpversion>2.0</wtpversion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorld.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorld.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorld.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,25 @@
+## licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you 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.
+package ${packageName};
+
+import javax.jws.WebService;
+
+@WebService
+public interface HelloWorld {
+ String sayHi(String text);
+}
+
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,29 @@
+## licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you 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.
+
+package ${packageName};
+
+import javax.jws.WebService;
+
+@WebService(endpointInterface = "${packageName}.HelloWorld")
+public class HelloWorldImpl implements HelloWorld {
+
+ public String sayHi(String text) {
+ return "Hello " + text;
+ }
+}
+
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,35 @@
+## licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you 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.
+<?xml version="1.0" encoding="UTF-8"?>
+<beans
xmlns="http://www.springframework.org/schema/beans"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xsi:schemaLocation="
+
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
+
+
+ <import resource="classpath:META-INF/cxf/cxf.xml" />
+ <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
+ <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
+
+ <jaxws:endpoint
+ id="helloWorld"
+ implementor="${packageName}.HelloWorldImpl"
+ address="/HelloWorld" />
+
+</beans>
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/cxf-jaxws-javafirst/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,49 @@
+## licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you 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.
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+
+<web-app>
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>WEB-INF/beans.xml</param-value>
+ </context-param>
+
+ <listener>
+ <listener-class>
+ org.springframework.web.context.ContextLoaderListener
+ </listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>CXFServlet</servlet-name>
+ <display-name>CXF Servlet</display-name>
+ <servlet-class>
+ org.apache.cxf.transport.servlet.CXFServlet
+ </servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>CXFServlet</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
Added: thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/pom.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/archetypes/pom.xml 2011-08-12 10:15:42
UTC (rev 14803)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-archetypes</artifactId>
+ <packaging>pom</packaging>
+ <version>2.3.1</version>
+ <name>Apache CXF Maven Archetypes</name>
+ <url>http://cxf.apache.org</url>
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+
+ <modules>
+ <module>cxf-jaxws-javafirst</module>
+ </modules>
+</project>
\ No newline at end of file
Added: thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/pom.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/pom.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,147 @@
+<?xml version="1.0"?>
+<!--
+ licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-codegen-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>2.3.1</version>
+ <name>Apache CXF Code Generation Maven2 Plugins</name>
+ <url>http://cxf.apache.org</url>
+
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-artifact-resolver</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>1.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-wsdlto-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-common-utilities</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-wsdlto-databinding-jaxb</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-wsdlto-frontend-jaxws</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ </dependency>
+ </dependencies>
+
+
+ <profiles>
+ <profile>
+ <id>ibmjdk</id>
+ <activation>
+ <property>
+ <name>java.vendor</name>
+ <value>IBM Corporation</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.8.1</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+
+</project>
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,122 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.cxf.helpers.CastUtils;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.plugin.logging.Log;
+import org.apache.maven.project.MavenProject;
+
+/**
+ * Manages switching to the classloader needed for creating the java sources and
restoring the old classloader
+ * when finished
+ */
+public class ClassLoaderSwitcher {
+
+ private Log log;
+ private String origClassPath;
+ private Map<Object, Object> origProps;
+ private ClassLoader origContextClassloader;
+
+ public ClassLoaderSwitcher(Log log) {
+ this.log = log;
+ }
+
+ /**
+ * Create and set the classloader that is needed for creating the java sources from
wsdl
+ *
+ * @param project
+ * @param useCompileClasspath
+ * @param classesDir
+ */
+ public void switchClassLoader(MavenProject project, boolean useCompileClasspath, File
classesDir) {
+ List<URL> urlList = new ArrayList<URL>();
+ StringBuilder buf = new StringBuilder();
+
+ try {
+ urlList.add(classesDir.toURI().toURL());
+ if (!useCompileClasspath) {
+ urlList.add(new
File(project.getBuild().getOutputDirectory()).toURI().toURL());
+ }
+ } catch (MalformedURLException e) {
+ // ignore
+ }
+
+ buf.append(classesDir.getAbsolutePath());
+ buf.append(File.pathSeparatorChar);
+ if (!useCompileClasspath) {
+ buf.append(project.getBuild().getOutputDirectory());
+ buf.append(File.pathSeparatorChar);
+ }
+ List<?> artifacts = useCompileClasspath ? project.getCompileArtifacts() :
project.getTestArtifacts();
+ for (Artifact a : CastUtils.cast(artifacts, Artifact.class)) {
+ try {
+ if (a.getFile() != null && a.getFile().exists()) {
+ urlList.add(a.getFile().toURI().toURL());
+ buf.append(a.getFile().getAbsolutePath());
+ buf.append(File.pathSeparatorChar);
+ // System.out.println(" " +
+ // a.getFile().getAbsolutePath());
+ }
+ } catch (MalformedURLException e) {
+ // ignore
+ }
+ }
+
+ origContextClassloader = Thread.currentThread().getContextClassLoader();
+ URLClassLoader loader = new URLClassLoader(urlList.toArray(new
URL[urlList.size()]),
+ origContextClassloader);
+ String newCp = buf.toString();
+
+ log.debug("Classpath: " + urlList.toString());
+
+ origProps = new HashMap<Object, Object>(System.getProperties());
+
+ origClassPath = System.getProperty("java.class.path");
+
+ Thread.currentThread().setContextClassLoader(loader);
+ System.setProperty("java.class.path", newCp);
+ }
+
+ /**
+ * Restore the old classloader
+ */
+ public void restoreClassLoader() {
+ Thread.currentThread().setContextClassLoader(origContextClassloader);
+ System.setProperty("java.class.path", origClassPath);
+
+ Map<Object, Object> newProps = new HashMap<Object,
Object>(System.getProperties());
+ for (Object o : newProps.keySet()) {
+ if (!origProps.containsKey(o)) {
+ System.clearProperty(o.toString());
+ }
+ }
+ System.getProperties().putAll(origProps);
+ }
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/Option.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/Option.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/Option.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,444 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+
+public class Option {
+ static final String DEFAULT_BINDING_FILE_PATH = "src" + File.separator +
"main"
+ + File.separator + "resources" + File.separator +
"defaultBinding.xml";
+
+ /**
+ * As maven will set null for an empty parameter we need
+ * this horrid inital value to tell if it has been
+ * configured or not yet.
+ */
+ private static final String DEFAULT_WSDL_LOCATION = "DEFAULTWSDLLOCATION -
WORKAROUND";
+
+ /**
+ *
+ */
+ protected List<String> packagenames = new ArrayList<String>();
+
+ /**
+ * Extra arguments to pass to the command-line code generator. For compatibility as
well as to
+ * specify any extra flags not addressed by other parameters
+ */
+ protected List<String> extraargs = new ArrayList<String>();
+
+ /**
+ * Extra arguments to pass to the XJC compiler command-line code generator.
+ * For compatibility as well as to specify any extra flags not addressed by other
parameters
+ */
+ protected List<String> xjcargs = new ArrayList<String>();
+
+ /**
+ * Directory where generated java classes will be created. Defaults to plugin
'sourceRoot' parameter
+ */
+ protected File outputDir;
+
+ /**
+ * Ignore the specified WSDL schema namespace when generating code.
+ * Also, optionally specifies the Java package name used by types described in the
excluded
+ * namespace(s) using schema-namespace[=java-packagename]
+ */
+ List<String> namespaceExcludes = new ArrayList<String>();
+
+ /**
+ * Enables or disables the loading of the default excludes namespace mapping. Default
is true.
+ */
+ Boolean defaultExcludesNamespace;
+
+ /**
+ * Enables or disables the loading of the default namespace package name mapping.
Default is true and
+ * <a
href=""http://www.w3.org/2005/08/addressing">
+ *
http://www.w3.org/2005/08/addressing=org.apache.cxf.ws.addressingnamespac...
+ * package mapping will be enabled.
+ */
+ Boolean defaultNamespacePackageMapping;
+
+ /**
+ * A set of dependent files used to detect the generator must process WSDL, even
+ * if generator marker files are up to date.
+ */
+ File dependencies[];
+
+ /**
+ * Redundant directories to be deleted after code generation
+ */
+ File redundantDirs[];
+
+ /**
+ * Specifies JAXWS or JAXB binding files. Use spaces to separate multiple entries.
+ */
+ String bindingFiles[] = new String[0];
+
+ /**
+ * Specifies the value of the @WebServiceClient annotation's wsdlLocation
property.
+ */
+ String wsdlLocation = DEFAULT_WSDL_LOCATION;
+
+ /**
+ * Specifies that the wsdlurl contains a plain text, new line delimited,
+ * list of wsdlurls instead of the wsdl itself.
+ */
+ Boolean wsdlList;
+
+ /**
+ * Specifies the frontend. Default is JAXWS. Currently supports only JAXWS frontend.
+ */
+ String frontEnd;
+
+ /**
+ * Specifies the databinding. Default is JAXB. Currently supports only JAXB
databinding.
+ */
+ String dataBinding;
+
+ /**
+ * Specifies the wsdl version .Default is WSDL1.1. Currently suppports only WSDL1.1
version.
+ */
+ String wsdlVersion;
+
+ /**
+ * Specify catalog file to map the imported wsdl/schema
+ */
+ String catalog;
+
+ /**
+ * Enables or disables processing of implicit SOAP headers (i.e. SOAP headers defined
in the
+ * wsdl:binding but not wsdl:portType section.) Default is false.
+ */
+ Boolean extendedSoapHeaders;
+
+ /**
+ * Enables validating the WSDL before generating the code.
+ */
+ Boolean validateWsdl;
+
+ /**
+ * Enables generation of fault Exception's SUID based on hash of classname.
+ */
+ Boolean useFQCNForFaultSerialVersionUID;
+
+ /**
+ * The WSDL service name to use for the generated code
+ */
+ String serviceName;
+
+ /**
+ * Automatically resolve naming conflicts without requiring the use of binding
customizations
+ */
+ Boolean autoNameResolution;
+
+ /**
+ * Disable generation of service address binding in the generated Java classes
+ */
+ Boolean noAddressBinding;
+
+ /**
+ * Allow element references when determining if an operation can be unwrapped or not
+ */
+ Boolean allowElementRefs;
+
+
+ public Option() {
+ super();
+ }
+
+ public List<String> getExtraargs() {
+ return extraargs;
+ }
+
+ public void setExtraargs(List<String> ea) {
+ this.extraargs.clear();
+ this.extraargs.addAll(ea);
+ }
+
+ public List<String> getXJCargs() {
+ return xjcargs;
+ }
+
+ public void setXJCargs(List<String> ea) {
+ this.xjcargs.clear();
+ this.xjcargs.addAll(ea);
+ }
+
+ public List<String> getPackagenames() {
+ return packagenames;
+ }
+
+ public void setPackagenames(List<String> pn) {
+ this.packagenames = pn;
+ }
+
+ public List<String> getNamespaceExcludes() {
+ return namespaceExcludes;
+ }
+
+ public void setNamespaceExcludes(List<String> namespaceExcludes) {
+ this.namespaceExcludes = namespaceExcludes;
+ }
+ public void setDependencies(File files[]) {
+ dependencies = files;
+ }
+
+ public File[] getDependencies() {
+ return dependencies;
+ }
+
+ public void setDeleteDirs(File files[]) {
+ redundantDirs = files;
+ }
+
+ public File[] getDeleteDirs() {
+ return redundantDirs;
+ }
+
+ public File getOutputDir() {
+ return outputDir;
+ }
+
+ public void setOutputDir(File f) {
+ outputDir = f;
+ }
+
+ public void setBindingFiles(String files[]) {
+ bindingFiles = files;
+ }
+ public String[] getBindingFiles() {
+ return bindingFiles;
+ }
+ public void addBindingFile(File file) {
+ String tmp[] = new String[bindingFiles.length + 1];
+ System.arraycopy(bindingFiles, 0, tmp, 0, bindingFiles.length);
+ bindingFiles = tmp;
+ bindingFiles[bindingFiles.length - 1] = file.getAbsolutePath();
+ }
+
+ public void addDefaultBindingFileIfExists(File baseDir) {
+ File defaultBindingFile = new File(baseDir, DEFAULT_BINDING_FILE_PATH);
+ if (defaultBindingFile.exists()) {
+ addBindingFile(defaultBindingFile);
+ }
+ }
+
+ public void setWsdlLocation(String s) {
+ wsdlLocation = s;
+ }
+
+ public String getWsdlLocation() {
+ return isSetWsdlLocation() ? wsdlLocation : null;
+ }
+
+ public boolean isSetWsdlLocation() {
+ return !DEFAULT_WSDL_LOCATION.equals(wsdlLocation);
+ }
+
+ public boolean isWsdlList() {
+ return wsdlList == null ? false : wsdlList;
+ }
+
+ public void setWsdlList(boolean wsdlList) {
+ this.wsdlList = wsdlList;
+ }
+
+ public String getFrontEnd() {
+ return frontEnd;
+ }
+
+ public void setFrontEnd(String frontEnd) {
+ this.frontEnd = frontEnd;
+ }
+
+ public String getDataBinding() {
+ return dataBinding;
+ }
+
+ public void setDataBinding(String dataBinding) {
+ this.dataBinding = dataBinding;
+ }
+
+ public String getWsdlVersion() {
+ return wsdlVersion;
+ }
+
+ public void setWsdlVersion(String wsdlVersion) {
+ this.wsdlVersion = wsdlVersion;
+ }
+
+ public String getCatalog() {
+ return catalog;
+ }
+
+ public void setCatalog(String catalog) {
+ this.catalog = catalog;
+ }
+
+ public boolean isExtendedSoapHeaders() {
+ return extendedSoapHeaders == null ? false : extendedSoapHeaders;
+ }
+
+ public void setExtendedSoapHeaders(boolean extendedSoapHeaders) {
+ this.extendedSoapHeaders = extendedSoapHeaders;
+ }
+
+ public boolean isValidateWsdl() {
+ return validateWsdl == null ? false : validateWsdl;
+ }
+
+ public void setValidateWsdl(boolean validateWsdl) {
+ this.validateWsdl = validateWsdl;
+ }
+
+ public boolean isUseFQCNForFaultSerialVersionUID() {
+ return useFQCNForFaultSerialVersionUID == null ? false :
useFQCNForFaultSerialVersionUID;
+ }
+
+ public void setUseFQCNForFaultSerialVersionUID(boolean
useFQCNForFaultSerialVersionUID) {
+ this.useFQCNForFaultSerialVersionUID = useFQCNForFaultSerialVersionUID;
+ }
+
+ public Boolean getDefaultExcludesNamespace() {
+ return defaultExcludesNamespace;
+ }
+
+ public void setDefaultExcludesNamespace(Boolean defaultExcludesNamespace) {
+ this.defaultExcludesNamespace = defaultExcludesNamespace;
+ }
+
+ public Boolean getDefaultNamespacePackageMapping() {
+ return defaultNamespacePackageMapping;
+ }
+
+ public void setDefaultNamespacePackageMapping(Boolean defaultNamespacePackageMapping)
{
+ this.defaultNamespacePackageMapping = defaultNamespacePackageMapping;
+ }
+
+ public String getServiceName() {
+ return serviceName;
+ }
+
+ public void setServiceName(String serviceName) {
+ this.serviceName = serviceName;
+ }
+
+ public boolean isAutoNameResolution() {
+ return autoNameResolution == null ? false : autoNameResolution;
+ }
+
+ public void setAutoNameResolution(boolean autoNameResolution) {
+ this.autoNameResolution = autoNameResolution;
+ }
+
+ public boolean isNoAddressBinding() {
+ return noAddressBinding == null ? false : noAddressBinding;
+ }
+
+ public void setNoAddressBinding(boolean noAddressBinding) {
+ this.noAddressBinding = noAddressBinding;
+ }
+
+ public boolean isAllowElementRefs() {
+ return allowElementRefs == null ? false : allowElementRefs;
+ }
+
+ public void setAllowElementRefs(boolean allowElementRefs) {
+ this.allowElementRefs = allowElementRefs;
+ }
+
+ public void copyOptions(Option destination) {
+ destination.setAutoNameResolution(isAutoNameResolution());
+ destination.setBindingFiles(getBindingFiles());
+ destination.setCatalog(getCatalog());
+ destination.setDataBinding(getDataBinding());
+ destination.setDefaultExcludesNamespace(getDefaultExcludesNamespace());
+
destination.setDefaultNamespacePackageMapping(getDefaultNamespacePackageMapping());
+ destination.setDeleteDirs(getDeleteDirs());
+ destination.setDependencies(getDependencies());
+ destination.setExtendedSoapHeaders(isExtendedSoapHeaders());
+ destination.setExtraargs(getExtraargs());
+ destination.setXJCargs(getXJCargs());
+ destination.setFrontEnd(getFrontEnd());
+ destination.setNamespaceExcludes(namespaceExcludes);
+ destination.setNoAddressBinding(isNoAddressBinding());
+ destination.setOutputDir(getOutputDir());
+ destination.setPackagenames(getPackagenames());
+ destination.setServiceName(getServiceName());
+ destination.setValidateWsdl(isValidateWsdl());
+
destination.setUseFQCNForFaultSerialVersionUID(isUseFQCNForFaultSerialVersionUID());
+ destination.setAllowElementRefs(isAllowElementRefs());
+ if (isSetWsdlLocation()) {
+ destination.setWsdlLocation(getWsdlLocation());
+ }
+ destination.setWsdlVersion(getWsdlVersion());
+ }
+
+ private <T> T setIfNull(T dest, T source) {
+ if (dest == null) {
+ dest = source;
+ }
+ return dest;
+ }
+
+ public void merge(Option defaultOptions) {
+ wsdlList = setIfNull(wsdlList, defaultOptions.wsdlList);
+ extendedSoapHeaders = setIfNull(extendedSoapHeaders,
defaultOptions.extendedSoapHeaders);
+ validateWsdl = setIfNull(validateWsdl, defaultOptions.validateWsdl);
+ useFQCNForFaultSerialVersionUID = setIfNull(useFQCNForFaultSerialVersionUID,
+ defaultOptions.useFQCNForFaultSerialVersionUID);
+ autoNameResolution = setIfNull(autoNameResolution,
defaultOptions.autoNameResolution);
+ noAddressBinding = setIfNull(noAddressBinding, defaultOptions.noAddressBinding);
+ allowElementRefs = setIfNull(allowElementRefs, defaultOptions.allowElementRefs);
+ defaultExcludesNamespace = setIfNull(defaultExcludesNamespace,
+ defaultOptions.defaultExcludesNamespace);
+ defaultNamespacePackageMapping = setIfNull(defaultNamespacePackageMapping,
+
defaultOptions.defaultNamespacePackageMapping);
+ frontEnd = setIfNull(frontEnd, defaultOptions.frontEnd);
+ dataBinding = setIfNull(dataBinding, defaultOptions.dataBinding);
+ wsdlVersion = setIfNull(wsdlVersion, defaultOptions.wsdlVersion);
+ catalog = setIfNull(catalog, defaultOptions.catalog);
+ serviceName = setIfNull(serviceName, defaultOptions.serviceName);
+ outputDir = setIfNull(outputDir, defaultOptions.outputDir);
+ extraargs.addAll(defaultOptions.extraargs);
+ xjcargs.addAll(defaultOptions.xjcargs);
+ bindingFiles = mergeList(bindingFiles, defaultOptions.bindingFiles,
String.class);
+ dependencies = mergeList(dependencies, defaultOptions.dependencies, File.class);
+ redundantDirs = mergeList(redundantDirs, defaultOptions.redundantDirs,
File.class);
+ packagenames.addAll(defaultOptions.packagenames);
+ namespaceExcludes.addAll(defaultOptions.namespaceExcludes);
+ }
+
+ @SuppressWarnings("unchecked")
+ private <T> T[] mergeList(T[] l1, T[] l2, Class<T> cls) {
+ if (l1 == null) {
+ return l2;
+ } else if (l2 == null) {
+ return l1;
+ }
+ int len = l1.length + l2.length;
+ T ret[] = (T[])java.lang.reflect.Array.newInstance(cls, len);
+ System.arraycopy(l1, 0, ret, 0, l1.length);
+ System.arraycopy(l2, 0, ret, l1.length, l2.length);
+ return ret;
+ }
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,500 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.tools.common.ToolContext;
+import org.apache.cxf.tools.wsdlto.WSDLToJava;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.InvalidRepositoryException;
+import org.apache.maven.artifact.factory.ArtifactFactory;
+import org.apache.maven.artifact.repository.ArtifactRepository;
+import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
+import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
+import org.apache.maven.artifact.resolver.ArtifactResolutionException;
+import org.apache.maven.artifact.resolver.ArtifactResolver;
+import org.apache.maven.execution.MavenSession;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.project.ProjectUtils;
+
+/**
+ * @goal wsdl2java
+ * @phase generate-sources
+ * @description CXF WSDL To Java Tool
+ * @requiresDependencyResolution test
+ */
+public class WSDL2JavaMojo extends AbstractMojo {
+
+ /**
+ * @parameter expression="${cxf.testSourceRoot}"
+ */
+ File testSourceRoot;
+
+ /**
+ * Path where the generated sources should be placed
+ *
+ * @parameter expression="${cxf.sourceRoot}"
+ *
default-value="${project.build.directory}/generated-sources/cxf"
+ * @required
+ */
+ File sourceRoot;
+
+ /**
+ * @parameter expression="${project.build.outputDirectory}"
+ * @required
+ */
+ String classesDirectory;
+
+ /**
+ * @parameter expression="${project}"
+ * @required
+ */
+ MavenProject project;
+
+ /**
+ * Default options to be used when a wsdl has not had it's options explicitly
specified.
+ *
+ * @parameter
+ */
+ Option defaultOptions = new Option();
+
+ /**
+ * @parameter
+ */
+ WsdlOption wsdlOptions[];
+
+ /**
+ * @parameter expression="${cxf.wsdlRoot}"
default-value="${basedir}/src/main/resources/wsdl"
+ */
+ File wsdlRoot;
+
+ /**
+ * @parameter expression="${cxf.testWsdlRoot}"
default-value="${basedir}/src/test/resources/wsdl"
+ */
+ File testWsdlRoot;
+
+ /**
+ * Directory in which the "DONE" markers are saved that
+ *
+ * @parameter expression="${cxf.markerDirectory}"
+ *
default-value="${project.build.directory}/cxf-codegen-plugin-markers"
+ */
+ File markerDirectory;
+
+ /**
+ * Use the compile classpath rather than the test classpath for execution useful if
the test dependencies
+ * clash with those of wsdl2java
+ *
+ * @parameter expression="${cxf.useCompileClasspath}"
default-value="false"
+ */
+ boolean useCompileClasspath;
+
+
+ /**
+ * Disables the scanning of the wsdlRoot/testWsdlRoot directories configured above.
+ * By default, we scan for *.wsdl (see include/exclude params as well) in the
wsdlRoot
+ * directories and run wsdl2java on all the wsdl's we find. This disables that
scan
+ * and requires an explicit wsdlOption to be set for each wsdl that needs to be
processed.
+ * @parameter expression="${cxf.disableDirectoryScan}"
default-value="false"
+ */
+ boolean disableDirectoryScan;
+
+ /**
+ * By default all maven dependencies of type "wsdl" are added to the
effective wsdlOptions. Setting this
+ * parameter to true disables this functionality
+ *
+ * @parameter expression="${cxf.disableDependencyScan}"
default-value="false"
+ */
+ boolean disableDependencyScan;
+
+ /**
+ * A list of wsdl files to include. Can contain ant-style wildcards and double
wildcards. Defaults to
+ * *.wsdl
+ *
+ * @parameter
+ */
+ String includes[];
+
+ /**
+ * A list of wsdl files to exclude. Can contain ant-style wildcards and double
wildcards.
+ *
+ * @parameter
+ */
+ String excludes[];
+
+ /**
+ * The local repository taken from Maven's runtime. Typically
$HOME/.m2/repository.
+ *
+ * @parameter expression="${localRepository}"
+ * @readonly
+ * @required
+ */
+ private ArtifactRepository localRepository;
+
+ /**
+ * Artifact factory, needed to create artifacts.
+ *
+ * @component
+ * @readonly
+ * @required
+ */
+ private ArtifactFactory artifactFactory;
+
+ /**
+ * The remote repositories used as specified in your POM.
+ *
+ * @parameter expression="${project.repositories}"
+ * @readonly
+ * @required
+ */
+ private List repositories;
+
+ /**
+ * Artifact repository factory component.
+ *
+ * @component
+ * @readonly
+ * @required
+ */
+ private ArtifactRepositoryFactory artifactRepositoryFactory;
+
+ /**
+ * The Maven session.
+ *
+ * @parameter expression="${session}"
+ * @readonly
+ * @required
+ */
+ private MavenSession mavenSession;
+
+ /**
+ * @component
+ * @readonly
+ * @required
+ */
+ private ArtifactResolver artifactResolver;
+
+
+
+ /**
+ * Merge WsdlOptions that point to the same file by adding the extraargs to the first
option and deleting
+ * the second from the options list
+ *
+ * @param options
+ */
+ private void mergeOptions(List<WsdlOption> effectiveWsdlOptions) {
+ if (wsdlOptions == null) {
+ return;
+ }
+ File outputDirFile = testSourceRoot == null ? sourceRoot : testSourceRoot;
+ for (WsdlOption o : wsdlOptions) {
+ if (defaultOptions != null) {
+ o.merge(defaultOptions);
+ }
+ if (o.getOutputDir() == null) {
+ o.setOutputDir(outputDirFile);
+ }
+
+ File file = o.getWsdlFile(project.getBasedir());
+ if (file != null && file.exists()) {
+ file = file.getAbsoluteFile();
+ for (WsdlOption o2 : effectiveWsdlOptions) {
+ File file2 = o2.getWsdlFile(project.getBasedir());
+ if (file2 != null && file2.exists() &&
file2.getAbsoluteFile().equals(file)) {
+ o.getExtraargs().addAll(0, o2.getExtraargs());
+ effectiveWsdlOptions.remove(o2);
+ break;
+ }
+ }
+ }
+ effectiveWsdlOptions.add(o);
+ }
+ }
+
+ /**
+ * @return effective WsdlOptions
+ * @throws MojoExecutionException
+ */
+ private List<WsdlOption> createWsdlOptionsFromScansAndExplicitWsdlOptions()
+ throws MojoExecutionException {
+ List<WsdlOption> effectiveWsdlOptions = new ArrayList<WsdlOption>();
+ List<WsdlOption> temp;
+ if (wsdlRoot != null && wsdlRoot.exists() &&
!disableDirectoryScan) {
+ temp = WsdlOptionLoader.loadWsdlOptionsFromFiles(wsdlRoot, includes,
excludes, defaultOptions,
+ sourceRoot);
+ effectiveWsdlOptions.addAll(temp);
+ }
+ if (testWsdlRoot != null && testWsdlRoot.exists() &&
!disableDirectoryScan) {
+ temp = WsdlOptionLoader.loadWsdlOptionsFromFiles(testWsdlRoot, includes,
excludes,
+ defaultOptions,
testSourceRoot);
+ effectiveWsdlOptions.addAll(temp);
+ }
+ if (!disableDependencyScan) {
+ temp = WsdlOptionLoader.loadWsdlOptionsFromDependencies(project,
defaultOptions, sourceRoot);
+ effectiveWsdlOptions.addAll(temp);
+ }
+ mergeOptions(effectiveWsdlOptions);
+ downloadRemoteWsdls(effectiveWsdlOptions);
+// String buildDir = project.getBuild().getDirectory();
+// File tempBindingDir = new File(buildDir, TEMPBINDINGS_DIR);
+// for (WsdlOption o : effectiveWsdlOptions) {
+// BindingFileHelper.setWsdlLocationInBindingsIfNotSet(project.getBasedir(),
tempBindingDir, o,
+// getLog());
+// }
+ return effectiveWsdlOptions;
+ }
+
+ @SuppressWarnings("unchecked")
+ private Artifact resolveRemoteWsdlArtifact(List remoteRepos, Artifact artifact)
+ throws MojoExecutionException {
+
+ /**
+ * First try to find the artifact in the reactor projects of the maven session.
+ * So an artifact that is not yet built can be resolved
+ */
+ List<MavenProject> rProjects = mavenSession.getSortedProjects();
+ for (MavenProject rProject : rProjects) {
+ if (artifact.getGroupId().equals(rProject.getGroupId())
+ && artifact.getArtifactId().equals(rProject.getArtifactId())
+ && artifact.getVersion().equals(rProject.getVersion())) {
+ Set<Artifact> artifacts = rProject.getArtifacts();
+ for (Artifact pArtifact : artifacts) {
+ if ("wsdl".equals(pArtifact.getType())) {
+ return pArtifact;
+ }
+ }
+ }
+ }
+
+ /**
+ * If this did not work resolve the artifact using the artifactResolver
+ */
+ try {
+ artifactResolver.resolve(artifact, remoteRepos, localRepository);
+ } catch (ArtifactResolutionException e) {
+ throw new MojoExecutionException("Error downloading wsdl
artifact.", e);
+ } catch (ArtifactNotFoundException e) {
+ throw new MojoExecutionException("Resource can not be found.", e);
+ }
+
+ return artifact;
+ }
+
+ private void downloadRemoteWsdls(List<WsdlOption> effectiveWsdlOptions) throws
MojoExecutionException {
+ List remoteRepos;
+ try {
+ remoteRepos = ProjectUtils.buildArtifactRepositories(repositories,
artifactRepositoryFactory,
+
mavenSession.getContainer());
+ } catch (InvalidRepositoryException e) {
+ throw new MojoExecutionException("Error build repositories for remote
wsdls", e);
+ }
+
+ for (WsdlOption wsdlOption : effectiveWsdlOptions) {
+ WsdlArtifact wsdlA = wsdlOption.getWsdlArtifact();
+ if (wsdlA == null) {
+ return;
+ }
+ Artifact wsdlArtifact = artifactFactory.createArtifact(wsdlA.getGroupId(),
wsdlA.getArtifactId(),
+ wsdlA.getVersion(),
+
Artifact.SCOPE_COMPILE, wsdlA.getType());
+ wsdlArtifact = resolveRemoteWsdlArtifact(remoteRepos, wsdlArtifact);
+ if (wsdlArtifact != null) {
+ String path = wsdlArtifact.getFile().getAbsolutePath();
+ getLog().info("Resolved WSDL artifact to file " + path);
+ wsdlOption.setWsdl(path);
+ }
+ }
+ }
+
+ public void execute() throws MojoExecutionException {
+ if (includes == null) {
+ includes = new String[] {
+ "*.wsdl"
+ };
+ }
+ defaultOptions.addDefaultBindingFileIfExists(project.getBasedir());
+ File classesDir = new File(classesDirectory);
+ classesDir.mkdirs();
+ markerDirectory.mkdirs();
+
+ List<WsdlOption> effectiveWsdlOptions =
createWsdlOptionsFromScansAndExplicitWsdlOptions();
+
+ if (effectiveWsdlOptions.size() == 0) {
+ getLog().info("Nothing to generate");
+ return;
+ }
+
+ ClassLoaderSwitcher classLoaderSwitcher = new ClassLoaderSwitcher(getLog());
+ boolean result = true;
+
+ Bus bus = null;
+ try {
+ classLoaderSwitcher.switchClassLoader(project, useCompileClasspath,
classesDir);
+
+ for (WsdlOption o : effectiveWsdlOptions) {
+ bus = callWsdl2Java(o, bus);
+
+ File dirs[] = o.getDeleteDirs();
+ if (dirs != null) {
+ for (int idx = 0; idx < dirs.length; ++idx) {
+ result = result && deleteDir(dirs[idx]);
+ }
+ }
+ }
+ } finally {
+ // cleanup as much as we can.
+ if (bus != null) {
+ bus.shutdown(true);
+ }
+ classLoaderSwitcher.restoreClassLoader();
+ }
+ if (project != null && sourceRoot != null && sourceRoot.exists())
{
+ project.addCompileSourceRoot(sourceRoot.getAbsolutePath());
+ }
+ if (project != null && testSourceRoot != null &&
testSourceRoot.exists()) {
+ project.addTestCompileSourceRoot(testSourceRoot.getAbsolutePath());
+ }
+
+ System.gc();
+ }
+
+ private Bus callWsdl2Java(WsdlOption wsdlOption, Bus bus) throws
MojoExecutionException {
+ File outputDirFile = wsdlOption.getOutputDir();
+ outputDirFile.mkdirs();
+ URI basedir = project.getBasedir().toURI();
+ URI wsdlURI = wsdlOption.getWsdlURI(basedir);
+ File doneFile = getDoneFile(basedir, wsdlURI);
+
+ if (!shouldRun(wsdlOption, doneFile, wsdlURI)) {
+ return bus;
+ }
+
+ if (bus == null) {
+ bus = BusFactory.newInstance().createBus();
+ BusFactory.setThreadDefaultBus(bus);
+ }
+
+ doneFile.delete();
+ List<String> list = wsdlOption.generateCommandLine(outputDirFile, basedir,
wsdlURI, getLog()
+ .isDebugEnabled());
+ String[] args = (String[])list.toArray(new String[list.size()]);
+ getLog().debug("Calling wsdl2java with args: " +
Arrays.toString(args));
+ try {
+ new WSDLToJava(args).run(new ToolContext());
+ } catch (Throwable e) {
+ getLog().debug(e);
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+ try {
+ doneFile.createNewFile();
+ } catch (Throwable e) {
+ getLog().warn("Could not create marker file " +
doneFile.getAbsolutePath());
+ getLog().debug(e);
+ }
+ return bus;
+ }
+
+ private File getDoneFile(URI basedir, URI wsdlURI) {
+ String doneFileName = wsdlURI.toString();
+
+ // Strip the basedir from the doneFileName
+ if (doneFileName.startsWith(basedir.toString())) {
+ doneFileName = doneFileName.substring(basedir.toString().length());
+ }
+
+ // If URL to WSDL, replace ? and & since they're invalid chars for file
names
+ // Not to mention slashes.
+ doneFileName = doneFileName.replace('?',
'_').replace('&', '_').replace('/',
'_').replace('\\', '_')
+ .replace(':', '_');
+
+ return new File(markerDirectory, "." + doneFileName +
".DONE");
+ }
+
+ /**
+ * Determine if code should be generated from the given wsdl
+ *
+ * @param wsdlOption
+ * @param doneFile
+ * @param wsdlURI
+ * @return
+ */
+ private boolean shouldRun(WsdlOption wsdlOption, File doneFile, URI wsdlURI) {
+ long timestamp = 0;
+ if ("file".equals(wsdlURI.getScheme())) {
+ timestamp = new File(wsdlURI).lastModified();
+ } else {
+ try {
+ timestamp = wsdlURI.toURL().openConnection().getDate();
+ } catch (Exception e) {
+ // ignore
+ }
+ }
+ boolean doWork = false;
+ if (!doneFile.exists()) {
+ doWork = true;
+ } else if (timestamp > doneFile.lastModified()) {
+ doWork = true;
+ } else if (wsdlOption.isDefServiceName()) {
+ doWork = true;
+ } else {
+ File files[] = wsdlOption.getDependencies();
+ if (files != null) {
+ for (int z = 0; z < files.length; ++z) {
+ if (files[z].lastModified() > doneFile.lastModified()) {
+ doWork = true;
+ }
+ }
+ }
+ }
+ return doWork;
+ }
+
+ /**
+ * Recursively delete the given directory
+ *
+ * @param f
+ * @return
+ */
+ private boolean deleteDir(File f) {
+ if (f.isDirectory()) {
+ File files[] = f.listFiles();
+ for (int idx = 0; idx < files.length; ++idx) {
+ deleteDir(files[idx]);
+ }
+ }
+
+ if (f.exists()) {
+ return f.delete();
+ }
+
+ return true;
+ }
+
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlArtifact.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlArtifact.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlArtifact.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,65 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+/**
+ * Represents a wsdl file that is stored in a maven repository
+ */
+public class WsdlArtifact {
+ private String groupId;
+ private String artifactId;
+ private String version;
+ private String type;
+
+ public WsdlArtifact() {
+ type = "wsdl";
+ }
+
+ public String getGroupId() {
+ return groupId;
+ }
+ public void setGroupId(String groupId) {
+ this.groupId = groupId;
+ }
+ public String getArtifactId() {
+ return artifactId;
+ }
+ public void setArtifactId(String artifactId) {
+ this.artifactId = artifactId;
+ }
+ public String getVersion() {
+ return version;
+ }
+ public void setVersion(String version) {
+ this.version = version;
+ }
+ public String getType() {
+ return type;
+ }
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public boolean doesMatch(WsdlArtifact artifact) {
+ return type.equals(artifact.getType()) &&
groupId.equals(artifact.getGroupId())
+ && artifactId.equals(artifact.getArtifactId())
+ && (version == null || version.equals(artifact.getVersion()));
+ }
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOption.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOption.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOption.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,201 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.cxf.tools.util.URIParserUtil;
+
+public class WsdlOption extends Option {
+
+ /**
+ * The WSDL file to process.
+ */
+ String wsdl;
+
+ /**
+ * Alternatively to the wsdl string an artifact can be specified
+ */
+ WsdlArtifact wsdlArtifact;
+
+ public String getWsdl() {
+ return wsdl;
+ }
+
+ public void setWsdl(String w) {
+ wsdl = w;
+ }
+
+ public WsdlArtifact getWsdlArtifact() {
+ return wsdlArtifact;
+ }
+
+ public void setWsdlArtifact(WsdlArtifact wsdlArtifact) {
+ this.wsdlArtifact = wsdlArtifact;
+ }
+
+ /**
+ * Try to find a file matching the wsdl path (either absolutely, relatively to the
current dir or to
+ * the project base dir)
+ *
+ * @return wsdl file
+ */
+ public File getWsdlFile(File baseDir) {
+ if (wsdl == null) {
+ return null;
+ }
+ File file = null;
+ try {
+ URI uri = new URI(wsdl);
+ if (uri.isAbsolute()) {
+ file = new File(uri);
+ }
+ } catch (Exception e) {
+ // ignore
+ }
+ if (file == null || !file.exists()) {
+ file = new File(wsdl);
+ }
+ if (!file.exists()) {
+ file = new File(baseDir, wsdl);
+ }
+ return file;
+ }
+
+ public URI getWsdlURI(URI baseURI) {
+ String wsdlLocation = getWsdl();
+ File wsdlFile = new File(wsdlLocation);
+ return wsdlFile.exists() ? wsdlFile.toURI()
+ : baseURI.resolve(URIParserUtil.escapeChars(wsdlLocation));
+ }
+
+ public boolean isDefServiceName() {
+ if (extraargs == null) {
+ return false;
+ }
+ for (int i = 0; i < extraargs.size(); i++) {
+ if ("-sn".equalsIgnoreCase(extraargs.get(i))) {
+ return true;
+ }
+ }
+ return false;
+
+ }
+
+ public int hashCode() {
+ if (wsdl != null) {
+ return wsdl.hashCode();
+ }
+ return -1;
+ }
+
+ public boolean equals(Object obj) {
+ if (!(obj instanceof WsdlOption)) {
+ return false;
+ }
+
+ WsdlOption t = (WsdlOption)obj;
+ return t.getWsdl().equals(getWsdl());
+ }
+
+ public String toString() {
+ StringBuilder builder = new StringBuilder();
+ builder.append("WSDL: ").append(wsdl).append('\n');
+ builder.append("OutputDir: ").append(outputDir).append('\n');
+ builder.append("Extraargs: ").append(extraargs).append('\n');
+ builder.append("XJCargs: ").append(xjcargs).append('\n');
+ builder.append("Packagenames:
").append(packagenames).append('\n');
+ builder.append('\n');
+ return builder.toString();
+ }
+
+ public List<String> generateCommandLine(File outputDirFile, URI basedir, URI
wsdlURI, boolean debug) {
+ List<String> list = new ArrayList<String>();
+ addList(list, "-p", true, getPackagenames());
+ addList(list, "-nexclude", true, getNamespaceExcludes());
+ addIfNotNull(list, outputDirFile, "-d");
+ for (String binding : getBindingFiles()) {
+ File bindingFile = new File(binding);
+ URI bindingURI = bindingFile.exists() ? bindingFile.toURI() :
basedir.resolve(binding);
+ list.add("-b");
+ list.add(bindingURI.toString());
+ }
+ addIfNotNull(list, getFrontEnd(), "-fe");
+ addIfNotNull(list, getDataBinding(), "-db");
+ addIfNotNull(list, getWsdlVersion(), "-wv");
+ addIfNotNull(list, getCatalog(), "-catalog");
+ if (isExtendedSoapHeaders()) {
+ list.add("-exsh");
+ list.add("true");
+ }
+ addIfTrue(list, isAllowElementRefs(), "-allowElementRefs");
+ addIfTrue(list, isValidateWsdl(), "-validate");
+ addIfTrue(list, isUseFQCNForFaultSerialVersionUID(),
"-useFQCNForFaultSerialVersionUID");
+ addIfNotNull(list, getDefaultExcludesNamespace(), "-dex");
+ addIfNotNull(list, getDefaultNamespacePackageMapping(), "-dns");
+ addIfNotNull(list, getServiceName(), "-sn");
+ addIfTrue(list, isAutoNameResolution(), "-autoNameResolution");
+ addIfTrue(list, isNoAddressBinding(), "-noAddressBinding");
+ addList(list, "-xjc", false, getXJCargs());
+ addList(list, "", false, getExtraargs());
+ if (isSetWsdlLocation()) {
+ list.add("-wsdlLocation");
+ list.add(getWsdlLocation() == null ? "" : getWsdlLocation());
+ }
+ addIfTrue(list, isWsdlList(), "-wsdlList");
+ addIfTrue(list, debug && !list.contains("-verbose"),
"-verbose");
+ list.add(wsdlURI.toString());
+ return list;
+ }
+
+ private static void addIfTrue(List<String> list, boolean expression, String
key) {
+ if (expression) {
+ list.add(key);
+ }
+ }
+
+ private static void addIfNotNull(List<String> list, Object value, String key)
{
+ if (value != null) {
+ list.add(key);
+ list.add(value.toString());
+ }
+ }
+
+ private static void addList(List<String> destList, String key, boolean
keyAsOwnElement,
+ List<String> sourceList) {
+ if (sourceList == null) {
+ return;
+ }
+ for (String value : sourceList) {
+ if (keyAsOwnElement) {
+ destList.add(key);
+ destList.add(value);
+ } else {
+ // Maven makes empty tags into null
+ // instead of empty strings. so replace null by ""
+ destList.add(key + ((value == null) ? "" : value));
+ }
+ }
+ }
+
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WsdlOptionLoader.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,212 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.cxf.helpers.CastUtils;
+import org.apache.cxf.helpers.FileUtils;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+
+public final class WsdlOptionLoader {
+ private static final String WSDL_TYPE = "wsdl";
+ private static final String WSDL_OPTIONS = "-options$";
+ private static final String WSDL_BINDINGS = "-binding-?\\d*.xml$";
+
+ private WsdlOptionLoader() {
+ }
+
+ @SuppressWarnings("unchecked")
+ public static List<WsdlOption> loadWsdlOptionsFromDependencies(MavenProject
project,
+ Option defaultOptions,
File outputDir) {
+ List<WsdlOption> options = new ArrayList<WsdlOption>();
+ Set<Artifact> dependencies = project.getDependencyArtifacts();
+ for (Artifact artifact : dependencies) {
+ WsdlOption option = generateWsdlOptionFromArtifact(artifact, outputDir);
+ if (option != null) {
+ if (defaultOptions != null) {
+ option.merge(defaultOptions);
+ }
+ options.add(option);
+ }
+ }
+ return options;
+ }
+
+ private static WsdlOption generateWsdlOptionFromArtifact(Artifact artifact, File
outputDir) {
+ if (!WSDL_TYPE.equals(artifact.getType())) {
+ return null;
+ }
+ WsdlOption option = new WsdlOption();
+ WsdlArtifact wsdlArtifact = new WsdlArtifact();
+ wsdlArtifact.setArtifactId(artifact.getArtifactId());
+ wsdlArtifact.setGroupId(artifact.getGroupId());
+ wsdlArtifact.setType(artifact.getType());
+ wsdlArtifact.setVersion(artifact.getVersion());
+ option.setWsdlArtifact(wsdlArtifact);
+ option.setOutputDir(outputDir);
+ return option;
+ }
+
+ /**
+ * Scan files in a directory and generate one wsdlOption per file found. Extra args
for code generation
+ * can be defined in a file that is named like the wsdl file and ends in -options.
Binding files can be
+ * defined in files named like the wsdl file and end in -binding-*.xml
+ *
+ * @param wsdlBasedir
+ * @param includes file name patterns to include
+ * @param excludes file name patterns to exclude
+ * @param defaultOptions options that should be used if no special file is given
+ * @return list of one WsdlOption object for each wsdl found
+ * @throws MojoExecutionException
+ */
+ public static List<WsdlOption> loadWsdlOptionsFromFiles(File wsdlBasedir,
String includes[],
+ String excludes[], Option
defaultOptions,
+ File defaultOutputDir)
+ throws MojoExecutionException {
+
+ if (wsdlBasedir == null) {
+ return new ArrayList<WsdlOption>();
+ }
+
+ if (!wsdlBasedir.exists()) {
+ throw new MojoExecutionException(wsdlBasedir + " does not exist");
+ }
+
+ List<File> wsdlFiles = getWsdlFiles(wsdlBasedir, includes, excludes);
+ List<WsdlOption> wsdlOptions = new ArrayList<WsdlOption>();
+ for (File wsdl : wsdlFiles) {
+ WsdlOption wsdlOption = generateWsdlOptionFromFile(wsdl, defaultOptions,
defaultOutputDir);
+ if (wsdlOption != null) {
+ wsdlOptions.add(wsdlOption);
+ }
+ }
+ return wsdlOptions;
+ }
+
+ private static String joinWithComma(String[] arr) {
+ if (arr == null) {
+ return "";
+ }
+ StringBuilder str = new StringBuilder();
+
+ if (arr != null) {
+ for (String s : arr) {
+ if (str.length() > 0) {
+ str.append(',');
+ }
+ str.append(s);
+ }
+ }
+ return str.toString();
+ }
+
+ private static List<File> getWsdlFiles(File dir, String includes[], String
excludes[])
+ throws MojoExecutionException {
+
+ List<String> exList = new ArrayList<String>();
+ if (excludes != null) {
+ exList.addAll(Arrays.asList(excludes));
+ }
+
exList.addAll(Arrays.asList(org.codehaus.plexus.util.FileUtils.getDefaultExcludes()));
+
+ String inc = joinWithComma(includes);
+ String ex = joinWithComma(exList.toArray(new String[exList.size()]));
+
+ try {
+ List newfiles = org.codehaus.plexus.util.FileUtils.getFiles(dir, inc, ex);
+ return CastUtils.cast(newfiles);
+ } catch (IOException exc) {
+ throw new MojoExecutionException(exc.getMessage(), exc);
+ }
+ }
+
+ private static String[] readOptionsFromFile(File dir, String wsdlName) throws
MojoExecutionException {
+ String[] noOptions = new String[] {};
+ List<File> files = FileUtils.getFiles(dir, wsdlName + WSDL_OPTIONS);
+ if (files.size() <= 0) {
+ return noOptions;
+ }
+ File optionsFile = files.iterator().next();
+ if (optionsFile == null || !optionsFile.exists()) {
+ return noOptions;
+ }
+ try {
+ List<String> lines = FileUtils.readLines(optionsFile);
+ if (lines.size() <= 0) {
+ return noOptions;
+ }
+ return lines.iterator().next().split(" ");
+ } catch (Exception e) {
+ throw new MojoExecutionException("Error reading options from file
"
+ + optionsFile.getAbsolutePath(), e);
+ }
+ }
+
+ protected static WsdlOption generateWsdlOptionFromFile(final File wsdl, final Option
defaultOptions,
+ File defaultOutputDir)
+ throws MojoExecutionException {
+
+ if (wsdl == null || !wsdl.exists()) {
+ return null;
+ }
+
+ final String wsdlFileName = wsdl.getName();
+ int idx = wsdlFileName.toLowerCase().lastIndexOf(".wsdl");
+ if (idx == -1) {
+ idx = wsdlFileName.lastIndexOf('.');
+ }
+ if (idx == -1) {
+ return null;
+ }
+
+ final WsdlOption wsdlOption = new WsdlOption();
+ final String wsdlName = wsdlFileName.substring(0, idx);
+
+ final String[] options = readOptionsFromFile(wsdl.getParentFile(), wsdlName);
+ if (options.length > 0) {
+ wsdlOption.getExtraargs().addAll(Arrays.asList(options));
+ } else if (defaultOptions != null) {
+ // no options specified use the defaults
+ defaultOptions.copyOptions(wsdlOption);
+ }
+
+ List<File> bindingFiles = FileUtils.getFiles(wsdl.getParentFile(), wsdlName
+ WSDL_BINDINGS);
+ if (bindingFiles != null) {
+ for (File binding : bindingFiles) {
+ wsdlOption.addBindingFile(binding);
+ }
+ }
+ wsdlOption.setWsdl(wsdl.toURI().toString());
+
+ if (wsdlOption.getOutputDir() == null) {
+ wsdlOption.setOutputDir(defaultOutputDir);
+ }
+
+ return wsdlOption;
+ }
+}
Added: thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/pom.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/pom.xml 2011-08-12 10:15:42 UTC
(rev 14803)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-corbatools-maven-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>2.3.1</version>
+ <name>Apache CXF CORBA Tools Maven2 Plugins</name>
+ <url>http://cxf.apache.org</url>
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-corba</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
+
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IDLToWSDLPlugin.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,87 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin.corba.maven.plugins;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.cxf.tools.corba.IDLToWSDL;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+
+/**
+ * @goal idl2wsdl
+ * @description CXF IDL To WSDL Tool
+ */
+public class IDLToWSDLPlugin extends AbstractMojo {
+
+ /**
+ * @parameter
expression="${project.build.directory}/generated/src/main/java"
+ * @required
+ */
+ String outputDir;
+
+ /**
+ * @parameter
+ */
+ IdltowsdlOption idltowsdlOptions[];
+
+
+ public void execute() throws MojoExecutionException {
+ File outputDirFile = new File(outputDir);
+ outputDirFile.mkdirs();
+
+ if (idltowsdlOptions == null) {
+ throw new MojoExecutionException("Please specify the idl2wsdl
options");
+ }
+
+ for (int x = 0; x < idltowsdlOptions.length; x++) {
+ File file = new File(idltowsdlOptions[x].getIDL());
+ File doneFile = new File(outputDirFile, "." + file.getName() +
".DONE");
+
+ boolean doWork = file.lastModified() > doneFile.lastModified();
+ if (!doneFile.exists()) {
+ doWork = true;
+ } else if (file.lastModified() > doneFile.lastModified()) {
+ doWork = true;
+ }
+
+ if (doWork) {
+ List<Object> list = new ArrayList<Object>();
+ list.add("-o");
+ list.add(outputDir);
+ list.addAll(idltowsdlOptions[x].getExtraargs());
+ list.add(idltowsdlOptions[x].getIDL());
+ try {
+ IDLToWSDL.run((String[])list.toArray(new String[list.size()]));
+ doneFile.delete();
+ doneFile.createNewFile();
+ } catch (Throwable e) {
+ e.printStackTrace();
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+ }
+ }
+ }
+
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IdltowsdlOption.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IdltowsdlOption.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/IdltowsdlOption.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin.corba.maven.plugins;
+
+import java.util.List;
+
+public class IdltowsdlOption {
+
+ String idl;
+ List<String> extraargs;
+
+ public String getIDL() {
+ return idl;
+ }
+
+ public void setIDL(String idlFile) {
+ idl = idlFile;
+ }
+
+ public List<String> getExtraargs() {
+ return extraargs;
+ }
+
+ public void setExtraargs(List<String> args) {
+ extraargs = args;
+ }
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WSDLToIDLPlugin.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,180 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+package org.apache.cxf.maven_plugin.corba.maven.plugins;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.helpers.CastUtils;
+import org.apache.cxf.tools.corba.WSDLToIDL;
+
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+
+
+/**
+ * @goal wsdl2idl
+ * @requiresDependencyResolution test
+ * @description CXF WSDL To IDL Tool
+ */
+public class WSDLToIDLPlugin extends AbstractMojo {
+
+ /**
+ * @parameter
expression="${project.build.directory}/generated/src/main/java"
+ * @required
+ */
+ File outputDir;
+
+ /**
+ * @parameter
+ */
+ WsdltoidlOption wsdltoidlOptions[];
+
+ /**
+ * @parameter expression="${project}"
+ * @required
+ */
+ MavenProject project;
+
+ /**
+ * Use the compile classpath rather than the test classpath for execution
+ * useful if the test dependencies clash with those of wsdl2java
+ * @parameter expression="${cxf.useCompileClasspath}"
default-value="false"
+ */
+ boolean useCompileClasspath;
+
+ public void execute() throws MojoExecutionException {
+ outputDir.mkdirs();
+
+ if (wsdltoidlOptions == null) {
+ throw new MojoExecutionException("Please specify the wsdltoidl
options");
+ }
+
+
+ List<URL> urlList = new ArrayList<URL>();
+ StringBuilder buf = new StringBuilder();
+
+ try {
+ urlList.add(outputDir.toURI().toURL());
+ } catch (MalformedURLException e) {
+ //ignore
+ }
+
+ buf.append(outputDir.getAbsolutePath());
+ buf.append(File.pathSeparatorChar);
+
+
+ List artifacts = useCompileClasspath ? project.getCompileArtifacts() :
project.getTestArtifacts();
+ for (Artifact a : CastUtils.cast(artifacts, Artifact.class)) {
+ try {
+ if (a.getFile() != null
+ && a.getFile().exists()) {
+ urlList.add(a.getFile().toURI().toURL());
+ buf.append(a.getFile().getAbsolutePath());
+ buf.append(File.pathSeparatorChar);
+ //System.out.println(" " +
a.getFile().getAbsolutePath());
+ }
+ } catch (MalformedURLException e) {
+ //ignore
+ }
+ }
+
+ ClassLoader origContext = Thread.currentThread().getContextClassLoader();
+ URLClassLoader loader = new URLClassLoader(urlList.toArray(new
URL[urlList.size()]),
+ origContext);
+ String newCp = buf.toString();
+
+ //with some VM's, creating an XML parser (which we will do to parse wsdls)
+ //will set some system properties that then interferes with mavens
+ //dependency resolution. (OSX is the major culprit here)
+ //We'll save the props and then set them back later.
+ Map<Object, Object> origProps = new HashMap<Object,
Object>(System.getProperties());
+
+ String cp = System.getProperty("java.class.path");
+
+ try {
+ Thread.currentThread().setContextClassLoader(loader);
+ System.setProperty("java.class.path", newCp);
+
+ for (int x = 0; x < wsdltoidlOptions.length; x++) {
+ File file = new File(wsdltoidlOptions[x].getWSDL());
+ File doneFile = new File(outputDir, "." + file.getName() +
".DONE");
+
+ boolean doWork = file.lastModified() > doneFile.lastModified();
+ if (!doneFile.exists()) {
+ doWork = true;
+ } else if (file.lastModified() > doneFile.lastModified()) {
+ doWork = true;
+ }
+
+ if (doWork) {
+ List<String> list = new ArrayList<String>();
+ list.add("-d");
+ list.add(outputDir.getAbsolutePath());
+ if (wsdltoidlOptions[x].isCorbaEnabled()) {
+ list.add("-corba");
+ }
+ if (wsdltoidlOptions[x].isIdlEnabled()) {
+ list.add("-idl");
+ }
+ if (wsdltoidlOptions[x].getExtraargs() != null) {
+ list.addAll(wsdltoidlOptions[x].getExtraargs());
+ }
+ list.add(wsdltoidlOptions[x].getWSDL());
+ try {
+ WSDLToIDL.run((String[])list.toArray(new String[list.size()]));
+ doneFile.delete();
+ doneFile.createNewFile();
+ } catch (Throwable e) {
+ e.printStackTrace();
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+ }
+ }
+ } finally {
+ //cleanup as much as we can.
+ Bus bus = BusFactory.getDefaultBus(false);
+ if (bus != null) {
+ bus.shutdown(true);
+ }
+ Thread.currentThread().setContextClassLoader(origContext);
+ System.setProperty("java.class.path", cp);
+
+ Map<Object, Object> newProps = new HashMap<Object,
Object>(System.getProperties());
+ for (Object o : newProps.keySet()) {
+ if (!origProps.containsKey(o)) {
+ System.clearProperty(o.toString());
+ }
+ }
+ System.getProperties().putAll(origProps);
+ }
+
+ }
+
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WsdltoidlOption.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WsdltoidlOption.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/corba/src/main/java/org/apache/cxf/maven_plugin/corba/maven/plugins/WsdltoidlOption.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,63 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin.corba.maven.plugins;
+
+import java.util.List;
+
+public class WsdltoidlOption {
+
+ String wsdl;
+ boolean corbabinding;
+ boolean idl;
+
+ List<String> extraargs;
+
+ public String getWSDL() {
+ return wsdl;
+ }
+
+ public void setWSDL(String wsdlFile) {
+ wsdl = wsdlFile;
+ }
+
+ public boolean isCorbaEnabled() {
+ return corbabinding;
+ }
+
+ public void setCorbabinding(boolean flag) {
+ corbabinding = flag;
+ }
+
+ public boolean isIdlEnabled() {
+ return idl;
+ }
+
+ public void setIdl(boolean flag) {
+ idl = flag;
+ }
+
+ public List<String> getExtraargs() {
+ return extraargs;
+ }
+
+ public void setExtraargs(List<String> args) {
+ extraargs = args;
+ }
+}
Added: thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/pom.xml
(rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/pom.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<!--
+ licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-java2ws-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>2.3.1</version>
+ <name>Apache CXF Java2WS Maven2 Plugin</name>
+ <url>http://cxf.apache.org</url>
+
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>2.0.5</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-common-utilities</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!--dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-wsdlto-databinding-jaxb</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-wsdlto-frontend-jaxws</artifactId>
+ <version>${project.version}</version>
+ </dependency-->
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-java2ws</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+</project>
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/ClassLoaderSwitcher.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,125 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.cxf.helpers.CastUtils;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.plugin.logging.Log;
+import org.apache.maven.project.MavenProject;
+
+/**
+ * Manages switching to the classloader needed for creating the java sources and
restoring the old classloader
+ * when finished
+ */
+public class ClassLoaderSwitcher {
+
+ private Log log;
+ private String origClassPath;
+ private Map<Object, Object> origProps;
+ private ClassLoader origContextClassloader;
+
+ public ClassLoaderSwitcher(Log log) {
+ this.log = log;
+ }
+
+ /**
+ * Create and set the classloader that is needed for creating the java sources from
wsdl
+ *
+ * @param project
+ * @param useCompileClasspath
+ * @param classesDir
+ */
+ public String switchClassLoader(MavenProject project,
+ boolean useCompileClasspath,
+ String classpath,
+ List classpathElements) {
+ List<URL> urlList = new ArrayList<URL>();
+ StringBuilder buf = new StringBuilder();
+
+
+ try {
+ buf.append(classpath);
+ buf.append(File.pathSeparatorChar);
+ urlList.add(new
File(project.getBuild().getOutputDirectory()).toURI().toURL());
+ } catch (MalformedURLException e) {
+ // ignore
+ }
+ for (Object classpathElement : classpathElements) {
+ buf.append(classpathElement.toString());
+ buf.append(File.pathSeparatorChar);
+ }
+
+ buf.append(File.pathSeparatorChar);
+ List<?> artifacts = useCompileClasspath ? project.getCompileArtifacts() :
project.getTestArtifacts();
+ for (Artifact a : CastUtils.cast(artifacts, Artifact.class)) {
+ try {
+ if (a.getFile() != null && a.getFile().exists()) {
+ urlList.add(a.getFile().toURI().toURL());
+ buf.append(a.getFile().getAbsolutePath());
+ buf.append(File.pathSeparatorChar);
+ // System.out.println(" " +
+ // a.getFile().getAbsolutePath());
+ }
+ } catch (MalformedURLException e) {
+ // ignore
+ }
+ }
+
+ origContextClassloader = Thread.currentThread().getContextClassLoader();
+ URLClassLoader loader = new URLClassLoader(urlList.toArray(new
URL[urlList.size()]),
+ origContextClassloader);
+ String newCp = buf.toString();
+
+ log.debug("Classpath: " + urlList.toString());
+
+ origProps = new HashMap<Object, Object>(System.getProperties());
+
+ origClassPath = System.getProperty("java.class.path");
+
+ Thread.currentThread().setContextClassLoader(loader);
+ System.setProperty("java.class.path", newCp);
+ return newCp;
+ }
+
+ /**
+ * Restore the old classloader
+ */
+ public void restoreClassLoader() {
+ Thread.currentThread().setContextClassLoader(origContextClassloader);
+ System.setProperty("java.class.path", origClassPath);
+
+ Map<Object, Object> newProps = new HashMap<Object,
Object>(System.getProperties());
+ for (Object o : newProps.keySet()) {
+ if (!origProps.containsKey(o)) {
+ System.clearProperty(o.toString());
+ }
+ }
+ System.getProperties().putAll(origProps);
+ }
+}
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,434 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.StringTokenizer;
+
+import org.apache.commons.lang.SystemUtils;
+import org.apache.cxf.helpers.FileUtils;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
+import org.apache.cxf.tools.java2ws.JavaToWS;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.project.MavenProjectHelper;
+import org.codehaus.plexus.util.StringUtils;
+import org.codehaus.plexus.util.cli.CommandLineException;
+import org.codehaus.plexus.util.cli.CommandLineUtils;
+import org.codehaus.plexus.util.cli.Commandline;
+
+/**
+ * @goal java2ws
+ * @description CXF Java To Webservice Tool
+ * @requiresDependencyResolution test
+*/
+public class Java2WSMojo extends AbstractMojo {
+ /**
+ * @parameter
+ * @required
+ */
+ private String className;
+
+ /**
+ * @parameter expression="${project.build.outputDirectory}"
+ * @required
+ */
+ private String classpath;
+
+ /**
+ * @parameter
+ */
+ private String outputFile;
+
+ /**
+ * @parameter
+ */
+ private Boolean soap12;
+
+ /**
+ * @parameter
+ */
+ private String targetNamespace;
+
+ /**
+ * @parameter
+ */
+ private String serviceName;
+
+ /**
+ * @parameter
+ */
+ private Boolean verbose;
+
+ /**
+ * @parameter
+ */
+ private Boolean quiet;
+
+ /**
+ * @parameter expression="${project.compileClasspathElements}"
+ * @required
+ */
+ private List classpathElements;
+
+ /**
+ * @parameter expression="${project}"
+ * @required
+ */
+ private MavenProject project;
+
+ /**
+ * Maven ProjectHelper.
+ *
+ * @component
+ * @readonly
+ */
+ private MavenProjectHelper projectHelper;
+
+ /**
+ * @parameter
+ */
+ private String argline;
+
+ /**
+ * @parameter
+ */
+ private String frontend;
+
+ /**
+ * @parameter
+ */
+ private String databinding;
+ /**
+ * @parameter default-value="false"
+ */
+ private Boolean genWsdl;
+ /**
+ * @parameter default-value="false"
+ */
+ private Boolean genServer;
+ /**
+ * @parameter default-value="false"
+ */
+ private Boolean genClient;
+ /**
+ * @parameter default-value="false"
+ */
+ private Boolean genWrapperbean;
+
+ /**
+ * Attach the generated wsdl file to the list of files to be deployed
+ * on install. This means the wsdl file will be copied to the repository
+ * with groupId, artifactId and version of the project and type "wsdl".
+ *
+ * With this option you can use the maven repository as a Service Repository.
+ *
+ * @parameter default-value="true"
+ */
+ private Boolean attachWsdl;
+
+ /**
+ * The plugin dependencies, needed for the fork mode.
+ *
+ * @parameter expression="${plugin.artifacts}"
+ * @required
+ * @readonly
+ */
+ private List<Artifact> pluginArtifacts;
+
+ /**
+ * Specifies whether the JavaToWs execution should be skipped.
+ *
+ * @parameter default-value="false"
+ * @since 2.4
+ */
+ private Boolean skip;
+
+ /**
+ * Allows running the JavaToWs in a separate process.
+ *
+ * @parameter default-value="false"
+ * @since 2.4
+ */
+ private Boolean fork;
+
+ /**
+ * Sets the Java executable to use when fork parameter is
<code>true</code>.
+ *
+ * @parameter default-value="${java.home}/bin/java"
+ * @since 2.4
+ */
+ private String javaExecutable;
+
+ /**
+ * Sets the JVM arguments (i.e. <code>-Xms128m -Xmx128m</code>) if fork
is set to <code>true</code>.
+ *
+ * @parameter
+ * @since 2.4
+ */
+ private String additionalJvmArgs;
+
+ public void execute() throws MojoExecutionException {
+ if (skip) {
+ getLog().info("Skipping Java2WS execution");
+ return;
+ }
+
+ ClassLoaderSwitcher classLoaderSwitcher = new ClassLoaderSwitcher(getLog());
+
+ try {
+ String cp = classLoaderSwitcher.switchClassLoader(project, false,
+ classpath,
classpathElements);
+ if (fork) {
+ List<String> artifactsPath = new
ArrayList<String>(pluginArtifacts.size());
+ for (Artifact a : pluginArtifacts) {
+ File file = a.getFile();
+ if (file == null) {
+ throw new MojoExecutionException("Unable to find " +
file + " for artifact "
+ + a.getGroupId() + ":"
+ a.getArtifactId()
+ + ":" +
a.getVersion());
+ }
+ artifactsPath.add(file.getPath());
+ }
+ cp = StringUtils.join(artifactsPath.iterator(), File.pathSeparator) +
File.pathSeparator + cp;
+ }
+
+ List<String> args = initArgs(cp);
+ processJavaClass(args);
+ } finally {
+ classLoaderSwitcher.restoreClassLoader();
+ }
+
+ System.gc();
+ }
+
+ private List<String> initArgs(String cp) {
+ List<String> args = new ArrayList<String>();
+
+ if (fork) {
+ args.add(additionalJvmArgs);
+ // @see JavaToWS#isExitOnFinish()
+ args.add("-DexitOnFinish=true");
+ }
+
+ // classpath arg
+ args.add("-cp");
+ args.add(cp);
+
+ if (fork) {
+ args.add(JavaToWS.class.getCanonicalName());
+ }
+
+ // outputfile arg
+ if (outputFile == null && project != null) {
+ // Put the wsdl in target/generated/wsdl
+ int i = className.lastIndexOf('.');
+ // Prone to OoBE, but then it's wrong anyway
+ String name = className.substring(i + 1);
+ outputFile = (project.getBuild().getDirectory() +
"/generated/wsdl/" + name + ".wsdl")
+ .replace("/", File.separator);
+ }
+ if (outputFile != null) {
+ // JavaToWSDL freaks out if the directory of the outputfile doesn't
exist, so lets
+ // create it since there's no easy way for the user to create it
beforehand in maven
+ FileUtils.mkDir(new File(outputFile).getParentFile());
+ args.add("-o");
+ args.add(outputFile);
+
+ /*
+ Contributor's comment:
+ Sometimes JavaToWSDL creates Java code for the wrappers. I don't
*think* this is
+ needed by the end user.
+ */
+
+ // Commiter's comment:
+ // Yes, it's required, it's defined in the JAXWS spec.
+
+ if (project != null) {
+ project.addCompileSourceRoot(new
File(outputFile).getParentFile().getAbsolutePath());
+ }
+ }
+
+ if (frontend != null) {
+ args.add("-frontend");
+ args.add(frontend);
+ }
+
+ if (databinding != null) {
+ args.add("-databinding");
+ args.add(databinding);
+ }
+
+ if (genWrapperbean) {
+ args.add("-wrapperbean");
+ }
+
+ if (genWsdl) {
+ args.add("-wsdl");
+ }
+
+ if (genServer) {
+ args.add("-server");
+ }
+
+ if (genClient) {
+ args.add("-client");
+ }
+
+ // soap12 arg
+ if (soap12 != null && soap12.booleanValue()) {
+ args.add("-soap12");
+ }
+
+ // target namespace arg
+ if (targetNamespace != null) {
+ args.add("-t");
+ args.add(targetNamespace);
+ }
+
+ // servicename arg
+ if (serviceName != null) {
+ args.add("-servicename");
+ args.add(serviceName);
+ }
+
+ // verbose arg
+ if (verbose != null && verbose.booleanValue()) {
+ args.add("-verbose");
+ }
+
+ // quiet arg
+ if (quiet != null && quiet.booleanValue()) {
+ args.add("-quiet");
+ }
+
+ if (argline != null) {
+ StringTokenizer stoken = new StringTokenizer(argline, " ");
+ while (stoken.hasMoreTokens()) {
+ args.add(stoken.nextToken());
+ }
+ }
+
+ // classname arg
+ args.add(className);
+
+ return args;
+ }
+
+ private void processJavaClass(List<String> args) throws MojoExecutionException
{
+ if (!fork) {
+ try {
+ CommandInterfaceUtils.commandCommonMain();
+ JavaToWS j2w = new JavaToWS(args.toArray(new String[args.size()]));
+ j2w.run();
+ } catch (OutOfMemoryError e) {
+ getLog().debug(e);
+
+ StringBuffer msg = new StringBuffer();
+ msg.append(e.getMessage()).append('\n');
+ msg.append("Try to run this goal using the
<fork>true</fork> and "
+ + "<additionalJvmArgs>-Xms128m
-Xmx128m</additionalJvmArgs> parameters.");
+ throw new MojoExecutionException(msg.toString(), e);
+ } catch (Throwable e) {
+ getLog().debug(e);
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+ } else {
+ getLog().info("Running java2ws in fork mode...");
+
+ Commandline cmd = new Commandline();
+ cmd.getShell().setQuotedArgumentsEnabled(false); // for JVM args
+ cmd.setWorkingDirectory(project.getBuild().getDirectory());
+ try {
+ cmd.setExecutable(getJavaExecutable().getAbsolutePath());
+ } catch (IOException e) {
+ getLog().debug(e);
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+
+ cmd.addArguments(args.toArray(new String[args.size()]));
+
+ CommandLineUtils.StringStreamConsumer err = new
CommandLineUtils.StringStreamConsumer();
+ CommandLineUtils.StringStreamConsumer out = new
CommandLineUtils.StringStreamConsumer();
+
+ int exitCode;
+ try {
+ exitCode = CommandLineUtils.executeCommandLine(cmd, out, err);
+ } catch (CommandLineException e) {
+ getLog().debug(e);
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+
+ String output = StringUtils.isEmpty(out.getOutput()) ? null : '\n' +
out.getOutput().trim();
+
+ String cmdLine = CommandLineUtils.toString(cmd.getCommandline());
+
+ if (exitCode != 0) {
+ if (StringUtils.isNotEmpty(output)) {
+ getLog().info(output);
+ }
+
+ StringBuffer msg = new StringBuffer("\nExit code: ");
+ msg.append(exitCode);
+ if (StringUtils.isNotEmpty(err.getOutput())) {
+ msg.append(" - ").append(err.getOutput());
+ }
+ msg.append('\n');
+ msg.append("Command line was:
").append(cmdLine).append('\n').append('\n');
+
+ throw new MojoExecutionException(msg.toString());
+ }
+
+ if (StringUtils.isNotEmpty(err.getOutput()) &&
err.getOutput().contains("JavaToWS Error")) {
+ StringBuffer msg = new StringBuffer();
+ msg.append(err.getOutput());
+ msg.append('\n');
+ msg.append("Command line was:
").append(cmdLine).append('\n').append('\n');
+ throw new MojoExecutionException(msg.toString());
+ }
+ }
+
+ // Attach the generated wsdl file to the artifacts that get deployed
+ // with the enclosing project
+ if (attachWsdl && outputFile != null) {
+ File wsdlFile = new File(outputFile);
+ if (wsdlFile.exists()) {
+ projectHelper.attachArtifact(project, "wsdl", wsdlFile);
+ }
+ }
+ }
+
+ private File getJavaExecutable() throws IOException {
+ String exe = (SystemUtils.IS_OS_WINDOWS &&
!javaExecutable.endsWith(".exe")) ? ".exe" : "";
+ File javaExe = new File(javaExecutable + exe);
+
+ if (!javaExe.isFile()) {
+ throw new IOException("The java executable '" + javaExe
+ + "' doesn't exist or is not a file. Verify the
<javaExecutable/> parameter.");
+ }
+
+ return javaExe;
+ }
+}
\ No newline at end of file
Added: thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/pom.xml (rev
0)
+++ thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/pom.xml 2011-08-12 10:15:42 UTC (rev
14803)
@@ -0,0 +1,42 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-maven-plugins</artifactId>
+ <packaging>pom</packaging>
+ <version>2.3.1</version>
+ <name>Apache CXF Maven Plugins</name>
+ <url>http://cxf.apache.org</url>
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf</artifactId>
+ <version>2.3.1</version>
+ </parent>
+
+ <modules>
+ <module>codegen-plugin</module>
+ <module>java2ws-plugin</module>
+ <module>wsdl-validator-plugin</module>
+ <module>corba</module>
+ <module>archetypes</module>
+ </modules>
+
+</project>
Added: thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/pom.xml
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/pom.xml 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,61 @@
+<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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-wsdl-validator-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>2.3.1</version>
+ <name>Apache CXF WSDL Validator Maven2 Plugin</name>
+ <url>http://cxf.apache.org</url>
+
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.3.1</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-common</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-common-utilities</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-tools-validator</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
\ No newline at end of file
Added:
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDLValidatorMojo.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDLValidatorMojo.java
(rev 0)
+++
thirdparty/cxf/branches/cxf-2.3.1/maven-plugins/wsdl-validator-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDLValidatorMojo.java 2011-08-12
10:15:42 UTC (rev 14803)
@@ -0,0 +1,192 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+package org.apache.cxf.maven_plugin;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.cxf.helpers.CastUtils;
+import org.apache.cxf.tools.common.toolspec.ToolSpec;
+import org.apache.cxf.tools.validator.WSDLValidator;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+/**
+ * @goal wsdlvalidator
+ * @description CXF WSDL Validation
+ */
+public class WSDLValidatorMojo extends AbstractMojo {
+ /**
+ * @parameter
+ */
+ private Boolean verbose;
+
+ /**
+ * @parameter
+ */
+ private Boolean quiet;
+
+
+ /**
+ * @parameter expression="${cxf.wsdlRoot}"
default-value="${basedir}/src/main/resources/wsdl"
+ */
+ private File wsdlRoot;
+
+ /**
+ * @parameter expression="${cxf.testWsdlRoot}"
default-value="${basedir}/src/test/resources/wsdl"
+ */
+ private File testWsdlRoot;
+
+ /**
+ * Directory in which the "DONE" markers are saved that
+ * @parameter expression="${cxf.markerDirectory}"
+ *
default-value="${project.build.directory}/cxf-wsdl-validator-markers"
+ */
+ private File markerDirectory;
+ /**
+ * A list of wsdl files to include. Can contain ant-style wildcards and double
wildcards. Defaults to
+ * *.wsdl
+ *
+ * @parameter
+ */
+ private String includes[];
+ /**
+ * A list of wsdl files to exclude. Can contain ant-style wildcards and double
wildcards.
+ *
+ * @parameter
+ */
+ private String excludes[];
+
+ private String getIncludeExcludeString(String[] arr) {
+ if (arr == null) {
+ return "";
+ }
+ StringBuilder str = new StringBuilder();
+
+ if (arr != null) {
+ for (String s : arr) {
+ if (str.length() > 0) {
+ str.append(',');
+ }
+ str.append(s);
+ }
+ }
+ return str.toString();
+ }
+
+ private List<File> getWsdlFiles(File dir)
+ throws MojoExecutionException {
+
+ List<String> exList = new ArrayList<String>();
+ if (excludes != null) {
+ exList.addAll(Arrays.asList(excludes));
+ }
+
exList.addAll(Arrays.asList(org.codehaus.plexus.util.FileUtils.getDefaultExcludes()));
+
+ String inc = getIncludeExcludeString(includes);
+ String ex = getIncludeExcludeString(exList.toArray(new String[exList.size()]));
+
+ try {
+ List newfiles = org.codehaus.plexus.util.FileUtils.getFiles(dir, inc, ex);
+ return CastUtils.cast(newfiles);
+ } catch (IOException exc) {
+ throw new MojoExecutionException(exc.getMessage(), exc);
+ }
+ }
+
+ private void processWsdl(File file) throws MojoExecutionException {
+
+ // If URL to WSDL, replace ? and & since they're invalid chars for file
names
+ File doneFile =
+ new File(markerDirectory, "." + file.getName().replace('?',
'_').replace('&', '_') + ".DONE");
+ boolean doWork = false;
+ if (!doneFile.exists()) {
+ doWork = true;
+ } else if (file.lastModified() > doneFile.lastModified()) {
+ doWork = true;
+ }
+
+ if (doWork) {
+ doneFile.delete();
+
+ List<String> list = new ArrayList<String>();
+
+ // verbose arg
+ if (verbose != null && verbose.booleanValue()) {
+ list.add("-verbose");
+ }
+
+ // quiet arg
+ if (quiet != null && quiet.booleanValue()) {
+ list.add("-quiet");
+ }
+
+ getLog().debug("Calling wsdlvalidator with args: " + list);
+ try {
+ list.add(file.getCanonicalPath());
+ String[] pargs = list.toArray(new String[list.size()]);
+
+ InputStream toolspecStream = WSDLValidator.class
+ .getResourceAsStream("wsdlvalidator.xml");
+ ToolSpec spec = new ToolSpec(toolspecStream, false);
+ toolspecStream.close();
+ WSDLValidator validator = new WSDLValidator(spec);
+ validator.setArguments(pargs);
+ boolean ok = validator.executeForMaven();
+ if (!ok) {
+ throw new MojoExecutionException("WSDL failed validation: "
+ file.getName());
+ }
+
+ doneFile.createNewFile();
+ } catch (Throwable e) {
+ throw new MojoExecutionException(file.getName() + ": "
+ + e.getMessage(), e);
+ }
+ }
+ }
+
+ public void execute() throws MojoExecutionException {
+ if (includes == null) {
+ includes = new String[] {
+ "*.wsdl"
+ };
+ }
+
+ markerDirectory.mkdirs();
+
+ List<File> wsdls = new ArrayList<File>();
+ if (wsdlRoot != null && wsdlRoot.exists()) {
+ wsdls.addAll(getWsdlFiles(wsdlRoot));
+ }
+ if (testWsdlRoot != null && testWsdlRoot.exists()) {
+ wsdls.addAll(getWsdlFiles(testWsdlRoot));
+ }
+
+ for (File wsdl : wsdls) {
+ processWsdl(wsdl);
+ }
+
+
+ }
+}
Added: thirdparty/cxf/branches/cxf-2.3.1/parent/pom.xml
===================================================================
--- thirdparty/cxf/branches/cxf-2.3.1/parent/pom.xml (rev 0)
+++ thirdparty/cxf/branches/cxf-2.3.1/parent/pom.xml 2011-08-12 10:15:42 UTC (rev 14803)
@@ -0,0 +1,1561 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.apache.cxf</groupId>
+ <artifactId>cxf</artifactId>
+ <version>2.3.1</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.3.1</version>
+ <name>Apache CXF Parent</name>
+ <url>http://cxf.apache.org</url>
+
+ <packaging>pom</packaging>
+
+ <properties>
+ <cxf.surefire.fork.mode>once</cxf.surefire.fork.mode>
+ <cxf.surefire.format>brief</cxf.surefire.format>
+ <cxf.surefire.usefile>false</cxf.surefire.usefile>
+ <cxf.surefire.parallel.mode />
+ <cxf.surefire.fork.vmargs>-ea</cxf.surefire.fork.vmargs>
+ <cxf.server.launcher.vmargs>-ea</cxf.server.launcher.vmargs>
+
<cxf.compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</cxf.compile.flags>
+ <cxf.compile.show.deprecation>true</cxf.compile.show.deprecation>
+
+
<cxf.eclipse.outputDirectory>${basedir}/target/classes</cxf.eclipse.outputDirectory>
+
<cxf.saaj.impl.groupId>com.sun.xml.messaging.saaj</cxf.saaj.impl.groupId>
+ <cxf.saaj.impl.artifactId>saaj-impl</cxf.saaj.impl.artifactId>
+ <cxf.saaj.impl.version>1.3.2</cxf.saaj.impl.version>
+
+ <!-- please maintain alphabetical order here -->
+ <cxf.abdera.version>1.1</cxf.abdera.version>
+ <cxf.activemq.version>5.4.1</cxf.activemq.version>
+ <cxf.derby.version>10.2.2.0</cxf.derby.version>
+
+ <cxf.jaxb21.version>2.1</cxf.jaxb21.version>
+ <cxf.jaxb21.impl.version>2.1.13</cxf.jaxb21.impl.version>
+ <cxf.jaxb21.xjc.version>2.1.13</cxf.jaxb21.xjc.version>
+ <cxf.jaxb22.version>2.2.1</cxf.jaxb22.version>
+ <cxf.jaxb22.impl.version>2.2.1.1</cxf.jaxb22.impl.version>
+ <cxf.jaxb22.xjc.version>2.2.1.1</cxf.jaxb22.xjc.version>
+
+ <!-- by default, we use jaxb 2.1, but java5 profile will override to 2.2
-->
+ <cxf.jaxb.version>${cxf.jaxb21.version}</cxf.jaxb.version>
+
<cxf.jaxb.impl.version>${cxf.jaxb21.impl.version}</cxf.jaxb.impl.version>
+
<cxf.jaxb.xjc.version>${cxf.jaxb21.xjc.version}</cxf.jaxb.xjc.version>
+
+ <cxf.specs.jaxws.api.version>1.0</cxf.specs.jaxws.api.version>
+
+ <cxf.jdom.version>1.0</cxf.jdom.version>
+ <cxf.jetty.version>7.2.0.v20101020</cxf.jetty.version>
+ <cxf.msv.version>2010.1</cxf.msv.version>
+ <cxf.rhino.version>1.7R2</cxf.rhino.version>
+ <cxf.saaj.version>1.3</cxf.saaj.version>
+
<cxf.servlet-api.group>org.apache.geronimo.specs</cxf.servlet-api.group>
+
<cxf.servlet-api.artifact>geronimo-servlet_3.0_spec</cxf.servlet-api.artifact>
+ <cxf.servlet-api.version>1.0</cxf.servlet-api.version>
+ <cxf.spring.version>3.0.5.RELEASE</cxf.spring.version>
+ <cxf.spring.mock>spring-test</cxf.spring.mock>
+ <cxf.stax.impl.groupId>org.codehaus.woodstox</cxf.stax.impl.groupId>
+
<cxf.stax.impl.artifactId>woodstox-core-asl</cxf.stax.impl.artifactId>
+ <cxf.stax.impl.version>4.0.8</cxf.stax.impl.version>
+ <cxf.wsdl4j.version>1.6.2</cxf.wsdl4j.version>
+ <cxf.xmlbeans.version>2.4.0</cxf.xmlbeans.version>
+ <cxf.xmlschema.version>1.4.7</cxf.xmlschema.version>
+ <cxf.checkstyle.extension />
+
+
<cxf.spring.validation.mode>VALIDATION_AUTO</cxf.spring.validation.mode>
+
+ <cxf.downloadSources>true</cxf.downloadSources>
+
+
<cxf.pmd.eclipse.ruleset>cxf-pmd-ruleset.xml</cxf.pmd.eclipse.ruleset>
+
+ <cxf.resources.base.path />
+
+ </properties>
+
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/java</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources-filtered</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ <resource>
+ <directory>target/generated/src/main/resources</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/java</directory>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </testResource>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </testResource>
+ <testResource>
+ <directory>target/generated/src/test/resources</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+
<outputDirectory>${cxf.eclipse.outputDirectory}</outputDirectory>
+ <buildcommands>
+
<java.lang.String>org.eclipse.jdt.core.javabuilder</java.lang.String>
+
<java.lang.String>net.sf.eclipsecs.core.CheckstyleBuilder</java.lang.String>
+
<java.lang.String>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</java.lang.String>
+ </buildcommands>
+ <projectnatures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
+
<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
+ </projectnatures>
+ <ajdtVersion>none</ajdtVersion>
+ <additionalConfig>
+ <file>
+ <name>.checkstyle</name>
+
<location>/cxf-eclipse-checkstyle${cxf.checkstyle.extension}</location>
+ </file>
+ <file>
+ <name>.pmd</name>
+ <location>/cxf-eclipse-pmd</location>
+ </file>
+ <file>
+ <name>.ruleset</name>
+
<location>/${cxf.pmd.eclipse.ruleset}</location>
+ </file>
+ </additionalConfig>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.6</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.puppycrawl.tools</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf.build-utils</groupId>
+ <artifactId>cxf-buildtools</artifactId>
+ <version>${cxf.build-utils.version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>validate</phase>
+ <configuration>
+
<configLocation>${cxf.resources.base.path}cxf-checkstyle${cxf.checkstyle.extension}.xml</configLocation>
+ <consoleOutput>true</consoleOutput>
+ <failsOnError>true</failsOnError>
+ <linkXRef>false</linkXRef>
+
<suppressionsLocation>${cxf.resources.base.path}cxf-checkstyle-suppressions.xml</suppressionsLocation>
+
<sourceDirectory>${basedir}/src</sourceDirectory>
+
<excludes>**/archetype-resources/**/*.java</excludes>
+ </configuration>
+ <goals>
+ <goal>checkstyle</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cxf.build-utils</groupId>
+ <artifactId>cxf-buildtools</artifactId>
+ <version>${cxf.build-utils.version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <rulesets>
+
<ruleset>${cxf.resources.base.path}cxf-pmd-ruleset.xml</ruleset>
+
<ruleset>${cxf.resources.base.path}cxf-pmd-custom.xml</ruleset>
+ </rulesets>
+ <sourceEncoding>UTF-8</sourceEncoding>
+ <targetJdk>1.5</targetJdk>
+ <linkXRef>false</linkXRef>
+ <includeTests>true</includeTests>
+ <verbose>true</verbose>
+ <excludeRoots>
+
<excludeRoot>${basedir}/src/main/generated</excludeRoot>
+ </excludeRoots>
+ </configuration>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ <include>**/*TestCase.java</include>
+ <include>**/*TestCases.java</include>
+ </includes>
+ <!-- do not exclude **/Abstract*Test.java
**/Abstract*TestCase.java -->
+ <excludes>
+ <exclude>**/*$*</exclude>
+ </excludes>
+ <!--disableXmlReport>true</disableXmlReport-->
+ <reportFormat>${cxf.surefire.format}</reportFormat>
+ <useFile>${cxf.surefire.usefile}</useFile>
+ <forkMode>${cxf.surefire.fork.mode}</forkMode>
+ <childDelegation>false</childDelegation>
+ <argLine>${cxf.surefire.fork.vmargs}</argLine>
+ <parallel>${cxf.surefire.parallel.mode}</parallel>
+ <systemPropertyVariables>
+ <useRandomPorts>true</useRandomPorts>
+
<cxf.validateServiceSchemas>${cxf.validateServices}</cxf.validateServiceSchemas>
+
<java.awt.headless>${java.awt.headless}</java.awt.headless>
+
<java.util.logging.config.file>${basedir}/target/test-classes/logging.properties</java.util.logging.config.file>
+
<org.apache.activemq.default.directory.prefix>${basedir}/target/ActiveMQ/</org.apache.activemq.default.directory.prefix>
+
<derby.system.home>${basedir}/target/derby</derby.system.home>
+
<spring.validation.mode>${cxf.spring.validation.mode}</spring.validation.mode>
+
<server.launcher.vmargs>${cxf.server.launcher.vmargs}</server.launcher.vmargs>
+ <!-- If we close the port after a client in the same
JVM has opened a keep-alive
+ connection, on some Linux's, the socket remains
consumed until
+ some timeout occurs. That may cause some tests to
timeout/hang. -->
+
<org.apache.cxf.transports.http_jetty.DontClosePort>false</org.apache.cxf.transports.http_jetty.DontClosePort>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.cxf.build-utils</groupId>
+ <artifactId>cxf-xml2fastinfoset-plugin</artifactId>
+ <version>${cxf.build-utils.version}</version>
+ <configuration>
+ <includes>
+ <include>META-INF/cxf/cxf*.xml</include>
+ </includes>
+
<outputDirectory>target/generated/src/main/resources</outputDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>xml2fastinfoset</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>xml2fastinfoset</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cxf.build-utils</groupId>
+ <artifactId>cxf-buildtools</artifactId>
+ <version>${cxf.build-utils.version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ </resourceBundles>
+ <supplementalModels>
+
<supplementalModel>notice-supplements.xml</supplementalModel>
+ </supplementalModels>
+ <properties>
+ <projectName>Apache CXF</projectName>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ <defaultGoal>install</defaultGoal>
+ </build>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>jsr311-api</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>cglib</groupId>
+ <artifactId>cglib-nodep</artifactId>
+ <version>2.1_3</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.fastinfoset</groupId>
+ <artifactId>FastInfoset</artifactId>
+ <version>1.2.8</version>
+ </dependency>
+
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.0.4</version>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>2.0.4</version>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <scope>provided</scope>
+ <version>2.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <scope>provided</scope>
+ <version>2.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>httpunit</groupId>
+ <artifactId>httpunit</artifactId>
+ <version>1.6.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jra</groupId>
+ <artifactId>jra</artifactId>
+ <version>1.0-alpha-4</version>
+ </dependency>
+ <dependency>
+ <groupId>jtidy</groupId>
+ <artifactId>jtidy</artifactId>
+ <version>4aug2000r7-dev</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.8.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ <version>1.8.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.parsers</groupId>
+ <artifactId>jaxp-ri</artifactId>
+ <version>1.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.specs</groupId>
+
<artifactId>org.apache.servicemix.specs.jbi-api-1.0</artifactId>
+ <version>1.5.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.neethi</groupId>
+ <artifactId>neethi</artifactId>
+ <version>2.0.4</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-impl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-parent</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ </exclusion>
+
+
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jettison</groupId>
+ <artifactId>jettison</artifactId>
+ <version>1.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>${cxf.stax.impl.groupId}</groupId>
+ <artifactId>${cxf.stax.impl.artifactId}</artifactId>
+ <version>${cxf.stax.impl.version}</version>
+ <!-- these are motivated by Woodstox, but they can't hurt with
others. -->
+ <exclusions>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ <!-- this one comes from sjsxp -->
+ <exclusion>
+ <groupId>javax.xml.stream</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ <version>${cxf.jetty.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-webapp</artifactId>
+ <version>${cxf.jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlet</artifactId>
+ <version>${cxf.jetty.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.7.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.schema</groupId>
+ <artifactId>XmlSchema</artifactId>
+ <version>${cxf.xmlschema.version}</version>
+ <exclusions>
+ <!-- on IBM jdk, XmlSchema pulls these in -->
+ <exclusion>
+ <groupId>org.apache.bcel</groupId>
+ <artifactId>bcel</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.soap</groupId>
+ <artifactId>saaj-api</artifactId>
+ <version>${cxf.saaj.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>activation</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>${cxf.jaxb.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jsr173_api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.xml</groupId>
+ <artifactId>jsr173</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.xml.stream</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>${cxf.saaj.impl.groupId}</groupId>
+ <artifactId>${cxf.saaj.impl.artifactId}</artifactId>
+ <version>${cxf.saaj.impl.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>activation</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>${cxf.jaxb.impl.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jsr173_api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.xml</groupId>
+ <artifactId>jsr173</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>activation</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jms</artifactId>
+ <version>${cxf.spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-tx</artifactId>
+ <version>${cxf.spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>${cxf.spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <version>${cxf.spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${cxf.spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>${cxf.spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>${cxf.spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ <version>${cxf.spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-core</artifactId>
+ <version>2.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-core-tiger</artifactId>
+ <version>2.0.4</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-dao</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-remoting</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-support</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-acl</artifactId>
+ <version>2.0.4</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-dao</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-remoting</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-support</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-dao</artifactId>
+ <version>2.0.8</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-remoting</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-support</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>${cxf.spring.mock}</artifactId>
+ <version>${cxf.spring.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ <version>1.5.5</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>logkit</groupId>
+ <artifactId>logkit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>avalon-framework</groupId>
+ <artifactId>avalon-framework</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymockclassextension</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>3.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>1.6.4</version>
+ </dependency>
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ <version>${cxf.wsdl4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <version>${cxf.jaxb.xjc.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jsr173_api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>jaxme</groupId>
+ <artifactId>jaxme2</artifactId>
+ <version>0.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-annotation_1.0_spec</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>${cxf.servlet-api.group}</groupId>
+ <artifactId>${cxf.servlet-api.artifact}</artifactId>
+ <version>${cxf.servlet-api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-javamail_1.4_spec</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-activation_1.1_spec</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jms_1.1_spec</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
+ <version>2.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-ejb_3.0_spec</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
+ <version>1.1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jaxws_2.2_spec</artifactId>
+ <version>${cxf.specs.jaxws.api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-core</artifactId>
+ <version>${cxf.activemq.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jms_1.1_spec</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>rhino</groupId>
+ <artifactId>js</artifactId>
+ <version>${cxf.rhino.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlbeans</groupId>
+ <artifactId>xmlbeans</artifactId>
+ <version>${cxf.xmlbeans.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>xml-resolver</groupId>
+ <artifactId>xml-resolver</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcprov-jdk15</artifactId>
+ <version>1.45</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.abdera</groupId>
+ <artifactId>abdera-core</artifactId>
+ <version>${cxf.abdera.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+
<artifactId>geronimo-activation_1.0.2_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.abdera</groupId>
+ <artifactId>abdera-extensions-json</artifactId>
+ <version>${cxf.abdera.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.abdera</groupId>
+ <artifactId>abdera-client</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.abdera</groupId>
+ <artifactId>abdera-server</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.abdera</groupId>
+ <artifactId>abdera-extensions-html</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+
<artifactId>geronimo-activation_1.0.2_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.abdera</groupId>
+ <artifactId>abdera-parser</artifactId>
+ <version>${cxf.abdera.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+
<artifactId>geronimo-activation_1.1_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xmlParserAPIs</artifactId>
+ <groupId>xerces</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xercesImpl</artifactId>
+ <groupId>xerces</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xom</artifactId>
+ <groupId>xom</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xalan</artifactId>
+ <groupId>xalan</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xml-apis</artifactId>
+ <groupId>xml-apis</groupId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-api</artifactId>
+ <version>1.2.9</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xmlParserAPIs</artifactId>
+ <groupId>xerces</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xercesImpl</artifactId>
+ <groupId>xerces</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xom</artifactId>
+ <groupId>xom</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xalan</artifactId>
+ <groupId>xalan</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xml-apis</artifactId>
+ <groupId>xml-apis</groupId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-impl</artifactId>
+ <version>1.2.9</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>1.1.1</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jdom</artifactId>
+ <groupId>jdom</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>dom4j</artifactId>
+ <groupId>dom4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xmlParserAPIs</artifactId>
+ <groupId>xerces</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xercesImpl</artifactId>
+ <groupId>xerces</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xom</artifactId>
+ <groupId>xom</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xalan</artifactId>
+ <groupId>xalan</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>xml-apis</artifactId>
+ <groupId>xml-apis</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.9.1</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>xml-apis</artifactId>
+ <groupId>xml-apis</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!-- if we use the new woodstox artifact, we're using the new version
-->
+ <dependency>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>woodstox-core-asl</artifactId>
+ <version>4.0.8</version>
+ </dependency>
+ <dependency>
+ <groupId>net.java.dev.msv</groupId>
+ <artifactId>msv-core</artifactId>
+ <version>${cxf.msv.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.6</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+
<configLocation>cxf-checkstyle${cxf.checkstyle.extension}.xml</configLocation>
+ <consoleOutput>true</consoleOutput>
+ <failsOnError>true</failsOnError>
+ <linkXRef>false</linkXRef>
+
<suppressionsLocation>cxf-checkstyle-suppressions.xml</suppressionsLocation>
+ <sourceDirectory>${basedir}/src</sourceDirectory>
+ <excludes>**/archetype-resources/**/*.java</excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <profiles>
+ <profile>
+ <id>jdk15</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+ <properties>
+ <cxf.jaxb.version>${cxf.jaxb22.version}</cxf.jaxb.version>
+
<cxf.jaxb.impl.version>${cxf.jaxb22.impl.version}</cxf.jaxb.impl.version>
+
<cxf.jaxb.xjc.version>${cxf.jaxb22.impl.version}</cxf.jaxb.xjc.version>
+ <jdk.version>1.5</jdk.version>
+ </properties>
+ </profile>
+ <profile>
+ <id>validateServices</id>
+ <properties>
+ <cxf.validateServices>true</cxf.validateServices>
+ </properties>
+ </profile>
+ <profile>
+ <!-- sjsxp is really the precursor to the jaxp-ri jars. However, getting
the jaxp-ri jar to work on
+ Java 5 requires endorsing it which is non-trivial in maven :-(.
+ -->
+ <id>sjsxp</id>
+ <properties>
+
<cxf.stax.impl.groupId>com.sun.xml.stream</cxf.stax.impl.groupId>
+ <cxf.stax.impl.artifactId>sjsxp</cxf.stax.impl.artifactId>
+ <cxf.stax.impl.version>1.0.1</cxf.stax.impl.version>
+ </properties>
+ </profile>
+ <profile>
+ <!-- This really only works with Java 6 as the classes are identically
named with the same classes in the Java 5 JDK
+ and the Java 5 versions get picked up instead -->
+ <id>jaxpri</id>
+ <properties>
+
<cxf.stax.impl.groupId>com.sun.xml.parsers</cxf.stax.impl.groupId>
+ <cxf.stax.impl.artifactId>jaxp-ri</cxf.stax.impl.artifactId>
+ <cxf.stax.impl.version>1.4.2</cxf.stax.impl.version>
+ </properties>
+ </profile>
+ <profile>
+ <id>axis2-saaj</id>
+ <properties>
+
<cxf.saaj.impl.groupId>org.apache.axis2</cxf.saaj.impl.groupId>
+
<cxf.saaj.impl.artifactId>axis2-saaj</cxf.saaj.impl.artifactId>
+ <cxf.saaj.impl.version>1.4.1</cxf.saaj.impl.version>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>fastinstall</id>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ <pmd.skip>true</pmd.skip>
+ <checkstyle.skip>true</checkstyle.skip>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>nospringvalidation</id>
+ <properties>
+
<cxf.spring.validation.mode>VALIDATION_NONE</cxf.spring.validation.mode>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>nochecks</id>
+ <properties>
+ <pmd.skip>true</pmd.skip>
+ <checkstyle.skip>true</checkstyle.skip>
+ </properties>
+ </profile>
+
+ <profile>
+ <!-- default profile enables checkstyle and Xlint stuff -->
+ <id>sourcecheck</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+
<showDeprecation>${cxf.compile.show.deprecation}</showDeprecation>
+ <showWarnings>true</showWarnings>
+
<compilerArgument>${cxf.compile.flags}</compilerArgument>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>set.eclipse.output</id>
+ <properties>
+
<cxf.eclipse.outputDirectory>${basedir}/eclipse-classes</cxf.eclipse.outputDirectory>
+ </properties>
+ </profile>
+
+ <profile>
+ <!-- pmd and checkstyle, no tests. -->
+ <id>justsourcecheck</id>
+ <properties>
+ <maven.test.skip.exec>true</maven.test.skip.exec>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+
<compilerArgument>${cxf.compile.flags}</compilerArgument>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>setup.eclipse</id>
+ <build>
+ <defaultGoal>process-test-sources</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <id>setup.eclipse.project</id>
+ <phase>process-test-sources</phase>
+ <goals>
+ <goal>eclipse</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>ibmjdk</id>
+ <activation>
+ <property>
+ <name>java.vendor</name>
+ <value>IBM Corporation</value>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+
<compilerArgument>${cxf.compile.flags}</compilerArgument>
+ <fork>true</fork>
+ <maxmem>512M</maxmem>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>spring2</id>
+ <properties>
+ <cxf.spring.version>2.5.6.SEC02</cxf.spring.version>
+ </properties>
+ </profile>
+ <profile>
+ <!-- Profile to clean even if you do not have the cxf plugins in
+ your local mavven repo -->
+ <id>clean</id>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache.snapshots</id>
+ <
url>http://repository.apache.org/snapshots/</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <build>
+ <defaultGoal>clean</defaultGoal>
+ </build>
+ </profile>
+ </profiles>
+</project>
+
+
+