users@jersey.java.net

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

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Thu, 07 Feb 2013 17:22:46 -0500

The problem has something to do wit the version of maven-javadoc-plugin :-(

The version 2.8.1 did not work but version 2.4 did. Thanks to the
following message in the archive:

http://jersey.576304.n2.nabble.com/Need-extended-wadl-help-tp5863834p6663709.html

Perhaps the generate-wadl sample should call this out prominently and
relevant code be modified to work with more recent maven-javadoc-plugin?

Should I log an issue on this?

On 02/07/2013 12:48 PM, Farrukh Najmi wrote:
> 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