You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefaan Hallet <st...@jcs.be> on 2006/03/13 10:39:37 UTC

JAX-WS plugin for maven2

Hi,

I started working on Maven 2 and was trying to build a WS project using
maven2 and JAX-WS RI 2.0 (EA 3.0) .

Any ideas if there is a maven2 plug-in which I could use ?  

Using ant, the annotation processing tool (apt) can be used, but can apt be
used using maven2 ? 

Any suggestions?

Thanks,

Stefaan

 


Re: JAX-WS plugin for maven2

Posted by Daniel Kulp <da...@iona.com>.
Sefaan,

> I started working on Maven 2 and was trying to build a WS project using
> maven2 and JAX-WS RI 2.0 (EA 3.0) .
>
> Any ideas if there is a maven2 plug-in which I could use ?
>
> Using ant, the annotation processing tool (apt) can be used, but can
> apt be used using maven2 ?

Another option is to look at Celtix  ( and maybe contribute or at least 
file a request) 
http://celtix.objectweb.org/

We currently have a maven plugin for the WSDL -> Java and XSD -> java 
cases, but not the Java -> WSDL parts.   However the command lines tools 
are there to allow the Java -> WSDL stuff so writing the maven 2 mojo 
should be fairly straight forward.

We are going to start putting period snapshots up on the objectweb maven 2 
repositories at:
http://maven.objectweb.org/

Thanks!
-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
daniel.kulp@iona.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: JAX-WS plugin for maven2

Posted by Eddie O'Neil <ek...@gmail.com>.
Stefaan--

  Hey, I'm not aware of a Maven2 plugin that could be used to
specifically build JAX-WS related source files, but there are a couple
of options for APT (annotation processing tool) support.  These are

1) the patch in this bug:
  http://jira.codehaus.org/browse/MNG-2089?page=all
that supports running apt.exe during code generation phase
2) the code here:
  http://svn.apache.org/repos/asf/beehive/sandbox/maven2/maven-apt-compiler/
that adds support for configuring APT as a compiler used during "compile" phase

  Both should work -- JB (author of the first) and I (author of the
second) have talked about how to integrate these into a single plugin
that could be used to run APT in either phase and as an alternate to
"javac".  To setup the latter (after installing the plugin and
registering the compiler), you'd just need to add the XML below to
your pom.xml file; configuration for (1) is similar.

  Hope that helps...

Eddie



::: pom.xml
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <compilerId>apt</compilerId>
                    <source>1.5</source>
                    <target>1.5</target>
                    <fork>true</fork>
                    <verbose>true</verbose>
                    <compilerArguments>
                        <s>target/srcgen</s>
                    </compilerArguments>
                </configuration>
            </plugin>
        </plugins>
    </build>
:::





On 3/13/06, Stefaan Hallet <st...@jcs.be> wrote:
> Hi,
>
> I started working on Maven 2 and was trying to build a WS project using
> maven2 and JAX-WS RI 2.0 (EA 3.0) .
>
> Any ideas if there is a maven2 plug-in which I could use ?
>
> Using ant, the annotation processing tool (apt) can be used, but can apt be
> used using maven2 ?
>
> Any suggestions?
>
> Thanks,
>
> Stefaan
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org