Re: Include source, javadocs, etc in installed artifact
lightbulb432 wrote: From where can I download maven-javadoc-plugin 2.4? There's a documented IBM JVM-specific bug that's fixed in 2.4 that I need to download. Unfortunately, it doesn't look like it's released yet (is it?), with the latest version being 2.3 (see http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin). When will 2.4 be released, and how can I use a currently-unreleased version at this time? How do I build a version I can deploy to my local repository for use in my project? If I check out the SVN link corresponding to trunk/maven-javadoc-plugin/, which contains src/ and pom.xml, what mvn command would I use to build it? mvn install to install it in your local repo. Also, would I be able to check out only trunk/maven-javadoc-plugin, or do I need to check out the folder structure higher up in the hierarchy? No, you'll get everything else (parent pom etc.) from the central repository. Thanks. Yaakov Chaikin wrote: As part of your plugins configuration, do this; plugin artifactIdmaven-source-plugin/artifactId configuration aggregatefalse/aggregate /configuration executions execution phasepackage/phase goals goaljar/goal /goals /execution /executions /plugin If you're using Eclipse, you can then do this (after closing eclipse): mvn eclipse:clean eclipse:eclipse -DdownloadSources=true Eclipse will parse the JavaDocs for you from the source. However, if you still want javadocs, do this in the pom: plugin artifactIdmaven-javadoc-plugin/artifactId configuration aggregatetrue/aggregate /configuration /plugin Similarly, for Eclipse, you would now add this to the line: mvn eclipse:clean eclipse:eclipse -DdownloadSource=true -DdownloadJavadocs=true Hope this helps. Yaakov. On 11/4/07, Dennis Lundberg [EMAIL PROTECTED] wrote: This was answered on October 31. on this list. Check the archives for a thread titled Attaching source code. lightbulb432 wrote: When I run the mvn install, install:install, or install:install-file command, only the JAR itself is put into my local repository. How can I get the source, Javadocs, and other things to also be put into the local repository? I looked at the following link for any parameters to add, but nothing relating to this was mentioned. http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html Also, what's the difference between the three types of install commands specified above? install is a phase, while the other two are goals? Does the install phase by default call one of those two goals? Thanks. -- Dennis Lundberg - 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] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Include source, javadocs, etc in installed artifact
From where can I download maven-javadoc-plugin 2.4? There's a documented IBM JVM-specific bug that's fixed in 2.4 that I need to download. Unfortunately, it doesn't look like it's released yet (is it?), with the latest version being 2.3 (see http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin). When will 2.4 be released, and how can I use a currently-unreleased version at this time? How do I build a version I can deploy to my local repository for use in my project? If I check out the SVN link corresponding to trunk/maven-javadoc-plugin/, which contains src/ and pom.xml, what mvn command would I use to build it? Also, would I be able to check out only trunk/maven-javadoc-plugin, or do I need to check out the folder structure higher up in the hierarchy? Thanks. Yaakov Chaikin wrote: As part of your plugins configuration, do this; plugin artifactIdmaven-source-plugin/artifactId configuration aggregatefalse/aggregate /configuration executions execution phasepackage/phase goals goaljar/goal /goals /execution /executions /plugin If you're using Eclipse, you can then do this (after closing eclipse): mvn eclipse:clean eclipse:eclipse -DdownloadSources=true Eclipse will parse the JavaDocs for you from the source. However, if you still want javadocs, do this in the pom: plugin artifactIdmaven-javadoc-plugin/artifactId configuration aggregatetrue/aggregate /configuration /plugin Similarly, for Eclipse, you would now add this to the line: mvn eclipse:clean eclipse:eclipse -DdownloadSource=true -DdownloadJavadocs=true Hope this helps. Yaakov. On 11/4/07, Dennis Lundberg [EMAIL PROTECTED] wrote: This was answered on October 31. on this list. Check the archives for a thread titled Attaching source code. lightbulb432 wrote: When I run the mvn install, install:install, or install:install-file command, only the JAR itself is put into my local repository. How can I get the source, Javadocs, and other things to also be put into the local repository? I looked at the following link for any parameters to add, but nothing relating to this was mentioned. http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html Also, what's the difference between the three types of install commands specified above? install is a phase, while the other two are goals? Does the install phase by default call one of those two goals? Thanks. -- Dennis Lundberg - 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] -- View this message in context: http://www.nabble.com/Include-source%2C-javadocs%2C-etc-in-installed-artifact-tf4747794s177.html#a13886763 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Include source, javadocs, etc in installed artifact
As part of your plugins configuration, do this; plugin artifactIdmaven-source-plugin/artifactId configuration aggregatefalse/aggregate /configuration executions execution phasepackage/phase goals goaljar/goal /goals /execution /executions /plugin If you're using Eclipse, you can then do this (after closing eclipse): mvn eclipse:clean eclipse:eclipse -DdownloadSources=true Eclipse will parse the JavaDocs for you from the source. However, if you still want javadocs, do this in the pom: plugin artifactIdmaven-javadoc-plugin/artifactId configuration aggregatetrue/aggregate /configuration /plugin Similarly, for Eclipse, you would now add this to the line: mvn eclipse:clean eclipse:eclipse -DdownloadSource=true -DdownloadJavadocs=true Hope this helps. Yaakov. On 11/4/07, Dennis Lundberg [EMAIL PROTECTED] wrote: This was answered on October 31. on this list. Check the archives for a thread titled Attaching source code. lightbulb432 wrote: When I run the mvn install, install:install, or install:install-file command, only the JAR itself is put into my local repository. How can I get the source, Javadocs, and other things to also be put into the local repository? I looked at the following link for any parameters to add, but nothing relating to this was mentioned. http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html Also, what's the difference between the three types of install commands specified above? install is a phase, while the other two are goals? Does the install phase by default call one of those two goals? Thanks. -- Dennis Lundberg - 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]
Include source, javadocs, etc in installed artifact
When I run the mvn install, install:install, or install:install-file command, only the JAR itself is put into my local repository. How can I get the source, Javadocs, and other things to also be put into the local repository? I looked at the following link for any parameters to add, but nothing relating to this was mentioned. http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html Also, what's the difference between the three types of install commands specified above? install is a phase, while the other two are goals? Does the install phase by default call one of those two goals? Thanks. -- View this message in context: http://www.nabble.com/Include-source%2C-javadocs%2C-etc-in-installed-artifact-tf4747794s177.html#a13575949 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Include source, javadocs, etc in installed artifact
This was answered on October 31. on this list. Check the archives for a thread titled Attaching source code. lightbulb432 wrote: When I run the mvn install, install:install, or install:install-file command, only the JAR itself is put into my local repository. How can I get the source, Javadocs, and other things to also be put into the local repository? I looked at the following link for any parameters to add, but nothing relating to this was mentioned. http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html Also, what's the difference between the three types of install commands specified above? install is a phase, while the other two are goals? Does the install phase by default call one of those two goals? Thanks. -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]