You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by lightbulb432 <ve...@hotmail.com> on 2007/04/12 21:22:56 UTC

Axis2 and Maven

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by "John R. Hover" <jh...@bnl.gov>.
I've noticed an issue with the axis2-java2wsdl maven 2 plugin related 
this  discussion.

It doesn't seem to be able to use the current project to resolve the 
class that should be converted to wsdl. In other words, the current 
maven project doesn't appear to be added to the classpath by default, 
and I haven't ever found a way to add it explicitly.

Ideally converting to wsdl should be possible even before the compile 
lifecycle phase (i.e. from the .java files), but at the very least it 
should be possible to run the plugin bound to the process-classes phase 
after the classes are in target/classes.

At least two other posts to this list have brought this up, but without 
any response. Is this the right list to ask on?

Thanks,

--john

Vasil Benov wrote:
> Hi it depends,
> 
> what parts of axis2 you need in your project.
> 
> A lot of things are already implemented in the 1.2 branch. I have tested 
> and
> used
> so far:
> axis2-kernel
>  * eclipse  integration works
>  * build (compile, package etc.) works
> axis2-java2wsdl
>  * eclipse  integration works
>  * build (compile, package etc.) works
> 
> Regards, Vasil
> 
> On 4/13/07, lightbulb432 <ve...@hotmail.com> wrote:
>>
>>
>> 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:alistair@smo.uhi.ac.uk]
>> >> Sent: Thursday, April 12, 2007 9:27 PM
>> >> To: axis-user@ws.apache.org
>> >> 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: axis-user-unsubscribe@ws.apache.org
>> >> For additional commands, e-mail: axis-user-help@ws.apache.org
>> >>
>> >>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>> >
>> >
>>
>> -- 
>> 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 

-- 
John R. Hover
RHIC/Atlas Computing Facility, Bldg. 510M
Physics Department
Brookhaven National Laboratory
Upton, NY 11793
email: jhover@bnl.gov
tel: 631-344-5828

Re: Axis2 and Maven

Posted by Vasil Benov <be...@gmail.com>.
Hi it depends,

what parts of axis2 you need in your project.

A lot of things are already implemented in the 1.2 branch. I have tested and
used
so far:
axis2-kernel
  * eclipse  integration works
  * build (compile, package etc.) works
axis2-java2wsdl
  * eclipse  integration works
  * build (compile, package etc.) works

Regards, Vasil

On 4/13/07, lightbulb432 <ve...@hotmail.com> wrote:
>
>
> 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:alistair@smo.uhi.ac.uk]
> >> Sent: Thursday, April 12, 2007 9:27 PM
> >> To: axis-user@ws.apache.org
> >> 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: axis-user-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-user-help@ws.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
>
> --
> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Vasil Benov,
Mobile: +359(0)889/202682
@-mail: benovv at gmail dot com
ICQ: 140269988

GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259  DE12 ACF3 177C 8906 0908
Public Key URL:
    *) http://random.sks.keyserver.penguin.de/

Re: Axis2 and Maven

Posted by lightbulb432 <ve...@hotmail.com>.
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
<module>modules/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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 and Maven

Posted by Ted Leung <te...@8020solutions.com>.
The following is a pom.xml I just made based on the libraries provided in the
axis2 download. 
There are 2 things to note, 
1) I couldn't find woden, so I added it to my own local repository
2) axiom 1.2.3 has different behaviour to 1.2.2, I don't know if it's a new
bug or if it's a bug fix, but when running against xfire servers , 1.2.3
won't provide proper exceptions, where as 1.2.2 does. It complains about
"getFirstSOAPText() not allowed for SOAP 1.1!"

anyways, below is a pom.xml, hopefully the axis guys will set one up for us
in the future.

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/
2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apach
e.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.test</groupId>
	<artifactId>test</artifactId>
	<packaging>jar</packaging>
	<version>CURRENT</version>
	<name>Maven Webapp Archetype</name>
	<url>http://maven.apache.org</url>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.3.1</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.axis2</groupId>
			<artifactId>axis2</artifactId>
			<version>1.1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.ws.commons.axiom</groupId>
			<artifactId>axiom</artifactId>
			<!--  Note that 1.2.3 is different, it doesn't seem to work against xfire
clients throwing faults, don't know who's at fault yet -->
			<version>1.2.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.ws.commons.schema</groupId>
			<artifactId>XmlSchema</artifactId>
			<version>1.3.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>wsdl4j</groupId>
			<artifactId>wsdl4j</artifactId>
			<version>1.6.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
			<version>1.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-httpclient</groupId>
			<artifactId>commons-httpclient</artifactId>
			<version>3.0.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>1.3.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.activation</groupId>
			<artifactId>activation</artifactId>
			<version>1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>annogen</groupId>
			<artifactId>annogen</artifactId>
			<version>0.1.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>backport-util-concurrent</groupId>
			<artifactId>backport-util-concurrent</artifactId>
			<version>3.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.geronimo.specs</groupId>
			<artifactId>geronimo-jms_1.1_spec</artifactId>
			<version>1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>jakarta-httpcore</artifactId>
			<version>4.0-alpha4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.xml</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.0EA3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.xml</groupId>
			<artifactId>jaxb-impl</artifactId>
			<version>2.0EA3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.xml</groupId>
			<artifactId>jaxb-xjc</artifactId>
			<version>2.0EA3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>jaxen</groupId>
			<artifactId>jaxen</artifactId>
			<version>1.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jibx</groupId>
			<artifactId>jibx-bind</artifactId>
			<version>1.0.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jibx</groupId>
			<artifactId>jibx-run</artifactId>
			<version>1.0.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.ws.commons.neethi</groupId>
			<artifactId>neethi</artifactId>
			<version>2.0.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>stax</groupId>
			<artifactId>stax-api</artifactId>
			<version>1.0.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>xalan</groupId>
			<artifactId>xalan</artifactId>
			<version>2.7.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>xmlbeans</groupId>
			<artifactId>xbean</artifactId>
			<version>2.2.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xercesImpl</artifactId>
			<version>2.8.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>2.0.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.codehaus.woodstox</groupId>
			<artifactId>wstx-asl</artifactId>
			<version>3.2.1</version>
			<scope>test</scope>
		</dependency>
		<!-- couldn't find this in any repository, had to load it myself from the
