Thank you Tim!!! I'll give that a try. David
Tim Kettler <[EMAIL PROTECTED]> 06/21/2007 08:29 AM Please respond to "Maven Users List" <users@maven.apache.org> To Maven Users List <users@maven.apache.org> cc Subject Re: "-javadoc" jars No, with <jarOutputDirectory/> you just tell the plugin where to create the javadoc jar. This will not help you to access it as a dependency from a repository. However, your actual problem is solved easily. It's no problem at all that the javadoc jar is deployed alongsite the main artifact in the same directory. This is by design! These auxiliary artifacts are distinct from the main artifact in the directory by the "-{classifier}.jar" part of their name. To declare a dependency to them just add the classifier part to the dependency description in your pom. For example: <dependency> <group>mygroup</group> <artifact>myartifact</artifact> <version>0.1</version> <classifier>javadoc</classifier> </dependency> -Tim [EMAIL PROTECTED] schrieb: > Tim > > I haven't. I missed that option while looking at all those other options. > = ) What I would like to do is be able to list these javadoc jars as a > dependency of another project. However they are installed to the same > directory as the project jar. I'm thinking I need them in a separate > directory so I can grab them as a dependency. Hopefully the > jarOutputDirectory will help me do this. If anyone knows of a different > way, please let me know. > > Thanks for your response, > > David > > > > Tim Kettler <[EMAIL PROTECTED]> > 06/21/2007 12:27 AM > Please respond to > "Maven Users List" <users@maven.apache.org> > > > To > Maven Users List <users@maven.apache.org> > cc > > Subject > Re: "-javadoc" jars > > > > > > > Hi, > > have you tried the 'jarOutputDirectory' config parameter found in the > plugin documentation [1]? > > -Tim > > [1] http://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html > > [EMAIL PROTECTED] schrieb: >> Hi Everyone, >> >> Is there anyway to include the "-javadoc" jars created by the javadoc >> plugin in a war or ear with maven 2? >> >> Thanks, >> >> David Williams >> 205-271-6159 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > _____________________________________ > CONFIDENTIALITY: This email (including any attachments) may contain > confidential, proprietary and privileged information, and unauthorized > disclosure or use is prohibited. If you received this email in error, > please notify the sender and delete this email from your system. Thank > you. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________ CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you.