Assuming you have things configured, you would use "mvn deploy" to
deploy your jar to a Maven repository. Also, you use "mvn install" to
install your jar into your local Maven repo cache (in
~/.m2/repository).
You can find plenty of documentation online about "mvn deploy".
Wayne
On 3/31/08, auth
My remote folder is a simple folder in my computer. Also, it is
interesting, how automatically (when i run 'mvn package' ) adding my jar to
my aven repository
--
View this message in context:
http://www.nabble.com/How-create-2-*.jar-tp16325044s177p16394702.html
Sent from the Maven - Users mail
,
C. Helck
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 10:25 AM
To: Maven Users List
Subject: Re: How create 2 *.jar
Tell us more about the remote directory. Is this a "Maven repository"
or is it simply a dumb file location? How do the
Tell us more about the remote directory. Is this a "Maven repository"
or is it simply a dumb file location? How do the other people get the
file, are they running Maven also or something else?
The more information you provide, the better the response will be.
Generally, I would suggest that you se
My project (my *.jar file) used by others team-members. When i use 'mvn
package' goal, i recive 1 *.jar file in my project folder in folder target.
Then i copy my *.jar file to remote directory, which shared for all others
team member. How can i do it automatically (for example using pom.xml or
ec
Just run a command after executing "mvn package" that copies the file.
#mvn package
snip
#cp target/file-1.0.0.jar /other/directory/
One file copied.
#
If you want a better response, tell us more about what you're trying
to do and why.
Wayne
On 3/27/08, author <[EMAIL PROTECTED]> wrote: