Hi Suresh,

mvn install, installs/place the artifact in your local repository(your repo in your own machine), while mvn deploy deploys/place the artifact in a remote repository(repo to a remote machine).

-allan

Suresh Govindaraj wrote:

what is the difference between doing a mvn install and mvn deploy. Both help us 
download to local repositaries right?
Thanks Suresh

Allan Ramirez <[EMAIL PROTECTED]> wrote:
 Hi there,

You missed the "-Dversion". and one more thing change your groupID to groupId and artifactID to artifactId.

Hope this helps.

-allan

Rasconi Luca (u.e.) wrote:

Hi all,

im trying to deploy third party jars to my internal repository

so i use deploy plugin in this way:

mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc
-DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo

-Dversion=8i-r2



but mnv responds in this way:

[ERROR] BUILD ERROR

[INFO] ---------------------------------------------------------------

[INFO] Missing group, artifact, version, or packaging information





I don't understand!!!!!





Tnx,

Luca











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


Thanks

Suresh Kumar Govindaraj
                
---------------------------------
Brings words and photos together (easily) with
PhotoMail  - it's free and works with Yahoo! Mail.

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

Reply via email to