users@jersey.java.net

[Jersey] Could not find artifact com.sun.jersey:jersey-server:bundle:1.10

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Thu, 07 Feb 2013 12:48:57 -0500

Hi Guys,

I am trying to add extended wadl generation to my jersey rest service
using the following example as reference:

     <parent>
         <groupId>com.sun.jersey.samples</groupId>
         <artifactId>jersey-samples</artifactId>
         <version>1.10</version>
     </parent>
     <artifactId>generate-wadl</artifactId>
     <name>Generate WADL - Jersey sample</name>

I get the following build error:

"
Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:javadoc (default) on
project myproject: An error has occurred in JavaDocs report generation:
Unable to find artifact:groupId = 'com.sun.jersey'
artifactId = 'jersey-server'
version = '1.10': Could not find artifact
com.sun.jersey:jersey-server:bundle:1.10 in my-repository
(http://www.mycompany.com/m2/repository/)

Try downloading the file manually from the project website.
"


Note that my-repository is the first repository listed in the
repositories section of my pom and that I do have the jvnet repo.

         <repository>
             <id>maven.java.net.releases</id>
             <name>New Java.net Repository for Maven</name>
<url>https://maven.java.net/content/repositories/releases/</url>
             <snapshots>
                 <enabled>false</enabled>
             </snapshots>
             <releases>
                 <enabled>true</enabled>
             </releases>
         </repository>

I am wondering where is the missing dependency that I can point to? And
why does the generate-wadl sample build ok?

Thanks for your help.

-- 
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com