Re: axistools:wsdl2java

2012-02-22 Thread Wayne Fay
> Generate-sources is a phase, not a dependency scope.

This is correct, but ideally he would move the  so they
are inside the  declaration since he only needs these
dependencies for the execution of the plugin.

> Get rid of that for a start. I'm surprised maven even allowed that. I
> guess it accepts anything there.

Yes, Maven accepts anything there, a fact which some plugin authors
(FlexMojos) have taken advantage of:
https://docs.sonatype.org/display/FLEXMOJOS/Adding+libraries+to+compilation

I am not a fan of this but it has been discussed in JIRA and Maven3
simply reports a warning but does not fail with an error:
http://jira.codehaus.org/browse/MNG-3991

Wayne

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



Re: axistools:wsdl2java

2012-02-22 Thread John Patrick
I believe to fix your issue you need to add them as a dependency of
the plugin, so similar to below.

   [...]
   
  [...]
  
 [...]
 
org.apache.axis2
axis2-wsdl2code-maven-plugin
[...]



 
[...]

John

On 22 February 2012 16:38, jgruber  wrote:
> Whenever I try to run the axistoos:wsdl2java action I get the following:
>
>
> Feb 22, 2012 10:31:52 AM org.apache.axis.utils.JavaUtils
> isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>
>
> In real-life I just needed to have javax.mail and javax.activation in my
> class path when I generated my sources and I don't get this.  In my pom.xml
> I have:
>
>    
>      javax.activation
>      activation
>      1.1.1
>      generate-sources
>    
>    
>       javax.mail
>       mail
>       1.4.4
>       generate-sources
>    
>
> I've tried every scope I can think of to get these dependencies to be part
> of the class path for the axistool:wsdl2java action, but can't seem to make
> it work.
>
> Anyone have any advice why these dependencies are not showing up to the
> axistool module action?
>
> Help...
>
> Thanks,
>
> John
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/axistools-wsdl2java-tp5505592p5505592.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

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



RE: axistools:wsdl2java

2012-02-22 Thread Matt Walsh
Generate-sources is a phase, not a dependency scope.

Get rid of that for a start. I'm surprised maven even allowed that. I
guess it accepts anything there.


> -Original Message-
> From: jgruber [mailto:john.t.gru...@gmail.com]
> Sent: Wednesday, February 22, 2012 9:38 AM
> To: users@maven.apache.org
> Subject: axistools:wsdl2java
> 
> Whenever I try to run the axistoos:wsdl2java action I get the
> following:
> 
> 
> Feb 22, 2012 10:31:52 AM org.apache.axis.utils.JavaUtils
> isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler
> and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
> 
> 
> In real-life I just needed to have javax.mail and javax.activation in
> my
> class path when I generated my sources and I don't get this.  In my
> pom.xml
> I have:
> 
> 
>   javax.activation
>   activation
>   1.1.1
>   generate-sources
> 
> 
>javax.mail
>mail
>1.4.4
>generate-sources
> 
> 
> I've tried every scope I can think of to get these dependencies to be
> part
> of the class path for the axistool:wsdl2java action, but can't seem to
> make
> it work.
> 
> Anyone have any advice why these dependencies are not showing up to
the
> axistool module action?
> 
> Help...
> 
> Thanks,
> 
> John
> 
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/axistools-wsdl2java-
> tp5505592p5505592.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org


__
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.

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



axistools:wsdl2java

2012-02-22 Thread jgruber
Whenever I try to run the axistoos:wsdl2java action I get the following:


Feb 22, 2012 10:31:52 AM org.apache.axis.utils.JavaUtils
isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.


In real-life I just needed to have javax.mail and javax.activation in my
class path when I generated my sources and I don't get this.  In my pom.xml
I have:


  javax.activation
  activation
  1.1.1
  generate-sources


   javax.mail
   mail
   1.4.4
   generate-sources


I've tried every scope I can think of to get these dependencies to be part
of the class path for the axistool:wsdl2java action, but can't seem to make
it work.  

