Hello,

       Maybe I am missing some basic thing but I run exactly like here ( with 
my own class in className) but when I run mvn java2wsdl:java2wsdl is failing 
with BUILD ERROR.Please check the attached picture for details.

Is it something additional that I should write in pom.xml beside this?

Thank you,
Virgil

----- Original Message ----
From: Charitha Kankanamge <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, December 18, 2007 10:36:30 AM
Subject: Re: java2wsdl maven2 plugin is broken


Hi Virgil,
I'm sorry I have updated the axis2 docs for WSDL2Code maven plugin, Not
 
for java2wsdl. However, you will be able to update your pom.xml for 
java2wsdl by using the following.

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
                <version>1.3</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>java2wsdl</goal>
                        </goals>
                    <configuration>
                    <className>com.foo.myservice.MyHandler</className>
                    </configuration>
                </execution>
            </executions>
            </plugin>
        </plugins>
    </build>

regards
Charitha

Trasca Virgil wrote:

>Hi,
>
>  Until this will be applied on the oficiall apache axis2 site can you
 please send me the full and correct pom.xml for using java2wsdl?
>
>Thank you,
>Virgil
>
>----- Original Message ----
>From: Charitha Kankanamge <[EMAIL PROTECTED]>
>To: [email protected]
>Sent: Tuesday, December 18, 2007 8:38:15 AM
>Subject: Re: java2wsdl maven2 plugin is broken
>
>
>Trasca Virgil wrote:
>
>  
>
>>3) if you check 
>>
>>    
>>
>
 http://ws.apache.org/axis2/tools/1_3/maven-plugins/maven-java2wsdl-plugin.html 
>  
>
>>you will see
>>
>><groupId>org.apache.axis2.maven2</groupId>. Is this entry on apache
>>    
>>
> site wrong? I tried this and is not working. I get no
>  
>
>>wsdl file.
>> 
>>
>>    
>>
>Yes. This is a bug in the site. I have resolved it in the axis2 trunk 
>documents. Please see https://issues.apache.org/jira/browse/AXIS2-3288
>
>regards
>Charitha
>
>  
>
>>Thank you,
>>Virgil
>>
>>
>>
>>----- Original Message ----
>>From: Saminda Abeyruwan <[EMAIL PROTECTED]>
>>To: [email protected]
>>Sent: Monday, December 17, 2007 9:29:14 PM
>>Subject: Re: java2wsdl maven2 plugin is broken
>>
>>It should be
>>
>><groupId>org.apache.axis2</groupId>
>>                <artifactId>axis2-aar-maven-plugin</artifactId>
>>
>>
>>not
>><groupId>org.apache.axis2.maven2</groupId>
>>
>>
>>On Dec 18, 2007 12:54 AM, Saminda Abeyruwan <[EMAIL PROTECTED] 
>><mailto:[EMAIL PROTECTED]>> wrote:
>>
>>    s/Axi2/Axis2
>>
>>
>>    On Dec 18, 2007 12:53 AM, Saminda Abeyruwan <[EMAIL PROTECTED]
>>    <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>        Hi,
>>
>>        Axi2 1.3 related tools and Maven2 plugins are available in
>>        Maven2 standard repository (http://repo1.maven.org/maven2/).
>>    
>>
> ex:
>  
>
>>       
>>    
>>
>
 
http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/1.3/axis2-wsdl2code-maven-plugin-1.3.jar
>  
>
>>        You will be able to get this plugin without specifying any
>>        pluging repository in your pom.xml .
>>
>>        Thank you
>>
>>        Saminda
>>
>>
>>
>>        On Dec 17, 2007 10:56 PM, Trasca Virgil
>>        <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>>    
>>
> wrote:
>  
>
>>            Hi,
>>
>>               I am trying to use java2wsdl maven2 plugin. my pom.xml
>>            look like
>>
>>                   <plugin>
>>                           <groupId>org.apache.axis2.maven2</groupId>
>>                         
>>             <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>>                           <configuration>
>>                               <className>myFullClassName</className>
>>                           </configuration>
>>                           <version>1.3</version>
>>                       </plugin>
>>
>>
>>            when I call mvn java2wsdl:java2wsdl I get BUILD ERROR
>>            failed to resolve artifact, Unable to download artifact
>>            from any repository.
>>
>>            Also when I try to download directly the plugin all the
>>            available links show Not Found - 404 error.
>>
>>           
>>    
>>
>
 
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_3/axis2-java2wsdl-maven-plugin-1.3.jar
>  
>
>>           
>>    
>>
>
 
<http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_3/axis2-java2wsdl-maven-plugin-1.3.jar>
>  
>
>>            All these links are broken.
>>
>>            Thank you,
>>            Virgil
>>
>>
>>
>>           
>>    
>>
> ---------------------------------------------------------------------
>  
>
>>            To unsubscribe, e-mail:
>>    
>>
> [EMAIL PROTECTED]
>  
>
>>            <mailto:[EMAIL PROTECTED]>
>>            For additional commands, e-mail:
>>            [EMAIL PROTECTED]
>>            <mailto:[EMAIL PROTECTED]>
>>
>>
>>
>>
>>        -- 
>>        Saminda Abeyruwan
>>
>>        Senior Software Engineer
>>        WSO2 Inc. - www.wso2.org <http://www.wso2.org> 
>>
>>
>>
>>
>>    -- 
>>    Saminda Abeyruwan
>>
>>    Senior Software Engineer
>>    WSO2 Inc. - www.wso2.org <http://www.wso2.org>
>>
>>
>>
>>
>>-- 
>>Saminda Abeyruwan
>>
>>Senior Software Engineer
>>WSO2 Inc. - www.wso2.org <http://www.wso2.org>
>>
>>    
>>
>
>
>  
>


-- 
Charitha Kankanamge
WSO2 inc.
Flower Road, Colombo 07
+94 714268070

A bug in the hand is better than one as yet undetected



---------------------------------------------------------------------
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