You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2012/10/10 01:13:23 UTC

git commit: maven: Depend on org.apache.axis2 instead of axis

Updated Branches:
  refs/heads/4.0 8b592301a -> 75e2a1012


maven: Depend on org.apache.axis2 instead of axis

We (AWS API) only import org.apache.axis2, but maven was also depending on org.apache.axis 1.4.1


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/75e2a101
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/75e2a101
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/75e2a101

Branch: refs/heads/4.0
Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
Parents: 8b59230
Author: Wido den Hollander <wi...@widodh.nl>
Authored: Wed Oct 10 01:12:02 2012 +0200
Committer: Wido den Hollander <wi...@widodh.nl>
Committed: Wed Oct 10 01:12:02 2012 +0200

----------------------------------------------------------------------
 deps/pom.xml |   11 +++--------
 pom.xml      |    1 -
 2 files changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75e2a101/deps/pom.xml
----------------------------------------------------------------------
diff --git a/deps/pom.xml b/deps/pom.xml
index ffc0e75..d08a23a 100644
--- a/deps/pom.xml
+++ b/deps/pom.xml
@@ -118,14 +118,9 @@
     </dependency>
     <!-- For vmware-base -->
     <dependency>
-      <groupId>org.apache.axis</groupId>
-      <artifactId>axis</artifactId>
-      <version>${cs.axis.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.axis</groupId>
-      <artifactId>axis-jaxrpc</artifactId>
-      <version>${cs.axis.version}</version>
+      <groupId>org.apache.axis2</groupId>
+      <artifactId>axis2</artifactId>
+      <version>${cs.axis2.version}</version>
     </dependency>
   </dependencies>
   <build>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75e2a101/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2c1fc8e..35fe497 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,7 +72,6 @@
     <cs.xstream.version>1.3.1</cs.xstream.version>
     <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
     <cs.mail.version>1.4</cs.mail.version>
-    <cs.axis.version>1.4</cs.axis.version>
     <cs.axis2.version>1.5.1</cs.axis2.version>
     <cs.rampart.version>1.6.2</cs.rampart.version>
     <cs.axiom.version>1.2.8</cs.axiom.version>


RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by Edison Su <Ed...@citrix.com>.
It's vmware sdk depends on axis 1.4, so we can't move to axis2.
For now, let's move to axis2 for oss build. Later on, I'll fix non-oss build.

> -----Original Message-----
> From: Edison Su [mailto:Edison.su@citrix.com]
> Sent: Tuesday, October 09, 2012 4:54 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of
> axis
> 
> Can we move to axis2 for all the projects, especially, for vmware-base,
> which depends on axis-1.4
> 
> > -----Original Message-----
> > From: Wido den Hollander [mailto:wido@widodh.nl]
> > Sent: Tuesday, October 09, 2012 4:29 PM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: Re: git commit: maven: Depend on org.apache.axis2 instead of
> > axis
> >
> >
> >
> > On 10/10/2012 01:24 AM, David Nalley wrote:
> > > This is problematic I fear-
> > >
> > > AWS API depends on one version, the rest of CloudStack requires
> > > another - and they are incompatible.
> > >
> >
> > That is weird, my build succeeded just fine without axis 1.4.1 on my
> > system, I was positive the JAR file was removed from my deps
> directory
> > as well.
> >
> > I noticed we do depend on the ant-plugin version 1.4.1, aren't we
> > confusing that for axis 1.4.1?
> >
> > Wido
> >
> > > --David
> > >
> > > On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
> > >> Updated Branches:
> > >>    refs/heads/4.0 8b592301a -> 75e2a1012
> > >>
> > >>
> > >> maven: Depend on org.apache.axis2 instead of axis
> > >>
> > >> We (AWS API) only import org.apache.axis2, but maven was also
> > depending on org.apache.axis 1.4.1
> > >>
> > >>
> > >> Project: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/repo
> > >> Commit: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/commit/75e2a101
> > >> Tree: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/tree/75e2a101
> > >> Diff: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/diff/75e2a101
> > >>
> > >> Branch: refs/heads/4.0
> > >> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
> > >> Parents: 8b59230
> > >> Author: Wido den Hollander <wi...@widodh.nl>
> > >> Authored: Wed Oct 10 01:12:02 2012 +0200
> > >> Committer: Wido den Hollander <wi...@widodh.nl>
> > >> Committed: Wed Oct 10 01:12:02 2012 +0200
> > >>
> > >> ------------------------------------------------------------------
> --
> > --
> > >>   deps/pom.xml |   11 +++--------
> > >>   pom.xml      |    1 -
> > >>   2 files changed, 3 insertions(+), 9 deletions(-)
> > >> ------------------------------------------------------------------
> --
> > --
> > >>
> > >>
> > >> http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/blob/75e2a101/deps/pom.xml
> > >> ------------------------------------------------------------------
> --
> > --
> > >> diff --git a/deps/pom.xml b/deps/pom.xml
> > >> index ffc0e75..d08a23a 100644
> > >> --- a/deps/pom.xml
> > >> +++ b/deps/pom.xml
> > >> @@ -118,14 +118,9 @@
> > >>       </dependency>
> > >>       <!-- For vmware-base -->
> > >>       <dependency>
> > >> -      <groupId>org.apache.axis</groupId>
> > >> -      <artifactId>axis</artifactId>
> > >> -      <version>${cs.axis.version}</version>
> > >> -    </dependency>
> > >> -    <dependency>
> > >> -      <groupId>org.apache.axis</groupId>
> > >> -      <artifactId>axis-jaxrpc</artifactId>
> > >> -      <version>${cs.axis.version}</version>
> > >> +      <groupId>org.apache.axis2</groupId>
> > >> +      <artifactId>axis2</artifactId>
> > >> +      <version>${cs.axis2.version}</version>
> > >>       </dependency>
> > >>     </dependencies>
> > >>     <build>
> > >>
> > >> http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/blob/75e2a101/pom.xml
> > >> ------------------------------------------------------------------
> --
> > --
> > >> diff --git a/pom.xml b/pom.xml
> > >> index 2c1fc8e..35fe497 100644
> > >> --- a/pom.xml
> > >> +++ b/pom.xml
> > >> @@ -72,7 +72,6 @@
> > >>       <cs.xstream.version>1.3.1</cs.xstream.version>
> > >>       <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
> > >>       <cs.mail.version>1.4</cs.mail.version>
> > >> -    <cs.axis.version>1.4</cs.axis.version>
> > >>       <cs.axis2.version>1.5.1</cs.axis2.version>
> > >>       <cs.rampart.version>1.6.2</cs.rampart.version>
> > >>       <cs.axiom.version>1.2.8</cs.axiom.version>
> > >>

RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by Prachi Damle <Pr...@citrix.com>.
But the classes will have different package names: org.apache.axis.* Vs  org.apache.axis2.*

I think there should not be any conflict due to this...

-----Original Message-----
From: Edison Su [mailto:Edison.su@citrix.com] 
Sent: Tuesday, October 09, 2012 5:14 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Both awsapi and cloudstack mgt server share the same classpath, which contains both axis2 and axis.

> -----Original Message-----
> From: Prachi Damle [mailto:Prachi.Damle@citrix.com]
> Sent: Tuesday, October 09, 2012 5:08 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of 
> axis
> 
> I think as long as axis2 jars are made available to awsapi webapp in 
> its own WEB-INF/lib, it will not pick up the axis-1.4 from cloudstack 
> code.
> The libraries in the WEB-INF are loaded first.
> 
> -----Original Message-----
> From: Edison Su [mailto:Edison.su@citrix.com]
> Sent: Tuesday, October 09, 2012 4:54 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of 
> axis
> 
> Can we move to axis2 for all the projects, especially, for 
> vmware-base, which depends on axis-1.4
> 
> > -----Original Message-----
> > From: Wido den Hollander [mailto:wido@widodh.nl]
> > Sent: Tuesday, October 09, 2012 4:29 PM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: Re: git commit: maven: Depend on org.apache.axis2 instead 
> > of axis
> >
> >
> >
> > On 10/10/2012 01:24 AM, David Nalley wrote:
> > > This is problematic I fear-
> > >
> > > AWS API depends on one version, the rest of CloudStack requires 
> > > another - and they are incompatible.
> > >
> >
> > That is weird, my build succeeded just fine without axis 1.4.1 on my 
> > system, I was positive the JAR file was removed from my deps
> directory
> > as well.
> >
> > I noticed we do depend on the ant-plugin version 1.4.1, aren't we 
> > confusing that for axis 1.4.1?
> >
> > Wido
> >
> > > --David
> > >
> > > On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
> > >> Updated Branches:
> > >>    refs/heads/4.0 8b592301a -> 75e2a1012
> > >>
> > >>
> > >> maven: Depend on org.apache.axis2 instead of axis
> > >>
> > >> We (AWS API) only import org.apache.axis2, but maven was also
> > depending on org.apache.axis 1.4.1
> > >>
> > >>
> > >> Project: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/repo
> > >> Commit: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/commit/75e2a101
> > >> Tree: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/tree/75e2a101
> > >> Diff: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/diff/75e2a101
> > >>
> > >> Branch: refs/heads/4.0
> > >> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
> > >> Parents: 8b59230
> > >> Author: Wido den Hollander <wi...@widodh.nl>
> > >> Authored: Wed Oct 10 01:12:02 2012 +0200
> > >> Committer: Wido den Hollander <wi...@widodh.nl>
> > >> Committed: Wed Oct 10 01:12:02 2012 +0200
> > >>
> > >> -----------------------------------------------------------------
> > >> -
> -
> > >> -
> > --
> > >>   deps/pom.xml |   11 +++--------
> > >>   pom.xml      |    1 -
> > >>   2 files changed, 3 insertions(+), 9 deletions(-)
> > >> -----------------------------------------------------------------
> > >> -
> -
> > >> -
> > --
> > >>
> > >>
> > >> http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/blob/75e2a101/deps/pom.xml
> > >> -----------------------------------------------------------------
> > >> -
> -
> > >> -
> > --
> > >> diff --git a/deps/pom.xml b/deps/pom.xml index ffc0e75..d08a23a
> > >> 100644
> > >> --- a/deps/pom.xml
> > >> +++ b/deps/pom.xml
> > >> @@ -118,14 +118,9 @@
> > >>       </dependency>
> > >>       <!-- For vmware-base -->
> > >>       <dependency>
> > >> -      <groupId>org.apache.axis</groupId>
> > >> -      <artifactId>axis</artifactId>
> > >> -      <version>${cs.axis.version}</version>
> > >> -    </dependency>
> > >> -    <dependency>
> > >> -      <groupId>org.apache.axis</groupId>
> > >> -      <artifactId>axis-jaxrpc</artifactId>
> > >> -      <version>${cs.axis.version}</version>
> > >> +      <groupId>org.apache.axis2</groupId>
> > >> +      <artifactId>axis2</artifactId>
> > >> +      <version>${cs.axis2.version}</version>
> > >>       </dependency>
> > >>     </dependencies>
> > >>     <build>
> > >>
> > >> http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/blob/75e2a101/pom.xml
> > >> -----------------------------------------------------------------
> > >> -
> -
> > >> -
> > --
> > >> diff --git a/pom.xml b/pom.xml
> > >> index 2c1fc8e..35fe497 100644
> > >> --- a/pom.xml
> > >> +++ b/pom.xml
> > >> @@ -72,7 +72,6 @@
> > >>       <cs.xstream.version>1.3.1</cs.xstream.version>
> > >>       <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
> > >>       <cs.mail.version>1.4</cs.mail.version>
> > >> -    <cs.axis.version>1.4</cs.axis.version>
> > >>       <cs.axis2.version>1.5.1</cs.axis2.version>
> > >>       <cs.rampart.version>1.6.2</cs.rampart.version>
> > >>       <cs.axiom.version>1.2.8</cs.axiom.version>
> > >>

RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by Edison Su <Ed...@citrix.com>.
Both awsapi and cloudstack mgt server share the same classpath, which contains both axis2 and axis.

> -----Original Message-----
> From: Prachi Damle [mailto:Prachi.Damle@citrix.com]
> Sent: Tuesday, October 09, 2012 5:08 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of
> axis
> 
> I think as long as axis2 jars are made available to awsapi webapp in
> its own WEB-INF/lib, it will not pick up the axis-1.4 from cloudstack
> code.
> The libraries in the WEB-INF are loaded first.
> 
> -----Original Message-----
> From: Edison Su [mailto:Edison.su@citrix.com]
> Sent: Tuesday, October 09, 2012 4:54 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of
> axis
> 
> Can we move to axis2 for all the projects, especially, for vmware-base,
> which depends on axis-1.4
> 
> > -----Original Message-----
> > From: Wido den Hollander [mailto:wido@widodh.nl]
> > Sent: Tuesday, October 09, 2012 4:29 PM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: Re: git commit: maven: Depend on org.apache.axis2 instead of
> > axis
> >
> >
> >
> > On 10/10/2012 01:24 AM, David Nalley wrote:
> > > This is problematic I fear-
> > >
> > > AWS API depends on one version, the rest of CloudStack requires
> > > another - and they are incompatible.
> > >
> >
> > That is weird, my build succeeded just fine without axis 1.4.1 on my
> > system, I was positive the JAR file was removed from my deps
> directory
> > as well.
> >
> > I noticed we do depend on the ant-plugin version 1.4.1, aren't we
> > confusing that for axis 1.4.1?
> >
> > Wido
> >
> > > --David
> > >
> > > On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
> > >> Updated Branches:
> > >>    refs/heads/4.0 8b592301a -> 75e2a1012
> > >>
> > >>
> > >> maven: Depend on org.apache.axis2 instead of axis
> > >>
> > >> We (AWS API) only import org.apache.axis2, but maven was also
> > depending on org.apache.axis 1.4.1
> > >>
> > >>
> > >> Project: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/repo
> > >> Commit: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/commit/75e2a101
> > >> Tree: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/tree/75e2a101
> > >> Diff: http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/diff/75e2a101
> > >>
> > >> Branch: refs/heads/4.0
> > >> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
> > >> Parents: 8b59230
> > >> Author: Wido den Hollander <wi...@widodh.nl>
> > >> Authored: Wed Oct 10 01:12:02 2012 +0200
> > >> Committer: Wido den Hollander <wi...@widodh.nl>
> > >> Committed: Wed Oct 10 01:12:02 2012 +0200
> > >>
> > >> ------------------------------------------------------------------
> -
> > >> -
> > --
> > >>   deps/pom.xml |   11 +++--------
> > >>   pom.xml      |    1 -
> > >>   2 files changed, 3 insertions(+), 9 deletions(-)
> > >> ------------------------------------------------------------------
> -
> > >> -
> > --
> > >>
> > >>
> > >> http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/blob/75e2a101/deps/pom.xml
> > >> ------------------------------------------------------------------
> -
> > >> -
> > --
> > >> diff --git a/deps/pom.xml b/deps/pom.xml index ffc0e75..d08a23a
> > >> 100644
> > >> --- a/deps/pom.xml
> > >> +++ b/deps/pom.xml
> > >> @@ -118,14 +118,9 @@
> > >>       </dependency>
> > >>       <!-- For vmware-base -->
> > >>       <dependency>
> > >> -      <groupId>org.apache.axis</groupId>
> > >> -      <artifactId>axis</artifactId>
> > >> -      <version>${cs.axis.version}</version>
> > >> -    </dependency>
> > >> -    <dependency>
> > >> -      <groupId>org.apache.axis</groupId>
> > >> -      <artifactId>axis-jaxrpc</artifactId>
> > >> -      <version>${cs.axis.version}</version>
> > >> +      <groupId>org.apache.axis2</groupId>
> > >> +      <artifactId>axis2</artifactId>
> > >> +      <version>${cs.axis2.version}</version>
> > >>       </dependency>
> > >>     </dependencies>
> > >>     <build>
> > >>
> > >> http://git-wip-us.apache.org/repos/asf/incubator-
> > cloudstack/blob/75e2a101/pom.xml
> > >> ------------------------------------------------------------------
> -
> > >> -
> > --
> > >> diff --git a/pom.xml b/pom.xml
> > >> index 2c1fc8e..35fe497 100644
> > >> --- a/pom.xml
> > >> +++ b/pom.xml
> > >> @@ -72,7 +72,6 @@
> > >>       <cs.xstream.version>1.3.1</cs.xstream.version>
> > >>       <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
> > >>       <cs.mail.version>1.4</cs.mail.version>
> > >> -    <cs.axis.version>1.4</cs.axis.version>
> > >>       <cs.axis2.version>1.5.1</cs.axis2.version>
> > >>       <cs.rampart.version>1.6.2</cs.rampart.version>
> > >>       <cs.axiom.version>1.2.8</cs.axiom.version>
> > >>

RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by Prachi Damle <Pr...@citrix.com>.
I think as long as axis2 jars are made available to awsapi webapp in its own WEB-INF/lib, it will not pick up the axis-1.4 from cloudstack code.
The libraries in the WEB-INF are loaded first.

-----Original Message-----
From: Edison Su [mailto:Edison.su@citrix.com] 
Sent: Tuesday, October 09, 2012 4:54 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Can we move to axis2 for all the projects, especially, for vmware-base, which depends on axis-1.4

> -----Original Message-----
> From: Wido den Hollander [mailto:wido@widodh.nl]
> Sent: Tuesday, October 09, 2012 4:29 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: git commit: maven: Depend on org.apache.axis2 instead of 
> axis
> 
> 
> 
> On 10/10/2012 01:24 AM, David Nalley wrote:
> > This is problematic I fear-
> >
> > AWS API depends on one version, the rest of CloudStack requires 
> > another - and they are incompatible.
> >
> 
> That is weird, my build succeeded just fine without axis 1.4.1 on my 
> system, I was positive the JAR file was removed from my deps directory 
> as well.
> 
> I noticed we do depend on the ant-plugin version 1.4.1, aren't we 
> confusing that for axis 1.4.1?
> 
> Wido
> 
> > --David
> >
> > On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
> >> Updated Branches:
> >>    refs/heads/4.0 8b592301a -> 75e2a1012
> >>
> >>
> >> maven: Depend on org.apache.axis2 instead of axis
> >>
> >> We (AWS API) only import org.apache.axis2, but maven was also
> depending on org.apache.axis 1.4.1
> >>
> >>
> >> Project: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/repo
> >> Commit: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/commit/75e2a101
> >> Tree: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/tree/75e2a101
> >> Diff: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/diff/75e2a101
> >>
> >> Branch: refs/heads/4.0
> >> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
> >> Parents: 8b59230
> >> Author: Wido den Hollander <wi...@widodh.nl>
> >> Authored: Wed Oct 10 01:12:02 2012 +0200
> >> Committer: Wido den Hollander <wi...@widodh.nl>
> >> Committed: Wed Oct 10 01:12:02 2012 +0200
> >>
> >> -------------------------------------------------------------------
> >> -
> --
> >>   deps/pom.xml |   11 +++--------
> >>   pom.xml      |    1 -
> >>   2 files changed, 3 insertions(+), 9 deletions(-)
> >> -------------------------------------------------------------------
> >> -
> --
> >>
> >>
> >> http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/blob/75e2a101/deps/pom.xml
> >> -------------------------------------------------------------------
> >> -
> --
> >> diff --git a/deps/pom.xml b/deps/pom.xml index ffc0e75..d08a23a 
> >> 100644
> >> --- a/deps/pom.xml
> >> +++ b/deps/pom.xml
> >> @@ -118,14 +118,9 @@
> >>       </dependency>
> >>       <!-- For vmware-base -->
> >>       <dependency>
> >> -      <groupId>org.apache.axis</groupId>
> >> -      <artifactId>axis</artifactId>
> >> -      <version>${cs.axis.version}</version>
> >> -    </dependency>
> >> -    <dependency>
> >> -      <groupId>org.apache.axis</groupId>
> >> -      <artifactId>axis-jaxrpc</artifactId>
> >> -      <version>${cs.axis.version}</version>
> >> +      <groupId>org.apache.axis2</groupId>
> >> +      <artifactId>axis2</artifactId>
> >> +      <version>${cs.axis2.version}</version>
> >>       </dependency>
> >>     </dependencies>
> >>     <build>
> >>
> >> http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/blob/75e2a101/pom.xml
> >> -------------------------------------------------------------------
> >> -
> --
> >> diff --git a/pom.xml b/pom.xml
> >> index 2c1fc8e..35fe497 100644
> >> --- a/pom.xml
> >> +++ b/pom.xml
> >> @@ -72,7 +72,6 @@
> >>       <cs.xstream.version>1.3.1</cs.xstream.version>
> >>       <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
> >>       <cs.mail.version>1.4</cs.mail.version>
> >> -    <cs.axis.version>1.4</cs.axis.version>
> >>       <cs.axis2.version>1.5.1</cs.axis2.version>
> >>       <cs.rampart.version>1.6.2</cs.rampart.version>
> >>       <cs.axiom.version>1.2.8</cs.axiom.version>
> >>

RE: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by Edison Su <Ed...@citrix.com>.
Can we move to axis2 for all the projects, especially, for vmware-base, which depends on axis-1.4

> -----Original Message-----
> From: Wido den Hollander [mailto:wido@widodh.nl]
> Sent: Tuesday, October 09, 2012 4:29 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: git commit: maven: Depend on org.apache.axis2 instead of
> axis
> 
> 
> 
> On 10/10/2012 01:24 AM, David Nalley wrote:
> > This is problematic I fear-
> >
> > AWS API depends on one version, the rest of CloudStack requires
> > another - and they are incompatible.
> >
> 
> That is weird, my build succeeded just fine without axis 1.4.1 on my
> system, I was positive the JAR file was removed from my deps directory
> as well.
> 
> I noticed we do depend on the ant-plugin version 1.4.1, aren't we
> confusing that for axis 1.4.1?
> 
> Wido
> 
> > --David
> >
> > On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
> >> Updated Branches:
> >>    refs/heads/4.0 8b592301a -> 75e2a1012
> >>
> >>
> >> maven: Depend on org.apache.axis2 instead of axis
> >>
> >> We (AWS API) only import org.apache.axis2, but maven was also
> depending on org.apache.axis 1.4.1
> >>
> >>
> >> Project: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/repo
> >> Commit: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/commit/75e2a101
> >> Tree: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/tree/75e2a101
> >> Diff: http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/diff/75e2a101
> >>
> >> Branch: refs/heads/4.0
> >> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
> >> Parents: 8b59230
> >> Author: Wido den Hollander <wi...@widodh.nl>
> >> Authored: Wed Oct 10 01:12:02 2012 +0200
> >> Committer: Wido den Hollander <wi...@widodh.nl>
> >> Committed: Wed Oct 10 01:12:02 2012 +0200
> >>
> >> --------------------------------------------------------------------
> --
> >>   deps/pom.xml |   11 +++--------
> >>   pom.xml      |    1 -
> >>   2 files changed, 3 insertions(+), 9 deletions(-)
> >> --------------------------------------------------------------------
> --
> >>
> >>
> >> http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/blob/75e2a101/deps/pom.xml
> >> --------------------------------------------------------------------
> --
> >> diff --git a/deps/pom.xml b/deps/pom.xml
> >> index ffc0e75..d08a23a 100644
> >> --- a/deps/pom.xml
> >> +++ b/deps/pom.xml
> >> @@ -118,14 +118,9 @@
> >>       </dependency>
> >>       <!-- For vmware-base -->
> >>       <dependency>
> >> -      <groupId>org.apache.axis</groupId>
> >> -      <artifactId>axis</artifactId>
> >> -      <version>${cs.axis.version}</version>
> >> -    </dependency>
> >> -    <dependency>
> >> -      <groupId>org.apache.axis</groupId>
> >> -      <artifactId>axis-jaxrpc</artifactId>
> >> -      <version>${cs.axis.version}</version>
> >> +      <groupId>org.apache.axis2</groupId>
> >> +      <artifactId>axis2</artifactId>
> >> +      <version>${cs.axis2.version}</version>
> >>       </dependency>
> >>     </dependencies>
> >>     <build>
> >>
> >> http://git-wip-us.apache.org/repos/asf/incubator-
> cloudstack/blob/75e2a101/pom.xml
> >> --------------------------------------------------------------------
> --
> >> diff --git a/pom.xml b/pom.xml
> >> index 2c1fc8e..35fe497 100644
> >> --- a/pom.xml
> >> +++ b/pom.xml
> >> @@ -72,7 +72,6 @@
> >>       <cs.xstream.version>1.3.1</cs.xstream.version>
> >>       <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
> >>       <cs.mail.version>1.4</cs.mail.version>
> >> -    <cs.axis.version>1.4</cs.axis.version>
> >>       <cs.axis2.version>1.5.1</cs.axis2.version>
> >>       <cs.rampart.version>1.6.2</cs.rampart.version>
> >>       <cs.axiom.version>1.2.8</cs.axiom.version>
> >>

Re: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by Wido den Hollander <wi...@widodh.nl>.

On 10/10/2012 01:24 AM, David Nalley wrote:
> This is problematic I fear-
>
> AWS API depends on one version, the rest of CloudStack requires
> another - and they are incompatible.
>

That is weird, my build succeeded just fine without axis 1.4.1 on my 
system, I was positive the JAR file was removed from my deps directory 
as well.

I noticed we do depend on the ant-plugin version 1.4.1, aren't we 
confusing that for axis 1.4.1?

Wido

> --David
>
> On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
>> Updated Branches:
>>    refs/heads/4.0 8b592301a -> 75e2a1012
>>
>>
>> maven: Depend on org.apache.axis2 instead of axis
>>
>> We (AWS API) only import org.apache.axis2, but maven was also depending on org.apache.axis 1.4.1
>>
>>
>> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/75e2a101
>> Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/75e2a101
>> Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/75e2a101
>>
>> Branch: refs/heads/4.0
>> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
>> Parents: 8b59230
>> Author: Wido den Hollander <wi...@widodh.nl>
>> Authored: Wed Oct 10 01:12:02 2012 +0200
>> Committer: Wido den Hollander <wi...@widodh.nl>
>> Committed: Wed Oct 10 01:12:02 2012 +0200
>>
>> ----------------------------------------------------------------------
>>   deps/pom.xml |   11 +++--------
>>   pom.xml      |    1 -
>>   2 files changed, 3 insertions(+), 9 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75e2a101/deps/pom.xml
>> ----------------------------------------------------------------------
>> diff --git a/deps/pom.xml b/deps/pom.xml
>> index ffc0e75..d08a23a 100644
>> --- a/deps/pom.xml
>> +++ b/deps/pom.xml
>> @@ -118,14 +118,9 @@
>>       </dependency>
>>       <!-- For vmware-base -->
>>       <dependency>
>> -      <groupId>org.apache.axis</groupId>
>> -      <artifactId>axis</artifactId>
>> -      <version>${cs.axis.version}</version>
>> -    </dependency>
>> -    <dependency>
>> -      <groupId>org.apache.axis</groupId>
>> -      <artifactId>axis-jaxrpc</artifactId>
>> -      <version>${cs.axis.version}</version>
>> +      <groupId>org.apache.axis2</groupId>
>> +      <artifactId>axis2</artifactId>
>> +      <version>${cs.axis2.version}</version>
>>       </dependency>
>>     </dependencies>
>>     <build>
>>
>> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75e2a101/pom.xml
>> ----------------------------------------------------------------------
>> diff --git a/pom.xml b/pom.xml
>> index 2c1fc8e..35fe497 100644
>> --- a/pom.xml
>> +++ b/pom.xml
>> @@ -72,7 +72,6 @@
>>       <cs.xstream.version>1.3.1</cs.xstream.version>
>>       <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
>>       <cs.mail.version>1.4</cs.mail.version>
>> -    <cs.axis.version>1.4</cs.axis.version>
>>       <cs.axis2.version>1.5.1</cs.axis2.version>
>>       <cs.rampart.version>1.6.2</cs.rampart.version>
>>       <cs.axiom.version>1.2.8</cs.axiom.version>
>>

Re: git commit: maven: Depend on org.apache.axis2 instead of axis

Posted by David Nalley <da...@gnsa.us>.
This is problematic I fear-

AWS API depends on one version, the rest of CloudStack requires
another - and they are incompatible.

--David

On Tue, Oct 9, 2012 at 7:13 PM,  <wi...@apache.org> wrote:
> Updated Branches:
>   refs/heads/4.0 8b592301a -> 75e2a1012
>
>
> maven: Depend on org.apache.axis2 instead of axis
>
> We (AWS API) only import org.apache.axis2, but maven was also depending on org.apache.axis 1.4.1
>
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
> Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/75e2a101
> Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/75e2a101
> Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/75e2a101
>
> Branch: refs/heads/4.0
> Commit: 75e2a1012fccc01c639c7f41be564ac0e32088fb
> Parents: 8b59230
> Author: Wido den Hollander <wi...@widodh.nl>
> Authored: Wed Oct 10 01:12:02 2012 +0200
> Committer: Wido den Hollander <wi...@widodh.nl>
> Committed: Wed Oct 10 01:12:02 2012 +0200
>
> ----------------------------------------------------------------------
>  deps/pom.xml |   11 +++--------
>  pom.xml      |    1 -
>  2 files changed, 3 insertions(+), 9 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75e2a101/deps/pom.xml
> ----------------------------------------------------------------------
> diff --git a/deps/pom.xml b/deps/pom.xml
> index ffc0e75..d08a23a 100644
> --- a/deps/pom.xml
> +++ b/deps/pom.xml
> @@ -118,14 +118,9 @@
>      </dependency>
>      <!-- For vmware-base -->
>      <dependency>
> -      <groupId>org.apache.axis</groupId>
> -      <artifactId>axis</artifactId>
> -      <version>${cs.axis.version}</version>
> -    </dependency>
> -    <dependency>
> -      <groupId>org.apache.axis</groupId>
> -      <artifactId>axis-jaxrpc</artifactId>
> -      <version>${cs.axis.version}</version>
> +      <groupId>org.apache.axis2</groupId>
> +      <artifactId>axis2</artifactId>
> +      <version>${cs.axis2.version}</version>
>      </dependency>
>    </dependencies>
>    <build>
>
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75e2a101/pom.xml
> ----------------------------------------------------------------------
> diff --git a/pom.xml b/pom.xml
> index 2c1fc8e..35fe497 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -72,7 +72,6 @@
>      <cs.xstream.version>1.3.1</cs.xstream.version>
>      <cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
>      <cs.mail.version>1.4</cs.mail.version>
> -    <cs.axis.version>1.4</cs.axis.version>
>      <cs.axis2.version>1.5.1</cs.axis2.version>
>      <cs.rampart.version>1.6.2</cs.rampart.version>
>      <cs.axiom.version>1.2.8</cs.axiom.version>
>