Re: Problems using a customized javadoc plugin from custom repository

2007-11-02 Thread Yan Huang
wondering if this issue is resolved? javadoc and sources plugin is repeating
life cycle unnecessarily. If your fix in javadoc is working, can it be
shared?

On 10/24/07, Dirk Olmes [EMAIL PROTECTED] wrote:

 Vincent Siveton wrote:
  Hi,
 
  Try to remove your repo, specially:
  ${user.home
 }/.m2/repository/org/apache/maven/plugins/maven-javadoc-plugin

 Vincent, I already did that, and even tried compiling with an empty
 local repo: still the same error.

 -dirk

  2007/10/24, Dirk Olmes [EMAIL PROTECTED]:
  Hi,
 
  I'm trying to work around http://jira.codehaus.org/browse/MJAVADOC-157
  so I have checked out the maven-javadoc-plugin sources and tweaked it
 so
  it works for building my site. I have added the necessary into to
 deploy
  my patched m-j-p to my custom repo and deployed it.
 
  The site runs on our CI server which must be able to download the
  patched m-j-p from our custom repo. This works fine but when I run the
  site, I get the following error message:
 
  [INFO]
 
 
  [ERROR] BUILD ERROR
  [INFO]
 
 
  [INFO] Error getting reports from the plugin
  'org.apache.maven.plugins:maven-javadoc-plugin': Unable to find the
 mojo
  'org.apache.maven.plugins:maven-javadoc-plugin:2.4-MULE-586296:javadoc'
  in the plugin 'org.apache.maven.plugins:maven-javadoc-plugin'
  org/apache/maven/doxia/siterenderer/RendererException
 
  No, running with -X -e does not come up with any more helpful info
 either.
 
  I have searched the archive and found various threads with unable to
  find the mojo which generally seems to be solved by removing the
 plugin
  in question from the local repo. I did this and I even ran the build
  with a fresh local repo: the error remains the same.
 
  Any idea what could be wrong here?
 
  -dirk
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Problems using a customized javadoc plugin from custom repository

2007-11-02 Thread Dirk Olmes
Yan Huang wrote:
 wondering if this issue is resolved? javadoc and sources plugin is repeating
 life cycle unnecessarily. If your fix in javadoc is working, can it be
 shared?

Well the fix in my situation was to check out the trunk of
maven-javadoc-plugin, delete the @aggregator from AbstractJavadocMojo
and deploy the patched plugin to the local repo using a different version.

This works fine as long as you have it in your local repository but if
you want to deploy the patched plugin to your custom repository, the
build will start to fail.

I gave up analyzing the problem as I don't really have the time and the
energy to dig through the Maven sources.

-dirk

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems using a customized javadoc plugin from custom repository

2007-10-24 Thread Vincent Siveton
Hi,

Try to remove your repo, specially:
${user.home}/.m2/repository/org/apache/maven/plugins/maven-javadoc-plugin

Cheers,

Vincent

2007/10/24, Dirk Olmes [EMAIL PROTECTED]:
 Hi,

 I'm trying to work around http://jira.codehaus.org/browse/MJAVADOC-157
 so I have checked out the maven-javadoc-plugin sources and tweaked it so
 it works for building my site. I have added the necessary into to deploy
 my patched m-j-p to my custom repo and deployed it.

 The site runs on our CI server which must be able to download the
 patched m-j-p from our custom repo. This works fine but when I run the
 site, I get the following error message:

 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error getting reports from the plugin
 'org.apache.maven.plugins:maven-javadoc-plugin': Unable to find the mojo
 'org.apache.maven.plugins:maven-javadoc-plugin:2.4-MULE-586296:javadoc'
 in the plugin 'org.apache.maven.plugins:maven-javadoc-plugin'
 org/apache/maven/doxia/siterenderer/RendererException

 No, running with -X -e does not come up with any more helpful info either.

 I have searched the archive and found various threads with unable to
 find the mojo which generally seems to be solved by removing the plugin
 in question from the local repo. I did this and I even ran the build
 with a fresh local repo: the error remains the same.

 Any idea what could be wrong here?

 -dirk

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]