Hi Christian,

I tried doing what you did (I also used the same hibernate jar), and when I checked my local repo,
the custom pom was installed along with the jar file.

Btw, what was in your custom pom?
Mine was:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
 <modelVersion>4.0.0</modelVersion>
 <groupId>org.hibernate</groupId>
 <artifactId>hibernate</artifactId>
 <packaging>jar</packaging>
 <name>Hibernate</name>
 <version>3.2.2.ga</version>
</project>


Thanks,
Deng


Christian Cabanero wrote:

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]





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

Reply via email to