RE: Generation of javadoc with multiple src directories

2005-04-06 Thread Richard . Batchelor
Hi Fred,
It appears to work correctly if you use a preGoal on 
maven-javadoc-plugin:report goal to set your maven.compile.src.set property.

Regards,

Richard.

-Original Message-
From: Frédéric Burlet [mailto:[EMAIL PROTECTED]
Sent: 15 March 2005 13:00
To: users@maven.apache.org
Subject: RE: Generation of javadoc with multiple src directories



Hi Stéphane :)

As the debug output shows it, the pom.package properties is set. I
checked it twice by looking into my project.xml and it is well
defined...

Regards,

Fred.


On Tue, 2005-03-15 at 13:50 +0100, Stéphane Nicoll wrote:
> Hey Fred ;-)
> 
> Have you checked that your POM contains a package entry? This is used by the 
> javadoc engine to filter which source files need to be handled
> 
> com.kiala.kserver should do it.
> 
> Cheers,
> Stéphane
> 
> -Original Message-
> From: Frédéric Burlet [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 15, 2005 1:48 PM
> To: users@maven.apache.org
> Subject: Generation of javadoc with multiple src directories
> 
> 
> 
> Hi,
> 
> I'm trying to generate javadoc for a project that has multiple directories.
> 
> First I seen that this is only possible with the maven-javadoc-plugin 1.7 
> since there is a bug in 1.6.1. [1]
> 
> [1] http://jira.codehaus.org/browse/MPJAVADOC-41
> 
> I checked the FAQ about how to handle project with multiple src dirs [2]. I 
> setup my maven.xml to take care of this: I changed my pregoal name by 
> "javadoc:generate".
> 
> [2] http://maven.apache.org/faq.html#multiple-source-directories
> 
> However when I do maven -Dmaven.javadoc.debug=true javadoc:generate I see two 
> things:
> 
> a. maven.compile.src.set is not changed and contains only one path to a src 
> dir (which is existing). b. the generation fails and I get:
> 
> [echo] internal_javadoc_needed is false
> [echo] ***
> [echo] * No sources found. Javadoc not created ! *
> [echo] ***
> 
> I would like to know if there are any docs somewhere about how to generate 
> javadoc for a maven project with multiple source dirs; or if anybody from 
> this ml already set up this kind of config ?
> 
> Here below you will find the debug outpout of the maven-javadoc-public.
> 
> Any help will be appreciated,
> 
> Regards,
> 
> Fred.
> 
> ### Debug mode is on ###
> ==
> === java plugin properties ===
> ==
> maven.compile.encoding= []
> maven.compile.src.set = [/home/fbu/workspace-kserver-
> head/kserver/modules/tests/src/java]
> ==
> === docs properties===
> ==
> maven.docs.outputencoding = [ISO-8859-1]
> ==
> === javadoc plugin properties  === ==
> 
> Javadoc properties :
> 
> maven.javadoc.additionalparam = []
> maven.javadoc.debug   = [true]
> maven.javadoc.doclet  = []
> maven.javadoc.docletpath  = []
> maven.javadoc.excludepackagenames = []
> maven.javadoc.locale  = []
> maven.javadoc.maxmemory   = []
> maven.javadoc.overview= []
> maven.javadoc.package = []
> maven.javadoc.private = [true]
> maven.javadoc.public  = []
> maven.javadoc.source  = []
> maven.javadoc.useexternalfile = [yes]
> 
> Standard doclet properties :
> 
> maven.javadoc.author  = [true]
> maven.javadoc.bottom  = [Copyright ©  Kiala, IT
> Dev. All Rights Reserved.]
> maven.javadoc.customtags  = []
> maven.javadoc.destdir = [/home/fbu/workspace-kserver-
> head/kserver/modules/tests/target/docs/apidocs]
> maven.javadoc.links   = []
> maven.javadoc.offlineLinks= []
> maven.javadoc.mode.online = []
> maven.javadoc.stylesheet  = [/home/fbu/.maven/cache/maven-
> javadoc-plugin-1.7/plugin-resources/stylesheet.css]
> maven.javadoc.tagletpath  = []
> maven.javadoc.taglets = []
> maven.javadoc.use = [true]
> maven.javadoc.version = [true]
> maven.javadoc.windowtitle = [kserver-tests 1.2.0-SNAPSHOT API]
> ==
> === Project descriptor ===
> ==
> pom.package   = [com.kiala.kservertests]
> ==
> === javadoc internal variables === ==
> internal_javadoc_jar  = [/home/fbu/workspace-kserver-
> head/kserver/modules/tests/target/kserver-tests-1.2.0-
> SNAPSHOT_javadoc.jar]
> internal_javadoc_needed   = []
> internal_javadoc_working_dir  = [/home/fbu/workspace-kserver-
> head/kserver/modules/tests/target/javadoc]
>   

Goals

2005-01-05 Thread Richard . Batchelor
Hi all,

Is there a goal that runs before dependencies are downloaded, that I could 
attach some Jelly code (pregoal/postgoal) to alter the maven.mode.online 
property value programmatically? In fact, extending the question further, are 
there 'internal' goals that always execute whenever you run any Maven plugin 
goal, and if so, what are they?

Thanks in advance,

Richard.


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Snapshot Dependency - Jar Overrides

2004-12-23 Thread Richard . Batchelor
Hi all,

I've been experimenting with my local Maven (v1.0.2) build environment the use 
of snapshot artifacts. I was wondering if people can confirm the following 
behaviour, or point out what I am doing wrong.

1. I find that if I try to override a dependency Jar that is defined in my POM 
as a SNAPSHOT version, the build fails saying that it cannot find the override 
path specified - even though the Jar file is there. If however, I change the 
dependency version in my POM to a fixed version number it works fine. 
Alternatively, if I build offline using 'maven -o', it also works fine.

Should I be able to override a SNAPSHOT dependency using a maven.jar.artifactId 
= [path] property?

2. If I use maven.repo.remote.enabled=false I always get build failures due to 
unsatisfied dependencies for my SNAPSHOT dependency Jars, even though they are 
present in my local repository. The Maven website infers that this shouldn't 
happen - that the build should use the Snapshot Jars that are in my local 
repository. If I use maven -o again, it works fine - with the usual warning of 
the possibility of out-of-date dependencies.

Are there additional properties I need to use to get these two features working?

Thanks in advance.

Regards,

Richard.

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Question about remote repository properties

2004-12-13 Thread Richard . Batchelor
Hi all,

Hope you don't mind, I am new to Maven and have a quick question to confirm my 
understanding.

I am currently trying to set up a remote repository, and have been confused by 
the various properties that relate to remote repository use, particularly as 
even when I thought I had set up the properties correctly, my maven 
installation was attempting to access ibiblio.org to download a dependency.

Am I correct in thinking the following:
maven.repo.remote is a list of repositories from which dependencies are 
downloaded.
maven.repo.list may be used to define a list of remote repositories to 
deploy artifacts to.

If this is true, what is maven.repo.central used for? 

Also, I presume I should add the first repository in my maven.repo.list to the 
maven.repo.remote list in order to ensure that my artifacts are downloaded from 
my internal (remote) repository before there is any attempt to resolve them at 
external repositories, such as ibiblio.org?

Thanks in advance,

Regards,

Richard.



Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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