Re: put rar and jar in local repo

2007-08-09 Thread Wayne Fay
The build helper plugin is your friend:
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html

Wayne

On 8/9/07, Lee Meador [EMAIL PROTECTED] wrote:
 I have a RAR project. There are a few interfaces in it that I would like to
 use in clients. So, I would like to deploy both the RAR file and the JAR
 file that goes in it to my local repo. It's analogous to deploying an ejb
 jar and the corresponding ejb client jar at the same time.

 Does anyone have some hints on how to do this?

 thanks.

 -- Lee Meador
 Sent from gmail. My real email address is lee AT leemeador.com


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



Re: put rar and jar in local repo

2007-08-09 Thread Lee Meador
Wayne,

I did figure out a work around and with your suggestion, which I will try
either tomorrow or when I get back from my vacation, that should be that.

What I did was make the project into a jar project and then I bound in the
rar plugin to run during the package phase. So the RAR file gets built (and
left in the target folder) and I can collect it with the assembly plugin for
deployment with the ear(s). But the jar file goes into the repo where it can
be used by the other projects that need it since they are clients to the RAR
itself.

Thanks for now. I'll try to report back later.

-- Lee Meador

On 8/9/07, Wayne Fay [EMAIL PROTECTED] wrote:

 The build helper plugin is your friend:

 http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html

 Wayne

 On 8/9/07, Lee Meador [EMAIL PROTECTED] wrote:
  I have a RAR project. There are a few interfaces in it that I would like
 to
  use in clients. So, I would like to deploy both the RAR file and the JAR
  file that goes in it to my local repo. It's analogous to deploying an
 ejb
  jar and the corresponding ejb client jar at the same time.
 
  Does anyone have some hints on how to do this?
 
  thanks.
 
  -- Lee Meador
  Sent from gmail. My real email address is lee AT leemeador.com
 

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




-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com