|
|
Hider, Sandy 2012-02-29, 18:50
All, I am fairly new to Maven. I have the 1.4 codebase and I have been able to compile and tar up a snapshot but it isn't creating the JavaDoc for it. What is the mvn command I would type to do that? Also is there a way to add the "-linksource" to the javadoc arguments when we build it so the HTML links to the source.
Thanks in advance,
Sandy
Billie J Rinaldi 2012-02-29, 20:22
On Wednesday, February 29, 2012 1:50:00 PM, "Sandy Hider" <[EMAIL PROTECTED]> wrote: > All, > I am fairly new to Maven. I have the 1.4 codebase and I have been able > to compile and tar up a snapshot but it isn't creating the JavaDoc for > it. What is the mvn command I would type to do that? Also is there a > way to add the "-linksource" to the javadoc arguments when we build it > so the HTML links to the source.
I believe this is what you want: mvn -Dlinksource=true javadoc:aggregate
Billie
David Medinets 2012-03-01, 02:58
I needed to run 'mvn install' before running the javadoc command in order to have the accumulo-generated jar files in my maven repository. Does that sound right?
On Wed, Feb 29, 2012 at 3:22 PM, Billie J Rinaldi <[EMAIL PROTECTED]> wrote: > On Wednesday, February 29, 2012 1:50:00 PM, "Sandy Hider" <[EMAIL PROTECTED]> wrote: >> .. tar up a snapshot but it isn't creating the JavaDoc for >> it. What is the mvn command I would type to do that? > > I believe this is what you want: > mvn -Dlinksource=true javadoc:aggregate
John Vines 2012-03-01, 04:40
mvn package will also do it, I believe. It is also the recommended command to use to get a straight checkout into runnable state.
John
On Wed, Feb 29, 2012 at 9:59 PM, David Medinets <[EMAIL PROTECTED]>wrote:
> I needed to run 'mvn install' before running the javadoc command in > order to have the accumulo-generated jar files in my maven repository. > Does that sound right? > > On Wed, Feb 29, 2012 at 3:22 PM, Billie J Rinaldi > <[EMAIL PROTECTED]> wrote: > > On Wednesday, February 29, 2012 1:50:00 PM, "Sandy Hider" < > [EMAIL PROTECTED]> wrote: > >> .. tar up a snapshot but it isn't creating the JavaDoc for > >> it. What is the mvn command I would type to do that? > > > > I believe this is what you want: > > mvn -Dlinksource=true javadoc:aggregate >
David Medinets 2012-03-01, 05:03
'mvn package' generates the jar file which is then used to create the 'runnable' directory. However, it's my understanding that 'mvn package' does not place the generated jar files into the maven repository. I thought that the javadoc command needed the jar files to exist in the maven repository and not simply be generated.
On Wed, Feb 29, 2012 at 11:40 PM, John Vines <[EMAIL PROTECTED]> wrote: > mvn package will also do it, I believe. It is also the recommended command > to use to get a straight checkout into runnable state. > > John > > On Wed, Feb 29, 2012 at 9:59 PM, David Medinets <[EMAIL PROTECTED]> > wrote: >> >> I needed to run 'mvn install' before running the javadoc command in >> order to have the accumulo-generated jar files in my maven repository. >> Does that sound right? >> >> On Wed, Feb 29, 2012 at 3:22 PM, Billie J Rinaldi >> <[EMAIL PROTECTED]> wrote: >> > On Wednesday, February 29, 2012 1:50:00 PM, "Sandy Hider" >> > <[EMAIL PROTECTED]> wrote: >> >> .. tar up a snapshot but it isn't creating the JavaDoc for >> >> >> it. What is the mvn command I would type to do that? >> > >> > I believe this is what you want: >> > mvn -Dlinksource=true javadoc:aggregate > >
Billie J Rinaldi 2012-03-01, 16:23
On Thursday, March 1, 2012 12:03:10 AM, "David Medinets" <[EMAIL PROTECTED]> wrote: > 'mvn package' generates the jar file which is then used to create the > 'runnable' directory. However, it's my understanding that 'mvn > package' does not place the generated jar files into the maven > repository. I thought that the javadoc command needed the jar files to > exist in the maven repository and not simply be generated.
When I run javadoc:aggregate on 1.4, it appears to install the jars into my local repo.
Billie
|
|