maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Packaging up pre-existing jar and source jar
Date Wed, 16 Jan 2013 13:12:12 GMT
Or, if you have a repo manager it probably also provides a GUI to do this.

/Anders


On Wed, Jan 16, 2013 at 1:08 PM, Francesco Mari <mari.francesco@gmail.com>wrote:

> Take a look at the deploy-file mojo [0]. There is a brief explanation
> of it in the "Usage" page of the deploy plugin [1].
>
> [0]
> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html
> [1] http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
>
> 2013/1/16 Anders Hammar <anders@hammar.net>:
> > You already have the artifacts. You just need to create the pom (with the
> > correct metadata) and deploy the pom, lib.jar and lib-sources.jar to your
> > maven repository. There are different ways of doing this, depending on
> your
> > environment.
> >
> > /Anders
> >
> >
> > On Wed, Jan 16, 2013 at 11:08 AM, Joachim Durchholz <jo@durchholz.org
> >wrote:
> >
> >> Hi all,
> >>
> >> sorry if this is a FAQ but I didn't find instructions on maven.org for
> >> this.
> >>
> >> I'm provided with a lib.jar and lib-sources.jar.
> >> How do I make Maven generate an artifact from these, without recompiling
> >> the sources? (lib-sources.jar needs to be available for debugging when
> >> importing the artifact as a dependency in other Maven projects.)
> >>
> >> Any feedback appreciated!
> >> Jo
> >>
> >>
> ------------------------------**------------------------------**---------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<
> users-unsubscribe@maven.apache.org>
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message