Hi Wendy,

I used deploy:deploy-file:

mvn deploy:deploy-file -DgroupId=com.foo -DartifactId=common-dependencies
-Dversion=1.0 -Dpackaging=pom -Dfile=c:/poms/common-dependencies.xml
-Durl=http://ourinternalrepos:8080/archiva/repository/internal
-DrepositoryId=internal  -Dgenerate-pom=true

The install plugin states that it:
"Installs a file in local repository."

I want to install to an Internal repository which is why the deploy plugin
seemed appropriate.



Wendy Smoak-3 wrote:
> 
> On Mon, Mar 24, 2008 at 1:16 PM, buzzterrier <[EMAIL PROTECTED]>
> wrote:
> 
>>  Thx for the reply. I did define a custom pom, that declared the
>>  dependencies, e.g.
> ...
>>  but when I deploy this pom to the internal repository the dependencies
>> are
>>  stripped out and I am left with:
> 
> What command did you use?
> 
> My guess is that you left out -DpomFile=... and you're getting the
> automatically generated pom.
> 
> http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Deploy-pom-with-dependencies-to-internal-repository-tp16258021s177p16260462.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