In all cases (I mean if you have an existing pom.xml or not), there will be
a pom.xml with the artifact in the remote repository.

If you want to deploy an existing file (jar, war...) in a remote repository,
you have 2 choices :
- use deploy:deploy-file goal, this goal can be execute with or without a
pom.xml [1]
- use a repository manager (like Nexus) and upload your file with the UI
[1] http://maven.apache.org/plugins/maven-deploy-plugin/file-deployment.html


Maxime Gréau.
mgreau.com
*Auteur du livre **Apache Maven - Maîtriser l'infrastructure d'un projet
Java EE* <http://mvnbook.mgreau.com/>



2011/6/10 mihxil <[email protected]>

>
> Maxime Gréau wrote:
> >
> >
> >
> > 2) If you want to use an other protocol like DAV (or SCP, FTP...), you
> > have
> > to add an extension in your POM, this is the example for DAV :
> >
>
> What if you don't have a pom? I have some jars produced by other means and
> want to push it to a maven repository to have it available in other
> projects
> which do use maven.
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/maven-3-deploy-deploy-file-and-dav-http-tp3370548p4475557.html
>   Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to