Hi Guys

I've used mvn install:install-file in the past and usually it works great
but....

I'm trying to now use it while using a custom pom for the 3rd party jar
(hibernate 3.2.2.ga since it's not in the repository yet).  I'm following
the instructions in:

http://maven.apache.org/plugins/maven-install-plugin/examples/custom-pom-installation.html

and I'm running this:

$> mvn install:install-file -Dfile=hibernate-3.2.2.ga.jar -DgroupId=
org.hibernate -DartifactId=hibernate -Dversion=3.2.2.ga -Dpackaging=jar
-DpomFile=hibernate-3.2.2.ga.pom

It's installing the jar file in my local repository but it's not installing
the custom pom file, hibernate-3.2.2.ga.pom.  The pom file is there in the
directory and is formatted correctly.

Any ideas why this isn't working?

Thanks,
Christian

On 1/31/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote:

Hi Fredy,

You can use the install:install-file goal of the maven-install-plugin to
do this.
For more details, please refer to
http://maven.apache.org/plugins/maven-install-plugin/index.html (see
Generic Pom Example) <
http://maven.apache.org/plugins/maven-install-plugin/>

Hope this helps! :-)

Thanks,
Deng

SoftwareEngineering Hauschel wrote:

> Hi all,
> how can I deploy a 3rdPartyPlugIn in my Repo?
> I have a "maven-xyz-plugin-1.0.jar" .
>
> Fredy
>


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


Reply via email to