No, it cannot be added to central. But you can add it to a repo in your own
repository and it will then be possible to use internally in your corp. If
you've set up a group which all users use, just add the repo that contains
the tools artifact to that group and the users don't have to reconfigure
anything (like adding a new repo).
If you haven't already, now you see one of the benefits of using a repo
manager.

/Anders
On Thu, Jun 10, 2010 at 10:06, Johannes Schneider <maili...@cedarsoft.com>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/09/2010 09:36 PM, Shan Syed wrote:
> > this is a Sun jar that's under a license that prevents it from being
> > available like that
> >
> > using system scope is an ok solution, but as stated elsewhere, hosting
> your
> > own repository is a great solution for this issue as well as others that
> you
> > will likely encounter as your project grows
>
> I have my own repository manager  up and running. But I want my lib to
> be available in Central so that it can be used without any additional
> troubles (like adding one more repository).
>
> So if I understand you correctly, it is possible to deploy an artifact
> with such a system dependency?
>
>
> Regards,
>
> Johannes
>
> >
> > try archiva, nexus, artifactory, etc
> >
> > On Wed, Jun 9, 2010 at 3:25 PM, Johannes Schneider
> > <maili...@cedarsoft.com>wrote:
> >
> > Hi guys,
> >
> >
> > at the moment I am creating a project that needs the tools.jar for
> > compilation and at runtime.
> > Therefore I have added dependency with scope "system" as explained here:
> >
> > http://maven.apache.org/general.html#tools-jar-dependency
> >
> > Is it possible to deploy that artifact to the central repository?
> > Or do there apply any restrictions?
> >
> >
> >
> > Thanks,
> >
> > Johannes
> >
> >
> >>
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
>
> - --
> Johannes Schneider - blog.cedarsoft.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQEcBAEBAgAGBQJMEJ0gAAoJEAytD9R7Qv6dw2AH/329FaD3WW35SqvBnjptsK59
> 4Vp0tNeRsVAkvAcSehVR6ezrtT5AWGd/ol4KVHrB0c9aRVwDUuULFmrodORzgRb2
> AsjSfY7TXiBZK7ls92VW31QudDFR+oe1wX19b11k5qgTDLl+pukFlL6cA/C9tGkr
> pgFw82mV8wLpxgRCfWBZ+R4/H/uI0mjw9A7gQYVKozcRtTYV6V4dCFpS0riuNB3S
> mrzrl/unXrB+VQoU9hlu3Gtv7fIUXYDW4Or9WTRE/kkZpefI4+XXLucroEkcVj8W
> UEYFpEGBjaV3u2YzKt8ZU8rO01/pABAGAOpwB0sLV1bD1utmlJ5WjX4lXilf/Hs=
> =bv85
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to