[Issue 970] New - maven: broken dependency in webservices-1.2.pom

View: New views
5 Messages — Rating Filter:   Alert me  

[Issue 970] New - maven: broken dependency in webservices-1.2.pom

by japod :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=970
                 Issue #|970
                 Summary|maven: broken dependency in webservices-1.2.pom
               Component|wsit
                 Version|1.2
                Platform|Sun
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|install
             Assigned to|ritzmann
             Reported by|japod






------- Additional comments from japod@... Wed Jul 16 14:56:48 +0000 2008 -------
Summary: you can not depend on [com.sun.xml.ws:webservices-rt:jar:1.2] in your
maven project

pom file [1] depends on a non-existing artifact
[com.sun.enterprise:hk2:jar:0.2-SNAPSHOT]

it means you can not directly depend on [com.sun.xml.ws:webservices-rt:jar:1.2],
as it would fail your build with:

[ERROR]Transitive dependency resolution for scope: compile has failed for your
project.
[ERROR]Error message: Missing:
[ERROR]----------
[ERROR]1) com.sun.enterprise:hk2:jar:0.2-SNAPSHOT
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.sun.enterprise -DartifactId=hk2
-Dversion=0.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file
there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.sun.enterprise -DartifactId=hk2
-Dversion=0.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) com.mycompany:mavenproject1:war:1.0-SNAPSHOT
[ERROR] 2) com.sun.xml.ws:webservices-rt:jar:1.2
[ERROR] 3) com.sun.enterprise:hk2:jar:0.2-SNAPSHOT

[1] should probably depend on [com.sun.enterprise:hk2:jar:0.2] instead,
which means the following update in [1]:
<properties>
<hk2.version>0.2-SNAPSHOT</hk2.version>
</properties>
should be replaced with:
<properties>
<hk2.version>0.2</hk2.version>
</properties>

[1]http://download.java.net/maven/2/com/sun/xml/ws/webservices/1.2/webservices-1.2.pom

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 970] maven: broken dependency in webservices-1.2.pom

by japod :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=970






------- Additional comments from japod@... Fri Jul 18 15:44:48 +0000 2008 -------
As a workaround, you can install the missing hk2 artifact manually:

1) download it from
http://download.java.net/maven/glassfish/com/sun/enterprise/hk2/0.2/hk2-0.2.jar
2) install downloaded jar into your m2 local repository via:
mvn install:install-file  \
  -DgroupId=com.sun.enterprise \
  -DartifactId=hk2  \
  -Dversion=0.2-SNAPSHOT  \
  -Dpackaging=jar \
  -Dfile=hk2-0.2.jar

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 970] maven: broken dependency in webservices-1.2.pom

by ritzmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=970



User ritzmann changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from ritzmann@... Mon Jul 28 09:33:36 +0000 2008 -------
Will look into it later this week.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 970] maven: broken dependency in webservices-1.2.pom

by ritzmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=970






------- Additional comments from ritzmann@... Wed Jul 30 13:47:40 +0000 2008 -------
This problem was fixed in Metro 1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 970] maven: broken dependency in webservices-1.2.pom

by ritzmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://wsit.dev.java.net/issues/show_bug.cgi?id=970



User ritzmann changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from ritzmann@... Wed Aug  6 13:54:13 +0000 2008 -------
Fixed in Metro 1.2 as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...