cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: Fix compile error with old maven dependencies
Date Tue, 02 Jun 2015 21:36:47 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 9ab464fe5 -> ad7a25af9


Fix compile error with old maven dependencies


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

Branch: refs/heads/3.0.x-fixes
Commit: ad7a25af9778db32b78ef1141155cc7b09dec6ba
Parents: 9ab464f
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue Jun 2 17:36:28 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Jun 2 17:36:28 2015 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/ad7a25af/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
----------------------------------------------------------------------
diff --git a/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
b/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
index b0b78de..623592e 100644
--- a/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
+++ b/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
@@ -439,7 +439,8 @@ public class Java2WSMojo extends AbstractMojo {
                     projectHelper.attachArtifact(project, wsdlFile.getName(), wsdlFile);
                 }
                 boolean hasWsdlAttached = false;
-                for (Artifact a : project.getAttachedArtifacts()) {
+                for (Object o : project.getAttachedArtifacts()) {
+                    Artifact a = (Artifact)o;
                     if ("wsdl".equals(a.getType())) {
                         hasWsdlAttached = true;
                     }


Mime
View raw message