You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Martin Skopp <sk...@riege.de> on 2003/06/17 10:49:18 UTC

RE: deploying java sources and javadocs to repository

On Tue, 2003-06-17 at 10:20, Michal Maczka wrote:
> I am thinking about deploying java sources and javadocs to repository.
> 
> Any idea about naming convention of those artifacts? With maven-new it 
> will be easy to control, with maven-old it is not so easy.
> 
> I am thinking about:
> 
> /${groupId}/apis/${artitifactId}_api-${version}.jar  (for javadocs)
> /${groupId}/srcs/${artitifactId}_src-${version}.jar  (for sources).
> 
> Any better ideas? 
> 
> Other question is where is the best place for such functionality?
> I think for javadoc it is javadoc plugin. But for sources?

Isn't the "dist" plugin doing the job already?

[dist] : Build a complete distribution.
  build ...................... Build a complete distribution.
  build-bin .................. Build the binary distribution.
  build-setup ................ Set up directories for a distribution
build
  build-src .................. Build the source distribution.
  deploy ..................... Deploy a distribution
  deploy-bin ................. Deploy a binary distribution
  deploy-snapshot ............ Deploy a snapshot distribution
  deploy-src ................. Deploy a source distribution
  prepare-bin-filesystem ..... Builds the binary distribution file
system.
  prepare-src-filesystem ..... Builds the source distribution file
system.

> javadoc:archive
> java:src-archive

... dist plugin IMHO builds "zip" archives, which are more suitable than
jar e.g. for javadoc.

just my 2 cent
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com

This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org