[ 
https://issues.apache.org/jira/browse/MJAVADOC-484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Archimedes Trajano updated MJAVADOC-484:
----------------------------------------
    Affects Version/s: 2.10.4
          Description: 
I have my pom.xml configured creating a javadoc report upol "site" goal
this is my project: https://github.com/trajano/jee

On a multimodule where {{install}} was not called the site generation will fail

{{[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.6:site (default-site) on project 
jee: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: 
Failed to execute goal on project jee-web: Could not resolve dependencies for 
project net.trajano.jee:jee-web:war:1.0.0-SNAPSHOT: Failure to find 
net.trajano.jee:jee-jaspic:jar:1.0.0-20170514.070214-81 in 
https://oss.sonatype.org/content/groups/public was cached in the local 
repository, resolution will not be reattempted until the update interval of 
sonatype has elapsed or updates are forced -> [Help 1]}}

It works when you do a mvn install && mvn site but not 
mvn package site
mvn site
mvn install site
mvn deploy site
mvn deploy site-deploy

  was:
I have my pom.xml configured creating a javadoc report upol "site" goal
this is my project: http://dev.fckeditor.net/browser/FCKeditor.Java/branches/2.4
this is my pom.xml: 
http://dev.fckeditor.net/browser/FCKeditor.Java/branches/2.4/pom.xml (reported 
is commented out since it produces problems)
console log solely running: javadoc:javadoc http://rafb.net/p/U0KqMb29.html 
works perfectly

the documentation of javadoc plugin says that if I include it to the reporting 
part of my pom, it will atuomatically produce javadoc for my main java stream, 
well this is what happends: http://rafb.net/p/7xREXc27.html

Do you see the diffrence?
1. It generates testdocs for some reason, too
2. it says it can't resolve types and classes which did not happen with 
javadoc:javadoc

I guess, this is a bug

          Component/s: javadoc

> javadoc:javadoc fails within site lifecycle on multimodule build
> ----------------------------------------------------------------
>
>                 Key: MJAVADOC-484
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-484
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 2.3, 2.10.4
>            Reporter: Archimedes Trajano
>
> I have my pom.xml configured creating a javadoc report upol "site" goal
> this is my project: https://github.com/trajano/jee
> On a multimodule where {{install}} was not called the site generation will 
> fail
> {{[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.6:site (default-site) on project 
> jee: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: 
> Failed to execute goal on project jee-web: Could not resolve dependencies for 
> project net.trajano.jee:jee-web:war:1.0.0-SNAPSHOT: Failure to find 
> net.trajano.jee:jee-jaspic:jar:1.0.0-20170514.070214-81 in 
> https://oss.sonatype.org/content/groups/public was cached in the local 
> repository, resolution will not be reattempted until the update interval of 
> sonatype has elapsed or updates are forced -> [Help 1]}}
> It works when you do a mvn install && mvn site but not 
> mvn package site
> mvn site
> mvn install site
> mvn deploy site
> mvn deploy site-deploy



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to