Issue Details (XML | Word | Printable)

Key: MEV-498
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Assignee: Carlos Sanchez
Reporter: Dan Tran
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven Evangelism

javax.xml.ws:jaxws-api:2.1 is bad

Created: 03/Feb/07 08:48 PM   Updated: 28/Jan/08 01:46 PM   Resolved: 08/Jun/07 05:20 PM
Return to search
Component/s: Invalid POM

Issue Links:
Duplicate
 
Related
 

Group ID: javax.xml.ws
Artifact ID: jaxws-api
Version: 2.1


 Description  « Hide

Sun just released jaxws 2.1 and the jaxws-api available at repo1.maven.org is not the same with the Sun's one (both pom and the jar )
I am working jaxws-maven-plugin and the generate code crash due to missing interfaces

We can either sync the sun version over, or remove it from repo1 to remove confusion

Here is the link to java.net repo

https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.ws/



Sort Order: Ascending order - Click to sort in descending order
Carlos Sanchez added a comment - 05/Feb/07 03:30 PM

Dan Tran added a comment - 05/Feb/07 03:45 PM

So what should we do? having the old jaxws-api-2.1 is also bad. Perhaps repo1 should leave the bussiness of maintinaing that jar to java.net


Carlos Sanchez added a comment - 07/Feb/07 01:19 PM

that's what i did, but they changed it after sync, what can I do ?
the only thing that can be done right now is upload the good jar as version 2.1-1, state in the pom description that it's a fix of 2.1


Dan Tran added a comment - 11/Feb/07 09:34 AM

Can you remove it from repo1?


Carlos Sanchez added a comment - 11/Feb/07 08:44 PM

no, it's policy not to remove anything unless it's clearly unusable.


Dan Tran added a comment - 12/Feb/07 12:00 AM

I beleive it is unuable since the the jaxws-api at java.net has the correct dependencies and the jar at jaxws-api at java.net has more interfaces. The user of jaxws-maven-plugin is blocked from using this plugin since jaxws-api at repo1 is picked up first.


Carlos Sanchez added a comment - 12/Feb/07 12:22 AM

The fact that it's incorrect doesn't make it unusable. Unusable means jar corrupt or empty.
wdym about jaxws-maven-plugin problem? the central repo has to be self contained, the plugin can't be releasing depending on stuff in other repos


Dan Tran added a comment - 12/Feb/07 01:09 AM

jaxws-maven-plugin is in an odd situation where most of its dependencies are in java.net maven1 repo. One of the dependency (jaxws-api) happen to be at repo1 as well.

Since repo1 is primary repo, its jaxws-api is picked up first and therefore jaxws-maven-plugin is unusable.

Tell me what is correct action for this? Have java.net to pump up its release number which I dont think it wil be available until 2.2.

Question, why does repo1 have a deployment of jaxws-2.1 way before it is official released?


Carlos Sanchez added a comment - 12/Feb/07 11:31 AM

> jaxws-maven-plugin is in an odd situation where most of its dependencies are in java.net maven1 repo.

everything in the central repo needs all dependencies in the central repo, so you have to ask for a push of what you need from the java.net repo before releasing the plugin.

> One of the dependency (jaxws-api) happen to be at repo1 as well.

see previous comment, all of them need to be in repo1

> Since repo1 is primary repo, its jaxws-api is picked up first and therefore jaxws-maven-plugin is unusable.

same thing, released versions have to build against repo1 and only repo1

> Tell me what is correct action for this? Have java.net to pump up its release number which I dont think it wil be available until 2.2.

as I said before: "the only thing that can be done right now is upload the good jar as version 2.1-1, state in the pom description that it's a fix of 2.1"

> Question, why does repo1 have a deployment of jaxws-2.1 way before it is official released?

there was an attempt to get java.net repo synced automatically and everything was pushed to repo1. For other problems like this now is no longer automatic, but the previous stuff is already there. It's not my fault if they change released versions in their repo which is a VERY BAD thing.


Henri Yandell added a comment - 08/Jun/07 05:10 PM

Seems that this issue should be WONTFIX -> request 2.1-1 release. Sound right?


Carlos Sanchez added a comment - 08/Jun/07 05:20 PM

right


Marat Radchenko added a comment - 13/Aug/07 01:56 AM

This isn't good. My pom refers to both repo1 and java.net. I don't have any means to specify where jaxws-2.1 should be taken from (and of course it's taken from wrong repository).


Carlos Sanchez added a comment - 13/Aug/07 07:01 AM

Marat, that's not our responsibility, by definition releases shouldn' t be changed on the repository, and they were changed at java.net repo


Dan Tran added a comment - 13/Aug/07 11:17 PM

Marat, here is the work around

  • install a good copy of javax-api at your internal repo.
  • Use maven-proxy and configure it to pickup artifact at your internal repo first then repo1

On the second thought, It is a real pain for this setup. Can we make it as an exception??


Carlos Sanchez added a comment - 14/Aug/07 05:48 AM

the solution was already proposed, we can host a 2.1-1 with the right pom and jar, but somebody has to prepare and request it


Daniel Kulp added a comment - 29/Oct/07 12:28 PM

Created upload request for a 2.1-1 version.

http://jira.codehaus.org/browse/MAVENUPLOAD-1786