Re: Using Axis2 with Maven

robert lazarski <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CABpPLBVA=MT21rtsQ9Xu8pUrRFxGrWZ+9O=RxMbFOCLyBSV3uQ@mail.gmail.com>
On Mon, May 13, 2013 at 7:59 AM, robert lazarski
<[email protected]> wrote:
> On Mon, May 13, 2013 at 7:41 AM, Hendrik Geßner <[email protected]> wrote:
>> I’m trying to use Axis2 by resolving all dependencies with maven.
>> Unfortunately there doesn’t seem to be an official dependency code snippet
>> on the project page.
>>
>>
>>
>> Trying to copy the snippet that the rampart samples use, I ran into the
>> well-known redirect problem
>> (http://www.ashlux.com/wordpress/2010/06/15/axis2-maven-and-java.net-woes-and-why-maven-sucks/).
>> The release note for 1.5.2 states that “Axis2 now relies exclusively on
>> dependencies available from the Maven central repository, and no other Maven
>> repositories are required. This in particular fixes a build problem that
>> appeared after the 1.5.3 release.”
>>
>>
>>
>> Thanks,
>>
>> Hendrik
>
> Well first of all the Axis2 1.5.3 release is several years old. 1.6.2
> is the latest. I'm noticing a lot of outdated docs around, so beware.
>
> But I'm not sure I understand your question. Are you asking for
> dependencies in pom.xml ? We have our own maven repo and added all the
> jars to that. Even with an official repo the deps are the same though.
>  Haven't had any problems though I don't use rampart. I don't use the
> axis2 plugin either, ymmv.
>
> - R

Ah I see that you have a 301 problem. Not sure if the axis2 latest
code fixes it. But creating your own maven repo is a good move in
general imho to avoid problems like that in other envs, or problems
accessing the outside.

- R
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.