Anyone have any advice why these dependencies are not showing up to the
axistool module action?

Help...

Thanks,

John


--
View this message in context: 
http://maven.40175.n5.nabble.com/axistools-wsdl2java-tp5505592p5505592.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: [m2] axistools:wsdl2java

2006-01-24 Thread Nathan Sowatskey
I fixed that by downloading the mojo-sandbox jar, but now the plugin  
doesn't work with 2.0 or 2.0.2, so I have managed to rescue a  
previous version which does.


Regards

Nathan


Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


On 20 Jan 2006, at 19:02, Nathan Sowatskey wrote:


Hi

I have come back to the plugin, did a svn update, and now I have:

[INFO]  
-- 
--

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: POM  
'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to  
download the artifact from any repository

  org.codehaus.mojo:mojo-sandbox:2-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Any ideas please?

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -  
[EMAIL PROTECTED]


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



Re: [m2] axistools:wsdl2java

2006-01-20 Thread Nathan Sowatskey

Hi

I have come back to the plugin, did a svn update, and now I have:

[INFO]  
 


[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: POM  
'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to  
download the artifact from any repository

  org.codehaus.mojo:mojo-sandbox:2-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Any ideas please?

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


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



Re: [m2] axistools:wsdl2java

2005-12-16 Thread Nathan Sowatskey

Aha!

~/java nsowatsk$ svn checkout svn://svn.codehaus.org/mojo/scm/trunk/ 
mojo/mojo-sandbox/axistools-maven-plugin axistools-maven-plugin

Aaxistools-maven-plugin/src
...

Thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


On 16 Dec 2005, at 14:48, Jesse McConnell wrote:

http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/axistools- 
maven-plugin


sorry, been out of touch for a few days getting over a bug.  I'll be
catching up on emails and bugfixes/releases over the course of the  
next day

or so work providing.

jesse

On 12/16/05, Nathan Sowatskey <[EMAIL PROTECTED]> wrote:


Hi

It must be me me, but I can't get at the svn repository for this:

svn checkout svn://svn.codehaus.org/mojo/scm/trunk/axistools-maven-
plugin axistools-maven-plugin
svn: URL 'svn://svn.codehaus.org/mojo/scm/trunk/axistools-maven-
plugin' doesn't exist

Nor does this plugin seem to be at:

http://www.ibiblio.org/maven2/org/codehaus/mojo/

Has anyone been able to use this one?

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -  
[EMAIL PROTECTED]


On 15 Dec 2005, at 06:55, Edwin Punzalan wrote:


This is what the axistools plugin author left as an example in svn:


  ...
 

   
  org.codehaus.mojo
  axistools-maven-plugin
  
 
 http://host/server/sample.wsdl
 http://host/server/sample2.wsdl
 
 com.company.wsdl
 true
 true
 true
  
  


  
wsdl2java
  

  
   

...
 
  ...


I got that info by checking out the source and looking into src/
site/apt/howto.apt.

Thanks, Jesse! ^_^



Nathan Sowatskey wrote:


http://mojo.codehaus.org/axistools-maven-plugin/index.html

Has anyone figured out how to use this plugin please?

I'd start with knowing what the group and artifact ID are if
anyone  knows.

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -
[EMAIL PROTECTED]

--- 
--

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]


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





--
jesse mcconnell


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



Re: [m2] axistools:wsdl2java

2005-12-16 Thread Jesse McConnell
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/axistools-maven-plugin

sorry, been out of touch for a few days getting over a bug.  I'll be
catching up on emails and bugfixes/releases over the course of the next day
or so work providing.

jesse

