Is this Maven 1 or 2?
If it's Maven 1, use the WAR plugin to make the WAR and deploy using
the WAS plugin:
http://maven-plugins.sourceforge.net/maven-was5-plugin/
On 11/30/05, Oles <[EMAIL PROTECTED]> wrote:
> Gentlemen!
> I make war file by ant tasks:
>
> * <target name="make-raw-war">
> <war destfile="${build}/raw-tms.war"
> webxml="${webapp}/WEB-INF/web.xml">
> <lib dir="${lib}" />
> <classes dir="${build}" />
> <classes dir="${config}" />
> <webinf dir="${webapp}/WEB-INF" /> </war>
> </target>*
>
> * <target name="cook-war">
> <wsdeploy inWarFile="${build}/raw-tms.war"
> outWarFile="${target}/tms.war" verbose="false">
> <classpath refid="main-classpath"/>
> </wsdeploy> </target>
> *I get a sbn.war on output.
> But I should make this file corresponding to maven layout because it
> should be accessible for ear assembly in the future.
> So, it should be something like sbn-1.1.1.jar and lie at com.corp.sbn.
> What can I do
> 1.Do this tasks by maven
> 2.Do this tasks by ant on compile phase - but how then to pack into
> com.corp.sbn and make pom.xml and everything else.
> 3.?????????
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]