Not sure.  That shouldn't happen.  Specifying -DperformRelease=true
activates a profile that binds source:jar and javadoc:jar to the
lifecycle, and then those two jar files should be installed into your
local repo.

-Stephen

On 3/17/06, Luca Gmail <[EMAIL PROTECTED]> wrote:
> But it installs only the jar with the class file, thus in the local
> repository there are no jar with sources or javadoc.
>
> Is it possible or am I getting wrong?
>
> Tnx,
> Luca
>
> -----Original Message-----
> From: Aaron Freeman [mailto:[EMAIL PROTECTED]
> Sent: mercoledì 15 marzo 2006 14.46
> To: Maven Users List
> Subject: Re: How do you install a JAR with source
>
> Sorry, I was thinking that what Dan said was only for the release
> plugin, not the install command. Your right this works fine:
>
> mvn -DperformRelease=true install
>
> Thanks!
>
> On 3/15/06, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> > Again, running mvn -DperformRelease=true install will do the same thing.
> >
> > -Stephen
> >
> > On 3/14/06, Aaron Freeman <[EMAIL PROTECTED]> wrote:
> > > Thanks a lot!! After looking at that link I figured the way you
> > > install the sources and the javadocs with the binary is with the
> > > command:
> > >
> > > mvn source:jar javadoc:jar install
> > >
> > > It works great!
> > >
> > > Thanks again.
> > >
> > > On 3/14/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > > This might also help?
> > > >
> > > > "mvn source:jar javadoc:jar repository:bundle-create"
> > > > From: http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
> > > >
> > > > But this just prepares a bundle you can then upload to Maven JIRA for
> > > > deployment in Ibiblio. Not sure if you can use that same bundle to
> > > > deploy locally... We're just installing binaries in our local repo at
> > > > this point.
> > > >
> > > > Definitely respond back to the list when you get it working, so the
> > > > rest of us know how to do it properly.
> > > >
> > > > Wayne
> > > >
> > > >
> > > > On 3/14/06, dan tran <[EMAIL PROTECTED]> wrote:
> > > > > try it with -DperformRelease=true, i found this in release plugin.
> > > > >
> > > > > -D
> > > > >
> > > > > On 3/14/06, Aaron Freeman <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I am new to Maven and trying to build a JAR from one of my
> projects
> > > > > > and insall it in my local repository. I am able to build it and
> > > > > > itstall it just fine, but I would like to include the source in
> the
> > > > > > repository also. I haven't been able to find anything that would
> tell
> > > > > > me how to do this. Can anyone tell me how, or where I can get some
> > > > > > information about it.
> > > > > >
> > > > > > Also, is there some place I can get some good information about
> > > > > > creating archtypes. I didn't find much on the Maven web site.
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > >
> ---------------------------------------------------------------------
> > > > > > 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]
> > >
> > >
> >
> >
> > --
> > Stephen Duncan Jr
> > www.stephenduncanjr.com
> >
> > ---------------------------------------------------------------------
> > 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]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to