maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernando da Motta Hildebrand" <fernandohildebr...@gmail.com>
Subject Re: Maven & java2wsdl...
Date Mon, 28 Jan 2008 23:54:17 GMT
Thanks man,

But I really can´t afford to upgrade do maven2. That would require the kind
of efford I can´t spend my team with now.
So... Does anyone have any sugestion? Besides going for maven2... Using ant
tasks maybe?

2008/1/28, Allen, Daniel <Daniel.Allen@kbcfp.com>:
>
> (By the way, when I say "it might be because,"  I mean "maybe no one's
> responding because," not that using Maven 1 might be your problem)
>
> -----Original Message-----
> From: Allen, Daniel
> Sent: Monday, January 28, 2008 4:22 PM
> To: Maven Users List
> Subject: RE: Maven & java2wsdl...
>
> It might be because you're using Maven 1. I get the impression that most
> of the people on the User List have moved on to Maven 2. There is some
> documentation around on WSDL and Axis in Maven 2. I believe the example
> system in "Better Builds With Maven" (free PDF book) uses those, so if
> you wanted to migrate to the newer version, that might help. I have
> little to no idea of the intricacies of Maven 1, though.
>
> -----Original Message-----
> From: Fernando da Motta Hildebrand [mailto:fernandohildebrand@gmail.com]
>
> Sent: Monday, January 28, 2008 2:55 PM
> To: users@maven.apache.org
> Subject: Re: Maven & java2wsdl...
>
> No one? Please?
>
> 2008/1/11, Fernando da Motta Hildebrand <fernandohildebrand@gmail.com>:
> >
> > Hi,
> >
> > I'm using Maven 1.x with Axis 1, here's below my maven.xml
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> >
> > <project xmlns:j="jelly:core" xmlns:maven="jelly:maven"
> > xmlns:ant="jelly:ant" xmlns:u="jelly:util" default="radar:build">
> >
> >   <preGoal name="java:compile" >
> >     <mkdir dir="${maven.build.dir}/xdoclet/webdoclet/WEB-INF" />
> >       <attainGoal name="xdoclet:webdoclet" />
> >       <attainGoal name="wsdl" />
> >
> >       <ant:path id=" axis.src.set">
> >       <ant:pathelement location="${maven.axis.build.dir}" />
> >     </ant:path>
> >     <maven:addPath id="maven.compile.src.set" refid="axis.src.set"/>
> >   </preGoal>
> >
> >
> >   <preGoal name="war:webapp">
> >     <j:set var="webapp.build.webinf" value="${maven.war.webapp.dir
> > }/WEB-INF"/>
> >     <j:set var="webapp.build.metainf " value="${maven.war.webapp.dir
> > }/META-INF"/>
> >     <ant:mkdir dir="${webapp.build.webinf}"/>
> >     <ant:mkdir dir="${webapp.build.metainf}"/>
> >     <ant:echo>Copying server-config.wsdd and context.xml...</ant:echo>
> >     <ant:copy todir="${webapp.build.webinf}"
> preservelastmodified="true">
> >       <ant:fileset dir="${maven.src.dir}/conf"
> >         includes="server-config.wsdd">
> >       </ant:fileset>
> >     </ant:copy>
> >     <ant:copy todir="${webapp.build.metainf}"
> preservelastmodified="true">
> >       <ant:fileset dir="${ maven.src.dir}/conf"
> >         includes="context.xml">
> >       </ant:fileset>
> >     </ant:copy>
> >   </preGoal>
> >
> >     <!-- Goal that generates the wsdl for the target class -->
> >       <pregoal name="wsdl">
> >         <!-- <mkdir dir="${maven.build.dir}/wsdl" /> -->
> >         <path id="compile.classpath">
> >           <pathelement path="${ maven.build.dir}/classes" />
> >         </path>
> >         <taskdef name="axis-jjava2wsdl" classname="
> > org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask">
> >           <classpath refid=" compile.classpath" />
> >           <classpath refid="maven.dependency.classpath" />
> >         </taskdef>
> >         <ant:axis-java2wsdl
> >                  classname="
> > br.com.siliconstrategy.radar.io.service.CorrelationRemoteService "
> >                 style="rpc"
> >                 namespace="urn:${pom.artifactId}"
> >
> location="http://localhost:8080/${pom.artifactId}/soap/${pom.artifactId}
> <http://localhost:8080/$%7Bpom.artifactId%7D/soap/$%7Bpom.artifactId%7D>
> "
> >
> >
> output="${maven.src.dir}\webapp\${pom.artifactId}.wsdl">
> >         </ant:axis-java2wsdl>
> >       </pregoal>
> >
> >   <goal name="radar:build" prereqs="clean,wsdl,war:install"/>
> >
> >
> >    <goal name="radar:deploy"
> > prereqs="clean,tomcat:undeploy,tomcat:deploy"/>
> >
> > </project>
> >
> >
> > But I can't get it to work, it doesn't generate any wsdl files.
> >
> > Can anyone give a hint here?
> >
> > Thanks.
> >
> > --
> > Fernando da Motta Hildebrand
> > IT Consultant
> > Brooks' Law : "adding manpower to a late software project makes it
> > later..."
>
>
>
>
> --
> Fernando da Motta Hildebrand
> IT Consultant
> Brooks' Law : "adding manpower to a late software project makes it
> later..."
>
> --
> This message may contain confidential, proprietary, or legally
> privileged information. No confidentiality or privilege is waived by any
> transmission to an unintended recipient. If you are not an intended
> recipient, please notify the sender and delete this message immediately.
> Any views expressed in this message are those of the sender, not those
> of any entity within the KBC Financial Products group of companies
> (together referred to as "KBC FP").
>
> This message does not create any obligation, contractual or otherwise,
> on the part of KBC FP. It is not an offer (or solicitation of an offer)
> of, or a recommendation to buy or sell, any financial product. Any
> prices or other values included in this message are indicative only, and
> do not necessarily represent current market prices, prices at which KBC
> FP would enter into a transaction, or prices at which similar
> transactions may be carried on KBC FP's own books. The information
> contained in this message is provided "as is", without representations
> or warranties, express or implied, of any kind. Past performance is not
> indicative of future returns.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> --
> This message may contain confidential, proprietary, or legally privileged
> information. No confidentiality or privilege is waived by any transmission
> to an unintended recipient. If you are not an intended recipient, please
> notify the sender and delete this message immediately. Any views expressed
> in this message are those of the sender, not those of any entity within the
> KBC Financial Products group of companies (together referred to as "KBC
> FP").
>
> This message does not create any obligation, contractual or otherwise, on
> the part of KBC FP. It is not an offer (or solicitation of an offer) of, or
> a recommendation to buy or sell, any financial product. Any prices or other
> values included in this message are indicative only, and do not necessarily
> represent current market prices, prices at which KBC FP would enter into a
> transaction, or prices at which similar transactions may be carried on KBC
> FP's own books. The information contained in this message is provided "as
> is", without representations or warranties, express or implied, of any kind.
> Past performance is not indicative of future returns.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Fernando da Motta Hildebrand
IT Consultant
Brooks' Law : "adding manpower to a late software project makes it later..."

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message