On 12/16/05, Nathan Sowatskey <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> It must be me me, but I can't get at the svn repository for this:
>
> svn checkout svn://svn.codehaus.org/mojo/scm/trunk/axistools-maven-
> plugin axistools-maven-plugin
> svn: URL 'svn://svn.codehaus.org/mojo/scm/trunk/axistools-maven-
> plugin' doesn't exist
>
> Nor does this plugin seem to be at:
>
> http://www.ibiblio.org/maven2/org/codehaus/mojo/
>
> Has anyone been able to use this one?
>
> Many thanks
>
> Nathan
>
> Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
> +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]
>
> On 15 Dec 2005, at 06:55, Edwin Punzalan wrote:
>
> > This is what the axistools plugin author left as an example in svn:
> >
> > 
> >   ...
> >  
> > 
> >
> >   org.codehaus.mojo
> >   axistools-maven-plugin
> >   
> >  
> >  http://host/server/sample.wsdl
> >  http://host/server/sample2.wsdl
> >  
> >  com.company.wsdl
> >  true
> >  true
> >  true
> >   
> >   
> > 
> >
> >   
> > wsdl2java
> >   
> > 
> >   
> >
> > 
> > ...
> >  
> >   ...
> > 
> >
> > I got that info by checking out the source and looking into src/
> > site/apt/howto.apt.
> >
> > Thanks, Jesse! ^_^
> >
> >
> >
> > Nathan Sowatskey wrote:
> >
> >> http://mojo.codehaus.org/axistools-maven-plugin/index.html
> >>
> >> Has anyone figured out how to use this plugin please?
> >>
> >> I'd start with knowing what the group and artifact ID are if
> >> anyone  knows.
> >>
> >> Many thanks
> >>
> >> Nathan
> >>
> >> Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
> >> +34-638-083-675, +34-91-201-2139 - AIM NathanCisco -
> >> [EMAIL PROTECTED]
> >>
> >> -
> >> 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]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
jesse mcconnell


Re: [m2] axistools:wsdl2java

2005-12-16 Thread Nathan Sowatskey

Hi

It must be me me, but I can't get at the svn repository for this:

svn checkout svn://svn.codehaus.org/mojo/scm/trunk/axistools-maven- 
plugin axistools-maven-plugin
svn: URL 'svn://svn.codehaus.org/mojo/scm/trunk/axistools-maven- 
plugin' doesn't exist


Nor does this plugin seem to be at:

http://www.ibiblio.org/maven2/org/codehaus/mojo/

Has anyone been able to use this one?

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


On 15 Dec 2005, at 06:55, Edwin Punzalan wrote:


This is what the axistools plugin author left as an example in svn:


  ...
 

   
  org.codehaus.mojo
  axistools-maven-plugin
  
 
 http://host/server/sample.wsdl
 http://host/server/sample2.wsdl
 
 com.company.wsdl
 true
 true
 true
  
  


  
wsdl2java
  

  
   

...
 
  ...


I got that info by checking out the source and looking into src/ 
site/apt/howto.apt.


Thanks, Jesse! ^_^



Nathan Sowatskey wrote:


http://mojo.codehaus.org/axistools-maven-plugin/index.html

Has anyone figured out how to use this plugin please?

I'd start with knowing what the group and artifact ID are if  
anyone  knows.


Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -   
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -  
[EMAIL PROTECTED]


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


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



Re: [m2] axistools:wsdl2java

2005-12-14 Thread Edwin Punzalan

This is what the axistools plugin author left as an example in svn:


  ...
 

   
  org.codehaus.mojo
  axistools-maven-plugin
  
 
 http://host/server/sample.wsdl
 http://host/server/sample2.wsdl
 
 com.company.wsdl
 true
 true
 true
  
  


  
wsdl2java
  

  
   

...
 
  ...


I got that info by checking out the source and looking into 
src/site/apt/howto.apt.


Thanks, Jesse! ^_^



Nathan Sowatskey wrote:


http://mojo.codehaus.org/axistools-maven-plugin/index.html

Has anyone figured out how to use this plugin please?

I'd start with knowing what the group and artifact ID are if anyone  
knows.


Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


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



[m2] axistools:wsdl2java

2005-12-14 Thread Nathan Sowatskey

http://mojo.codehaus.org/axistools-maven-plugin/index.html

Has anyone figured out how to use this plugin please?

I'd start with knowing what the group and artifact ID are if anyone  
knows.


Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


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