eclipse-ee4j / eclipse-ee4j/metro-wsit

Dependency troubles in metro stack?

Open
#403 0 comments 0 reactions 0 assignees View on GitHub
Component: build Component: runtime Priority: Major Type: Bug
Dominant language
Java
Stars
6
Forks
21
Avg merge
10h 2m
Merged PRs (30d)
1

Description

I've been debugging the metro 2.3 webservices-rt stack because of a validation error. While debugging I found something strange. I was debugging the class com.sun.xml.ws.util.pipe.AbstractSchemaValidationTube. My debugger reports that at line 540, I should be in the doProcess method as seen in version 2.2.7 of jaxws-rt: [http://grepcode.com/file/repo1.maven.org/maven2/com.sun.xml.ws/jaxws-rt/2.2.7/com/sun/xml/ws/util/pipe/AbstractSchemaValidationTube.java/](http://grepcode.com/file/repo1.maven.org/maven2/com.sun.xml.ws/jaxws-rt/2.2.7/com/sun/xml/ws/util/pipe/AbstractSchemaValidationTube.java/)

When I downloaded the sources for this class, I got this version:
[http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish.metro/webservices-rt/2.3/com/sun/xml/ws/util/pipe/AbstractSchemaValidationTube.java#AbstractSchemaValidationTube](http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish.metro/webservices-rt/2.3/com/sun/xml/ws/util/pipe/AbstractSchemaValidationTube.java#AbstractSchemaValidationTube)

This seems to be the version from the latest jaws-rt 2.2.9-b14041: [http://grepcode.com/file/maven.java.net/content/groups/promoted/com.sun.xml.ws/jaxws-rt/2.2.9-b14041/com/sun/xml/ws/util/pipe/AbstractSchemaValidationTube.java#AbstractSchemaValidationTube](http://grepcode.com/file/maven.java.net/content/groups/promoted/com.sun.xml.ws/jaxws-rt/2.2.9-b14041/com/sun/xml/ws/util/pipe/AbstractSchemaValidationTube.java#AbstractSchemaValidationTube)

Several questions:

* How can the difference between source and compiled code be explained?
* (perhaps my incompetence but) why can't I find a dependency version for jaws-rt in the metro dependencies?
* What version of jaxws-rt should be delivered with metro 2.3?
#### Environment
Metro 2.3 stack, downloaded through Maven

Source: [https://github.com/javaee/metro-jax-ws/issues/1139](https://github.com/javaee/metro-jax-ws/issues/1139)
Author: glassfishrobot

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Metro 2.3 Maven dependency tree and downloaded sources for com.sun.xml.ws.util.pipe.AbstractSchemaValidationTube across jaxws-rt 2.2.7, 2.2.9-b14041, and webservices-rt 2.3. Verify which artifact is compiled and which jaxws-rt version Metro 2.3 declares. Done means explaining the source/bytecode mismatch and identifying the intended delivered dependency version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.