Axis2 Eclipse dependencies with Maven2

2007-05-02 Thread lightbulb432

At the Maven2 repository at
http://repo1.maven.org/maven2/org/apache/axis2/axis2/, all dependencies get
properly placed into my lib directory, but the dependencies apart from axis2
itself don't get updated in the Eclipse .classpath.

Have dependencies like axiom only been declared as provided or runtime
scope, as opposed to compile? Why is this happening, how might I be able
to fix it?
-- 
View this message in context: 
http://www.nabble.com/Axis2-Eclipse-dependencies-with-Maven2-tf3682724.html#a10293095
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Axis2 and Maven

2007-05-02 Thread lightbulb432

When you have a project that depends on the axis2 artifact and you do a mvn
deploy, all of the Axis2 JARs (e.g. axis2-adb, axis2-codegen, etc...) get
imported automatically into the WAR file as specified in my pom.xml, which
I'd expect to happen.

Why, though, do these JARs not get stored in my local repository like all
other depedendencies that are downloaded automatically? How can I make this
happen without specifying a direct dependency to each of Axis2's
dependencies in my project's pom.xml?


Also, I looked at the .pom of Axis2 1.2
(http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/axis2/1.2/axis2-1.2.pom)
and noticed that every module is given as a
modulemodules/artifactName/module.

However, relative to the axis2 artifact where .pom is located, these other
artifacts are not located at that relative link. Shouldn't it be
module../../artifactName/module instead to get the relative links to
resolve properly? (Also, there is no modules folder in this repository.)



Thilina Gunarathne wrote:
 
 You can use maven2 safely by pointing to the axis2 maven2 repo..[1]..
 Please use this repo
 http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/
 
 -- 
 Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a10296209
Sent from the Axis - User mailing list archive at Nabble.com.


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



Multiple return types

2007-04-17 Thread lightbulb432

I noticed that when calling an operation you keep an array of Class as the
return types. I imagine this supports some notion of multiple return values
of different types in web services. How in Java would you, if ever, use this
functionality? Or is it not really used?

When in Java would you put more than one class in the return types array?

Also, in that array can each Class refer to the class of a Collection or,
more interestingly, an array?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Multiple-return-types-tf3595130.html#a10042956
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Axis2 and Maven

2007-04-13 Thread lightbulb432

I tried the repositories you specified, and came across the problems I've
noted in a post on the Maven forum. If you could please take a look at it
and see where I'm going wrong, it'd be greatly appreciated. Apparently I
need a source repository that contains a pom.xml...

http://www.nabble.com/forum/ViewPost.jtp?post=9964022framed=yskin=177

Perhaps you might have a sample pom.xml of a file used in a project that
would correctly bring in the Axis2 jars and all its dependencies?

Thanks so much.



Thilina Gunarathne wrote:
 
 You can use maven2 safely by pointing to the axis2 maven2 repo..[1]..
 Please use this repo
 http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/
 
 -- 
 Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a9979680
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Axis2 and Maven

2007-04-13 Thread lightbulb432

Thanks for the links. When you do a mvn package in your project that
depends on Axis2, is the Axis2 JAR that gets put in your local repository ~
14 MB, or is it only 1.5 MB? When I do the maven command it's the latter,
but when I download directly from the Axis2 website it's the former, so
clearly it's missing all the module dependencies!



Thilina Gunarathne wrote:
 
 I'm also a novice level user of Maven2 (still pretty much appreciate
 maven1)..
 May be the pom.xml's in following locations will help you..
 
 http://wso2.org/repos/wso2/trunk/wsas/java/
 http://wso2.org/repos/wso2/trunk/esb/java/
 http://svn.apache.org/repos/asf/webservices/rampart/trunk/java/
 
 ~Thilina
 
 On 4/13/07, lightbulb432 [EMAIL PROTECTED] wrote:

 I tried the repositories you specified, and came across the problems I've
 noted in a post on the Maven forum. If you could please take a look at it
 and see where I'm going wrong, it'd be greatly appreciated. Apparently I
 need a source repository that contains a pom.xml...

 http://www.nabble.com/forum/ViewPost.jtp?post=9964022framed=yskin=177

 Perhaps you might have a sample pom.xml of a file used in a project that
 would correctly bring in the Axis2 jars and all its dependencies?

 Thanks so much.



 Thilina Gunarathne wrote:
 
  You can use maven2 safely by pointing to the axis2 maven2 repo..[1]..
  Please use this repo
  http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/
 
  --
  Thilina Gunarathne  -  http://www.wso2.com -
 http://thilinag.blogspot.com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a9979680
 Sent from the Axis - User mailing list archive at Nabble.com.


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


 
 
 -- 
 Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a9987758
Sent from the Axis - User mailing list archive at Nabble.com.


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



Axis2 and Maven

2007-04-12 Thread lightbulb432

Could somebody point me to the source repository for Axis2 using Maven1 or
Maven2? I can't seem to find it, but only what someone on the Maven forum
called a binary repository at this URL:

http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/

I've also download the zip file of Axis2 but don't see any pom.xml or
anything like that in there. As I'm fairly new to Maven, if you could please
point me in the right direction, it'd be really appreciated.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a9966535
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: Axis2 and Maven

2007-04-12 Thread lightbulb432

Thanks for the responses. Is Maven2 support expected to be added anytime
soon? If no, is there any way for this to be compatible with the rest of my
project that uses Maven2? How would you go about making it work - I can't
seem to think of any good way to organize the way I approach my project but
keeping all the benefits of Maven-based management.

Thanks.



Peter Gylling Jørgensen wrote:
 
 For the record and benifit for newcommers, I think it would be appropriate
 also to point to the official help:
 
 http://ws.apache.org/axis2/svn.html
 
 From this page you can also uptain instructions for setting up the needed
 environment.
 
 \pgj
 
 -Original Message-
 From: Alistair Young [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, April 12, 2007 9:27 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Axis2 and Maven
 
 
 svn co 
 http://svn.apache.org/repos/asf/webservices/axis2/trunk/java trunk
 
 then for a quick build
 
 maven -Dskip.enterprise.tests=true -Dmaven.test.skip=true 
 clean release dist
 
 Alistair
 
 
 -- 
 mov eax,1
 mov ebx,0
 int 80h
 
 
  Could somebody point me to the source repository for Axis2 
 using Maven1 or
  Maven2? I can't seem to find it, but only what someone on 
 the Maven forum
  called a binary repository at this URL:
 
  
 http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/
 apache/axis2/

 I've also download the zip file of Axis2 but don't see any pom.xml or
 anything like that in there. As I'm fairly new to Maven, if you could
 please
 point me in the right direction, it'd be really appreciated.

 Thanks.
 --
 View this message in context:
 http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a9966535
 Sent from the Axis - User mailing list archive at Nabble.com.


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

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a9968595
Sent from the Axis - User mailing list archive at Nabble.com.


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