Ajith,

Thanks for the reply.

I understand that aar is a jar file with a special format.  What I am
wondering is if maven2 is aware of this 'special format'?  As I
understand maven2, it uses the packaging tag to 'know' what to do to
make the artifact.  So can I do the following?
<packaging>aar</packaging>

Or do I have to use the default packaging of jar and then rename?  If
this is the case, how do I rename in maven2?  

Also regarding the services.xml file, is there any help in maven2 to
auto generate this?  If not, this probably isn't a big deal.

Regarding the war, yes I did mean how to package the aar in the war.
You state how to do this but I am wondering if there is any maven2 help
for this as well.  Depending on the answers above, the aar may be known
by maven2 as jar and/or aar and have to be copied and/or renamed as aar.
It seems this could all be automated possibly.

Thanks!

-dh



-----Original Message-----
From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 27, 2006 9:12 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] How to build aar and Axis2 war with Maven2?

Hi,
an aar is a jar file with a special format. You can copy the compiled
classes into the relevant directory structure and use the jar command
with maven2 if you want.
If you are planning to use generated code then it will be convenient
to call the generated ant build script.

I don't really get what is meant by "Take the Axis2 aar and make the
Axis war needed for deployment" ! Did you mean to say that you should
have a war with your service pre-packed ? If so just package the
services/xxx.aar into the web-inf folder of the war file.

Ajith

On 5/26/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
> Hi Dave ;
> I dont think you need to compile Axis2 code , what I think is you have
> to add dependency into your project to pick Axis2 jars from apache
repo.
>
> Dave Hoffer wrote:
>
> > I would like to start using Axis2 in a new project. The project will
> > use Maven2 as the build system. How can I integrate Axis2?
> > Specifically, how do I?
> >
> > - Compile my sources into the Axis aar format? Or take my
> > application's jar and create the Axis2 aar format?
> >
> > - Take the Axis2 aar and make the Axis war needed for deployment.
> >
> > I would greatly appreciate info on how to do this.
> >
> > -dh
> >
>
> --
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Ajith Ranabahu

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


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

Reply via email to