On Wed, Aug 12, 2009 at 2:30 PM, huser<mpinj...@atxg.com> wrote:

> Here is what I added in the maven goal.
>
> -e deploy:deploy-file -Dfile=pom.xml
> -Durl=http://abc001.na.abcglobal.com:8081/nexus/content/repositories/releases
> -DrepositoryId=releases -DgroupId=com.abc.t3 -DartifactId=t3 -Dversion=1.1
> -Dpackaging=pom
>
> But this creates incorrect 1.1 version of my project POM. I want to see the
> actual contents of pom.xml from my version control repository to get
> deployed to Nexus. Instead the resulting POM is

Try using -DpomFile=... on the command line.

You may need both -Dfile=... and -DpomFile=... to make it work right.
I haven't done this from the command line in a while.

I'd also check whether Nexus has a web form where you can upload
artifacts, that might be easier.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to