-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Nico,

> install:intall-file can be used to put an artifact in local repo. Can I
> use deploy:deploy-file to do the same in my corporate repo ?

Yes.

> How to set the remote repository path (I cannot find an entry for this
> in setting.xml) ?

It depends on how you access your remote repository :-)

In our company I've set up a local maven proxy which is used to
distribute jars from ibiblio.org as well as our internal ones and to
which I have direct file access. To deploy a new jar to the proxy I'm
using the following command line:

$ mvn deploy:deploy-file
    -DrepositoryId=bender
    -Durl=file://H:/maven-proxy/target/repo-local
    -Dpackaging=jar
    -DgroupId=<groupId>
    -DartifactId=<artifactId>
    -Dversion=<version>
    -Dfile=<path_to_jar>


My settings.xml:

<settings>
  ...
  <servers>
    <server>
      <id>bender</id>
    </server>
  </servers>
</settings>


HTH

Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEK/kVQvObkgCcDe0RAqGPAKCyav64wUa9pbFyg+b2ES9iOLVM0wCgvt+8
EQqvCqZkxANK9BwCw9Yj+qs=
=QO/i
-----END PGP SIGNATURE-----

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

Reply via email to