axis source -->
		<dependency>
			<groupId>woden</groupId>
			<artifactId>woden</artifactId>
			<version>1.0.0M6</version>
			<scope>test</scope>
		</dependency>

	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 and Maven

Posted by Jay Liang <jl...@healthmarketscience.com>.
Try to depend on 
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2</artifactId>
	<version>1.1.1 </version>
    </dependency>
It will save you about 10 jars.

Once you get it fully working, can you also post that dependency list to
this mailing list? I think many people will find that list useful.

Jay
-----Original Message-----
From: lightbulb432 [mailto:veerukrishnan@hotmail.com] 
Sent: Monday, April 16, 2007 10:27 AM
To: axis-user@ws.apache.org
Subject: Re: Axis2 and Maven


So in the binary distribution of Axis2 in the lib folder I see 43 JARs.
In my
project's pom.xml will I actually have to specify 43 <dependencies>?
Plus
the MARs? That's what it looks like in the 3 pom.xml's you pointed me to
earlier, but I couldn't tell if those POMs specified all 43
dependencies...

In making my project's pom.xml is there any way for me to know what's
the
best way to specify the <scope> of each dependency, rather than keeping
all
to default? For example, which are runtime, compile, test, provided,
system,
etc? Is there any documentation, or has anybody come up with their own
pom.xml's that show this?

Thanks a lot.



Thilina Gunarathne wrote:
> 
>> 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?
> 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!
> Seems like you are talking about the Axis2 binary distribution... You
> cannot make it a dependency as whole to your projects. It is a package
> made for the distribution, not to use with maven...  You will need to
> get maven to download the individual jars & mars (modules) you
> wanted..
> 
> Thanks,
> Thilina
> 
> 
> 
> -- 
> Thilina Gunarathne  -  http://www.wso2.com -
http://thilinag.blogspot.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by lightbulb432 <ve...@hotmail.com>.
So in the binary distribution of Axis2 in the lib folder I see 43 JARs. In my
project's pom.xml will I actually have to specify 43 <dependencies>? Plus
the MARs? That's what it looks like in the 3 pom.xml's you pointed me to
earlier, but I couldn't tell if those POMs specified all 43 dependencies...

In making my project's pom.xml is there any way for me to know what's the
best way to specify the <scope> of each dependency, rather than keeping all
to default? For example, which are runtime, compile, test, provided, system,
etc? Is there any documentation, or has anybody come up with their own
pom.xml's that show this?

Thanks a lot.



Thilina Gunarathne wrote:
> 
>> 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?
> 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!
> Seems like you are talking about the Axis2 binary distribution... You
> cannot make it a dependency as whole to your projects. It is a package
> made for the distribution, not to use with maven...  You will need to
> get maven to download the individual jars & mars (modules) you
> wanted..
> 
> Thanks,
> Thilina
> 
> 
> 
> -- 
> Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by Thilina Gunarathne <cs...@gmail.com>.
> 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?
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!
Seems like you are talking about the Axis2 binary distribution... You
cannot make it a dependency as whole to your projects. It is a package
made for the distribution, not to use with maven...  You will need to
get maven to download the individual jars & mars (modules) you
wanted..

Thanks,
Thilina



-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by lightbulb432 <ve...@hotmail.com>.
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 <ve...@hotmail.com> 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=9964022&framed=y&skin=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: axis-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>> >
>> >
>>
>> --
>> 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> -- 
> Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by Thilina Gunarathne <cs...@gmail.com>.
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 <ve...@hotmail.com> 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=9964022&framed=y&skin=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: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
>
> --
> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by lightbulb432 <ve...@hotmail.com>.
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=9964022&framed=y&skin=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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by Thilina Gunarathne <cs...@gmail.com>.
> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by Thilina Gunarathne <cs...@gmail.com>.
AFAIK 1.2 release will also be done using maven1 build. But we will
upload the artifacts to maven2 repository too...

>Is Maven2 support expected to be added anytime soon?
It's there, but not 100% complete...
> If no, is there any way for this to be compatible with the rest of my
> project that uses Maven2?
You can use maven2 safely by pointing to the axis2 maven2 repo..[1]..
I know quite a number of axis2 dependent maven2 build projects like
Apache Synapse, Apache Rampart, WSO2 WSAS etc....

Thanks,
Thilina

[1] http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/
-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 and Maven

Posted by lightbulb432 <ve...@hotmail.com>.
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:alistair@smo.uhi.ac.uk] 
>> Sent: Thursday, April 12, 2007 9:27 PM
>> To: axis-user@ws.apache.org
>> 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 and Maven

Posted by Peter Gylling Jørgensen <Pe...@frv.dk>.
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:alistair@smo.uhi.ac.uk] 
> Sent: Thursday, April 12, 2007 9:27 PM
> To: axis-user@ws.apache.org
> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Axis2 and Maven

Posted by Alistair Young <al...@smo.uhi.ac.uk>.
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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org