cxf git commit: Add equals/hashCode to work with next version of Neethi

2017-05-05 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 3a46e586b -> 77df31712


Add equals/hashCode to work with next version of Neethi


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/77df3171
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/77df3171
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/77df3171

Branch: refs/heads/master
Commit: 77df31712c2f179bd9f1ed7f6d990e35b8134d7b
Parents: 3a46e58
Author: Daniel Kulp 
Authored: Fri May 5 20:33:47 2017 -0400
Committer: Daniel Kulp 
Committed: Fri May 5 20:33:47 2017 -0400

--
 .../cxf/ws/policy/builder/jaxb/JaxbAssertion.java  | 17 +
 1 file changed, 17 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/77df3171/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertion.java
--
diff --git 
a/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertion.java
 
b/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertion.java
index f25c341..1f78ec4 100644
--- 
a/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertion.java
+++ 
b/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/builder/jaxb/JaxbAssertion.java
@@ -64,6 +64,23 @@ public class JaxbAssertion extends PrimitiveAssertion {
 JaxbAssertion a = (JaxbAssertion)policyComponent;
 return data.equals(a.getData());
 }
+
+@Override
+public boolean equals(Object o) {
+if (o instanceof JaxbAssertion) {
+return super.equals(o) && equal((PolicyComponent)o);
+}
+return false;
+}
+
+@Override
+public int hashCode() {
+int i = super.hashCode();
+if (data != null) {
+i ^= data.hashCode();
+}
+return i;
+}
 
 public void setData(T d) {
 data = d;



cxf git commit: Update osgi framework used to 5.0 since we only support Karaf 4+

2017-05-05 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 864dafbc5 -> 3a46e586b


Update osgi framework used to 5.0 since we only support Karaf 4+


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3a46e586
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3a46e586
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3a46e586

Branch: refs/heads/master
Commit: 3a46e586b405c79a98e37d33a30b2fa22905f853
Parents: 864dafb
Author: Daniel Kulp 
Authored: Fri May 5 14:54:07 2017 -0400
Committer: Daniel Kulp 
Committed: Fri May 5 14:54:07 2017 -0400

--
 .../cxf/bus/blueprint/BlueprintBeanLocator.java |  8 +-
 .../blueprint/BundleDelegatingClassLoader.java  |  1 -
 .../org/apache/cxf/bus/osgi/CXFActivator.java   | 24 +++---
 .../bus/osgi/CXFExtensionBundleListener.java|  2 +-
 .../cxf/bus/osgi/ManagedWorkQueueList.java  |  9 +-
 .../apache/cxf/bus/osgi/OSGIBusListener.java| 34 
 .../apache/cxf/bus/osgi/OSGiBeanLocator.java|  4 +-
 .../apache/cxf/common/util/CollectionUtils.java | 88 
 .../cxf/bus/osgi/OSGiBusListenerTest.java   | 16 ++--
 .../cxf/osgi/itests/CXFOSGiTestSupport.java |  2 +-
 .../karaf/commands/ListEndpointsCommand.java|  4 +-
 .../karaf/commands/internal/CXFController.java  | 13 +--
 parent/pom.xml  |  3 +-
 .../apache/cxf/ext/logging/osgi/Activator.java  |  4 +-
 .../transport/http/asyncclient/Activator.java   | 13 ++-
 .../osgi/HTTPJettyTransportActivator.java   | 36 
 .../osgi/HTTPUndertowTransportActivator.java| 30 ---
 .../http/osgi/HTTPTransportActivator.java   | 16 ++--
 .../http/osgi/HttpServiceTrackerCust.java   | 23 +++--
 .../transport/http/osgi/ServletExporter.java|  2 +-
 .../wsn/services/OSGiJaxwsEndpointManager.java  |  8 +-
 .../service/CertificateRepoProxyFactory.java|  8 +-
 .../cxf/xkms/service/NamedServiceProxy.java |  4 +-
 23 files changed, 217 insertions(+), 135 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/3a46e586/core/src/main/java/org/apache/cxf/bus/blueprint/BlueprintBeanLocator.java
--
diff --git 
a/core/src/main/java/org/apache/cxf/bus/blueprint/BlueprintBeanLocator.java 
b/core/src/main/java/org/apache/cxf/bus/blueprint/BlueprintBeanLocator.java
index be91e3a..c275809 100644
--- a/core/src/main/java/org/apache/cxf/bus/blueprint/BlueprintBeanLocator.java
+++ b/core/src/main/java/org/apache/cxf/bus/blueprint/BlueprintBeanLocator.java
@@ -125,9 +125,9 @@ public class BlueprintBeanLocator implements 
ConfiguredBeanLocator {
 }
 if (list.isEmpty() && context != null) {
 try {
-ServiceReference refs[] = 
context.getServiceReferences(type.getName(), null);
+ServiceReference refs[] = 
context.getServiceReferences(type.getName(), null);
 if (refs != null) {
-for (ServiceReference r : refs) {
+for (ServiceReference r : refs) {
 list.add(type.cast(context.getService(r)));
 }
 }
@@ -169,9 +169,9 @@ public class BlueprintBeanLocator implements 
ConfiguredBeanLocator {
 
 try {
 if (context != null) {
-ServiceReference refs[] = 
context.getServiceReferences(type.getName(), null);
+ServiceReference refs[] = 
context.getServiceReferences(type.getName(), null);
 if (refs != null) {
-for (ServiceReference r : refs) {
+for (ServiceReference r : refs) {
 Object o2 = context.getService(r);
 Class t = o2.getClass().asSubclass(type);
 if (listener.loadBean(t.getName(), t)) {

http://git-wip-us.apache.org/repos/asf/cxf/blob/3a46e586/core/src/main/java/org/apache/cxf/bus/blueprint/BundleDelegatingClassLoader.java
--
diff --git 
a/core/src/main/java/org/apache/cxf/bus/blueprint/BundleDelegatingClassLoader.java
 
b/core/src/main/java/org/apache/cxf/bus/blueprint/BundleDelegatingClassLoader.java
index 5b739a4..5cf9979 100644
--- 
a/core/src/main/java/org/apache/cxf/bus/blueprint/BundleDelegatingClassLoader.java
+++ 
b/core/src/main/java/org/apache/cxf/bus/blueprint/BundleDelegatingClassLoader.java
@@ -81,7 +81,6 @@ public class BundleDelegatingClassLoader extends ClassLoader {
 Enumeration urls;
 try {
 urls = AccessController.doPrivileged(new 
PrivilegedExceptionAction() {
-@SuppressWarnings("unchecked")
 public Enumeration run() throws IOException {
  

svn commit: r1011714 - in /websites/production/cxf/content: cache/docs.pageCache docs/sample-projects.html

2017-05-05 Thread buildbot
Author: buildbot
Date: Fri May  5 17:47:38 2017
New Revision: 1011714

Log:
Production update by buildbot for cxf

Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/sample-projects.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/sample-projects.html
==
--- websites/production/cxf/content/docs/sample-projects.html (original)
+++ websites/production/cxf/content/docs/sample-projects.html Fri May  5 
17:47:38 2017
@@ -107,52 +107,7 @@ Apache CXF -- Sample Projects
  


-Apache CXF Example Projects 
-The following tables provide information about a subset of the http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/;>example
 projects provided by Apache CXF in the standard distributions.
-
-JAX-WS Examples
-Example NameExample DescriptionExample 
LocationJava First using JAX-WS APIsSample illustrates how to develop a service 
using the "code first" approach with the JAX-WS APIs.http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/;>java_first_jaxwsJava First demo service using 
the JAXWSFactoryBeansSample illustrates how to develop a service using t
 he JAXWSFactoryBeans. It also makes use of LoggingInterceptors. The sample 
takes the "code first" approach using JAX-WS APIs.java_first_jaxws_factory_beanJava First POJO 
SampleSample 
illustrates how to develop a service that is "code first", POJO-based. This 
sample uses the JAXB Data binding by default, but you can use Aegis Data 
binding by removing a few lines detailed in the README.txt file.java_first_pojoSpring HTTP SampleSample will lead you through creating your 
first service with Spring. You'll learn how to write a simple JAX-WS 
"code-first" service, set up the HTTP Servlet transport and use CXF's Sp
 ring beans.java_first_spring_supportJAX-WS Asynchronous Demo using 
Document/Literal StyleSample using Document/Literal Style sample illustrates 
the use of the JAX-WS asynchronous invocation model. jaxws_asyncJAX-WS Dispatch/Provider 
DemoSample 
demonstrates the use of JAX-WS Dispatch and Provider interface.jaxws_dispatch_providerJAX-WS Handler DemoSample shows how JAX-WS 
handlers are used.  The server uses a SOAP proto
 col handler which logs incoming and outgoing messages to the 
console.jax_ws_handlersRESTful Hello World DemoSample shows REST based Web 
Services using the JAX-WS Provider/Dispatch. restful_dispatch
-
-
-WSDL-First Examples
-Example NameExample DescriptionExample 
LocationWSDL FirstSample shows how to build and call a web service using 
a given WSDL (also called Contract First). wsdl_firstCXF Dynamic Client Sample Sample illustrates the use of the CXF 
dynamic client against a standalone server using SOAP 1.1 over 
HTTP.wsdl_first_dynamic_clientWSDL first demo using HTTPSSample  takes the hello world sample a step 
further by doing the communication using HTTPS.wsdl_first_httpsWSDL first demo using BARE 
Style in XML Binding (pure XML over HTTP) Sample illustrates the use of Apache CXF's xml 
binding. This specific sample shows you how xml binding works with the doc-lit 
bare style.wsdl_first_pure_xmlWSDL first demo using RPC-Literal Style 
Sample 
demonstrates the use of the hello world sample with RPC-Literal style 
binding.wsdl_first_rpclitWSDL first demo using SOAP12 in Document/Literal 
StyleSample shows 
the use of Apache CXF's SOAP 1.2 capabilities.wsdl_first_soap12CXF sample using WRAPPED Style 
in XML Binding (pure XML over HTTP)Sample illustrates the use of Apache CXF's xml binding. 
This specific sample shows you how xml binding works with the doc-lit wrapped 
style.wsdl_first_xml_wrapped
-
-
-JAX-RS Examples
-Example NameExample DescriptionExample 
Locationhttp://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/;>jax_rsRESTful HTTP Binding Demo 
Sample shows how 
to create RESTful services using CXF's HTTP binding. The server in the sample 
creates 3 different endpoints: a RESTful XML endpoint, a RESTful JSON endpoint, 
and a SOAP endpoint.restful_http_binding
-
-
-Javascript Examples
-Example NameExample DescriptionExample 
LocationGenerated JavaScript using JAX-WS APIs and JSR-181 
Sample shows the 
generation of JavaScript client code from a JAX-WS server.js_browser_client_java_firstJavaScript Client Sample using Document/Literal 
Style sample illustrates the use of the JavaScript client generator. This 
sample deploys the service based on the wsdl_first demo, and then provides a 
browser-compatible client that com
 municates with it. js_browser_client_simpleHello World Client sample using 
JavaScriptSample 
demonstrates the use of (non-browser) JavaScript client to call a CXF 

[2/3] cxf git commit: Update to latest PMD to match what eclipse pulls in now.

2017-05-05 Thread dkulp
Update to latest PMD to match what eclipse pulls in now.


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d49f3f24
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d49f3f24
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d49f3f24

Branch: refs/heads/master
Commit: d49f3f2468cde9aa1f34d6448c6e35e717ded676
Parents: 4a418df
Author: Daniel Kulp 
Authored: Fri May 5 11:28:55 2017 -0400
Committer: Daniel Kulp 
Committed: Fri May 5 11:29:11 2017 -0400

--
 .../bus/managers/ConduitInitiatorManagerImpl.java|  4 +---
 .../bus/managers/DestinationFactoryManagerImpl.java  |  4 +---
 .../org/apache/cxf/catalog/OASISCatalogManager.java  |  3 +--
 .../common/jaxb/SchemaCollectionContextProxy.java|  3 +--
 .../cxf/transport/MultipleEndpointObserver.java  |  4 +---
 .../cxf/common/injection/ResourceInjectorTest.java   |  7 +++
 .../java/org/apache/cxf/jca/servant/EJBEndpoint.java |  4 +---
 parent/pom.xml   |  2 +-
 .../corba/interceptors/CorbaStreamInInterceptor.java | 11 ---
 .../soap/jms/interceptor/SoapFaultFactory.java   |  5 ++---
 .../SoapPreProtocolOutInterceptorTest.java   |  4 +---
 .../cxf/aegis/type/java5/Java5TypeCreator.java   |  4 +---
 .../apache/cxf/aegis/services/ComplexService.java|  4 +---
 .../cxf/clustering/FailoverTargetSelector.java   |  7 +++
 .../org/apache/cxf/jaxrs/utils/InjectionUtils.java   |  3 +--
 .../cxf/jaxws/handler/HandlerResolverImpl.java   |  3 +--
 .../handler/soap/SOAPHandlerFaultInInterceptor.java  |  3 +--
 .../handler/soap/SOAPHandlerFaultOutInterceptor.java |  3 +--
 .../jaxws/handler/soap/SOAPHandlerInterceptor.java   |  3 +--
 .../java/org/apache/cxf/jaxws/spi/ProviderImpl.java  |  5 +
 .../management/jmx/InstrumentationManagerImpl.java   |  5 +
 .../cxf/jaxrs/provider/json/utils/JSONUtils.java |  3 +--
 .../cxf/jaxrs/provider/dom4j/DOM4JProviderTest.java  |  6 ++
 .../jaxrs/ext/search/hbase/HBaseQueryVisitor.java|  9 -
 .../ext/search/jpa/AbstractJPATypedQueryVisitor.java |  4 +---
 .../search/SearchContextImplCustomParserTest.java|  9 -
 .../cxf/rs/security/jose/jwe/JweJsonConsumer.java| 15 +++
 .../oauth2/client/JoseClientCodeStateManager.java|  4 ++--
 .../oauth2/tokens/hawk/HawkAuthorizationScheme.java  |  8 ++--
 .../oidc/idp/OidcDynamicRegistrationService.java |  4 +---
 .../sso/AbstractRequestAssertionConsumerHandler.java | 11 ---
 .../authorization/SecurityContextProviderImpl.java   |  4 +---
 .../http_jetty/spring/JettySpringTypesFactory.java   |  8 ++--
 .../netty/server/spring/NettySpringTypesFactory.java |  8 ++--
 .../spring/UndertowSpringTypesFactory.java   |  8 ++--
 .../java/org/apache/cxf/transport/http/Cookie.java   |  3 +--
 .../cxf/transport/servlet/CXFNonSpringServlet.java   |  8 +++-
 .../apache/cxf/transport/jms/JMSConfiguration.java   |  3 +--
 .../cxf/transport/jms/SecurityContextFactory.java|  3 +--
 .../transport/websocket/ahc/AhcWebSocketConduit.java |  6 ++
 .../cxf/ws/addressing/impl/MAPAggregatorTest.java|  4 +---
 .../org/apache/cxf/ws/policy/PolicyEngineTest.java   |  3 +--
 .../java/org/apache/cxf/ws/rm/ManagedRMEndpoint.java | 10 --
 .../org/apache/cxf/ws/rm/soap/SoapFaultFactory.java  |  3 +--
 .../cxf/ws/security/wss4j/WSS4JInInterceptor.java|  4 +---
 .../policyhandlers/AbstractStaxBindingHandler.java   |  4 +---
 .../policyvalidators/X509TokenPolicyValidator.java   |  4 +---
 .../ws/security/wss4j/SecurityActionTokenTest.java   |  4 +---
 .../apache/cxf/ws/security/wss4j/WSS4JInOutTest.java |  4 +---
 .../apache/cxf/sts/operation/AbstractOperation.java  |  4 +---
 .../cxf/sts/operation/TokenIssueOperation.java   |  4 +---
 .../sts/token/provider/DefaultSubjectProvider.java   |  4 +---
 .../sts/operation/IssueJWTOnbehalfofUnitTest.java|  5 +
 .../cxf/sts/operation/IssueOnbehalfofUnitTest.java   |  5 +
 .../ValidateTokenTransformationUnitTest.java | 10 ++
 .../apache/cxf/sts/operation/ValidateUnitTest.java   |  4 +---
 .../sts/operation/ValidateUsernameTokenUnitTest.java |  4 +---
 .../cxf/sts/operation/ValidateX509TokenUnitTest.java |  5 +
 .../sts/token/provider/CustomSubjectProvider.java|  5 +
 .../java/org/apache/cxf/xkms/client/XKMSInvoker.java |  3 +--
 .../java/org/apache/cxf/systest/jaxrs/BookStore.java |  8 ++--
 .../apache/cxf/systest/jaxrs/BookStoreSpring.java|  4 +---
 .../org/apache/cxf/systest/jaxrs/MultipartStore.java | 10 ++
 .../jaxrs/tracing/brave/BraveTracingTest.java|  3 +--
 .../apache/cxf/jms/testsuite/util/JMSTestUtil.java   |  3 +--
 .../clustering/LoadDistributorStaticStrategy.java|  4 +---
 .../org/apache/cxf/systest/ws/util/MessageFlow.java  |  2 +-
 

[3/3] cxf git commit: Update PMD jdk target to 1.8 and turn on the cache

2017-05-05 Thread dkulp
Update PMD jdk target to 1.8 and turn on the cache


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/864dafbc
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/864dafbc
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/864dafbc

Branch: refs/heads/master
Commit: 864dafbc5732fa51a79b45c0a3f3bf3dd378611b
Parents: d49f3f2
Author: Daniel Kulp 
Authored: Fri May 5 12:24:33 2017 -0400
Committer: Daniel Kulp 
Committed: Fri May 5 12:24:33 2017 -0400

--
 parent/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/864dafbc/parent/pom.xml
--
diff --git a/parent/pom.xml b/parent/pom.xml
index 48efa1e..d29a212 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -378,13 +378,14 @@
 
${cxf.resources.base.path}cxf-pmd-ruleset.xml
 
 UTF-8
-1.7
+1.8
 false
 true
 true
 
 
${basedir}/src/main/generated
 
+true
 
 
 



[1/3] cxf git commit: Update to latest PMD to match what eclipse pulls in now.

2017-05-05 Thread dkulp
Repository: cxf
Updated Branches:
  refs/heads/master 4a418df6e -> 864dafbc5


http://git-wip-us.apache.org/repos/asf/cxf/blob/d49f3f24/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorStaticStrategy.java
--
diff --git 
a/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorStaticStrategy.java
 
b/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorStaticStrategy.java
index b5b0518..2832491 100644
--- 
a/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorStaticStrategy.java
+++ 
b/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/LoadDistributorStaticStrategy.java
@@ -37,9 +37,7 @@ public class LoadDistributorStaticStrategy extends 
SequentialStrategy {
 // Get the list of endpoints, including the current one.
 // This part is required for most FailoverStrategys that provide 
alternate
 // target endpoints for the LoadDistributorTargetSelector.
-List alternateEndpoints = getEndpoints(exchange, true);
-
-return alternateEndpoints;
+return getEndpoints(exchange, true);
 }
 
 @Override

http://git-wip-us.apache.org/repos/asf/cxf/blob/d49f3f24/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/util/MessageFlow.java
--
diff --git 
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/util/MessageFlow.java 
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/util/MessageFlow.java
index 94adcff..b57fa5a 100644
--- 
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/util/MessageFlow.java
+++ 
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/util/MessageFlow.java
@@ -519,7 +519,7 @@ public class MessageFlow extends Assert {
 return !(null != bodyElement && bodyElement.hasChildNodes());
 }
 
-private String dump(List streams) {
+String dump(List streams) {
 StringBuilder buf = new StringBuilder();
 try {
 buf.append(System.getProperty("line.separator"));

http://git-wip-us.apache.org/repos/asf/cxf/blob/d49f3f24/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationLegacyTest.java
--
diff --git 
a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationLegacyTest.java
 
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationLegacyTest.java
index 6ff0d20..d0df548 100644
--- 
a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationLegacyTest.java
+++ 
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationLegacyTest.java
@@ -99,15 +99,13 @@ public class WSSecurity10UsernameAuthorizationLegacyTest 
extends AbstractBusClie
 BusFactory.setDefaultBus(bus);
 BusFactory.setThreadDefaultBus(bus);
 PingService svc = new 
PingService(getWsdlLocation("UserNameOverTransport"));
-final IPingService port =
-svc.getPort(
+return svc.getPort(
 new QName(
 "http://WSSec/wssec10;,
 "UserNameOverTransport" + "_IPingService"
 ),
 IPingService.class
 );
-return port;
 }
 
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/d49f3f24/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationTest.java
--
diff --git 
a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationTest.java
 
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationTest.java
index 7f5ef85..e8e5767 100644
--- 
a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationTest.java
+++ 
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10UsernameAuthorizationTest.java
@@ -135,15 +135,13 @@ public class WSSecurity10UsernameAuthorizationTest 
extends AbstractBusClientServ
 BusFactory.setDefaultBus(bus);
 BusFactory.setThreadDefaultBus(bus);
 PingService svc = new 
PingService(getWsdlLocation("UserNameOverTransport"));
-final IPingService port =
-svc.getPort(
+return svc.getPort(
 new QName(
 "http://WSSec/wssec10;,
 "UserNameOverTransport" + "_IPingService"
 ),
 IPingService.class
 );
-return port;
 }
 
 private static IPingService 

[2/2] cxf-build-utils git commit: Latest PMD apparently has a bug that is declaring some private methods unused that ARE actually used

2017-05-05 Thread dkulp
Latest PMD apparently has a bug that is declaring some private methods unused 
that ARE actually used


Project: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/commit/42e8ac21
Tree: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/tree/42e8ac21
Diff: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/diff/42e8ac21

Branch: refs/heads/master
Commit: 42e8ac2162d7d3c0d8b7d8f984b2d50689172fb6
Parents: 3bc7774
Author: Daniel Kulp 
Authored: Fri May 5 12:04:31 2017 -0400
Committer: Daniel Kulp 
Committed: Fri May 5 12:04:31 2017 -0400

--
 buildtools/src/main/resources/cxf-pmd-ruleset.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/42e8ac21/buildtools/src/main/resources/cxf-pmd-ruleset.xml
--
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset.xml 
b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
index 86170f3..d9fada1 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
@@ -195,7 +195,7 @@
 
 
 
-
+
 
 
 

[1/2] cxf-build-utils git commit: Add target dir to excluded PMD ruleset

2017-05-05 Thread dkulp
Repository: cxf-build-utils
Updated Branches:
  refs/heads/master 94a777d42 -> 42e8ac216


Add target dir to excluded PMD ruleset


Project: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/commit/3bc77742
Tree: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/tree/3bc77742
Diff: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/diff/3bc77742

Branch: refs/heads/master
Commit: 3bc77742013cd3fb0424a1ff63efc5afa79cc6d7
Parents: 94a777d
Author: Daniel Kulp 
Authored: Fri Feb 24 09:20:39 2017 -0500
Committer: Daniel Kulp 
Committed: Fri Feb 24 09:20:39 2017 -0500

--
 buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml | 1 +
 buildtools/src/main/resources/cxf-pmd-ruleset.xml   | 1 +
 2 files changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/3bc77742/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
--
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml 
b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
index 06dfd42..c09e857 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
@@ -31,6 +31,7 @@
 xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 
http://pmd.sourceforge.net/ruleset_2_0_0.xsd;>
 CXF PMD Plugin preferences rule set
 
+.*target.*
 .*.xml
 .*.xsl
 .*.wsdl

http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/3bc77742/buildtools/src/main/resources/cxf-pmd-ruleset.xml
--
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset.xml 
b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
index 603737c..86170f3 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
@@ -22,6 +22,7 @@
 xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 
http://pmd.sourceforge.net/ruleset_2_0_0.xsd;>
 CXF PMD Plugin preferences rule set
 
+.*target.*
 .*.xml
 .*.xsl
 .*.wsdl



cxf git commit: Fixing the compilation failure

2017-05-05 Thread sergeyb
Repository: cxf
Updated Branches:
  refs/heads/master 95f4daedb -> 4a418df6e


Fixing the compilation failure


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4a418df6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4a418df6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4a418df6

Branch: refs/heads/master
Commit: 4a418df6e3bb784b9e27150d2019bbbc63ea3cfd
Parents: 95f4dae
Author: Sergey Beryozkin 
Authored: Fri May 5 10:04:28 2017 +0100
Committer: Sergey Beryozkin 
Committed: Fri May 5 10:04:28 2017 +0100

--
 .../test/java/org/apache/cxf/osgi/itests/CXFOSGiTestSupport.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cxf/blob/4a418df6/osgi/itests/src/test/java/org/apache/cxf/osgi/itests/CXFOSGiTestSupport.java
--
diff --git 
a/osgi/itests/src/test/java/org/apache/cxf/osgi/itests/CXFOSGiTestSupport.java 
b/osgi/itests/src/test/java/org/apache/cxf/osgi/itests/CXFOSGiTestSupport.java
index 280a0f2..5773e18 100644
--- 
a/osgi/itests/src/test/java/org/apache/cxf/osgi/itests/CXFOSGiTestSupport.java
+++ 
b/osgi/itests/src/test/java/org/apache/cxf/osgi/itests/CXFOSGiTestSupport.java
@@ -177,7 +177,7 @@ public class CXFOSGiTestSupport {
 public void assertServicePublished(String filter, int timeout) {
 try {
 Filter serviceFilter = bundleContext.createFilter(filter);
-ServiceTracker tracker = new ServiceTracker<>(bundleContext, 
serviceFilter, null);
+ServiceTracker tracker = new ServiceTracker(bundleContext, 
serviceFilter, null);
 tracker.open();
 Object service = tracker.waitForService(timeout);
 tracker.close();