You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Rajith Attapattu <ra...@gmail.com> on 2006/12/01 00:11:59 UTC

Build break due to unresolved dependency

Hi Guys,

I get the following error with sandsesha2 policy jar.

[INFO] Failed to resolve artifact.

Missing:
----------
1) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=sandesha2
-DartifactId=sandesha2-policy \
          -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.synapse:synapse-incubating-core:jar:0.90-SNAPSHOT
        2) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT

----------
1 required artifact is missing.

Regards,

Rajith

Re: Build break due to unresolved dependency

Posted by Phil Steitz <ph...@gmail.com>.
On 12/3/06, ant elder <an...@gmail.com> wrote:
> Thanks Phil, I've made these changes and also dropped the Axis2 release from
> 1.1.1-SNAPSHOT back down to 1.1.  Not sure if we needed something specific
> in the 1.1.1-SNAPSHOT build but it seemed better to have the build working
> while we sort that out. I've tested this by deleting my local maven repo and
> doing mvn install and mvn assembly:assembly -Drelease, and tested out the
> created distro and it all works ok for me now, so could you have another
> try?
>
That fixed the build for me.  I have been able to start synapse, axis2
and run the first six samples per instructions in Synapse_Samples.html
using the generated tarball.  I will test the others once I get there.
 Thanks!

Phil


>    ...ant
>
>
> On 12/3/06, Phil Steitz <ph...@gmail.com> wrote:
> > This still needs to be fixed in svn.  My build also can't seem to locate
> > org.apache.axis2:axis2:jar:1.1.1-SNAPSHOT
> > Maybe this needs to be published to ws.zones.apache.org ?
> >
> > I think the location of the wstx-asl jar also needs to be fixed.  Here
> > is what I did to fix that and the sandesha problem (but I am still
> > failing due to missing axis2 core jar).
> >
> > Phil
> >
> > Index: pom.xml
> >
> ===================================================================
> > --- pom.xml     (revision 481691)
> > +++ pom.xml     (working copy)
> > @@ -279,7 +279,7 @@
> >          </dependency>
> >
> >          <dependency>
> > -            <groupId>sandesha2</groupId>
> > +            <groupId>org.apache.sandesha2</groupId>
> >              <artifactId>sandesha2-policy</artifactId>
> >              <version>${ sandesha2.version}</version>
> >          </dependency>
> > @@ -311,7 +311,7 @@
> >          </dependency>
> >
> >          <dependency>
> > -            <groupId>sandesha2</groupId>
> > +            <groupId> org.apache.sandesha2</groupId>
> >              <artifactId>sandesha2</artifactId>
> >              <version>${sandesha2.version}</version>
> >              <type>mar</type>
> > @@ -600,9 +600,9 @@
> >          <activation.version>1.1</activation.version>
> >          <geronimo.spec.jms.version>1.1-rc4</geronimo.spec.jms.version>
> >
> > -        <stax.impl.groupid>woodstox</stax.impl.groupid>
> > -        <stax.impl.artifactid>wstx</stax.impl.artifactid>
> > -        <stax.impl.version>asl-3.1.0</stax.impl.version>
> > +        <stax.impl.groupid>org.codehaus.woodstox</stax.impl.groupid>
> > +
> <stax.impl.artifactid>wstx-asl</stax.impl.artifactid>
> > +        <stax.impl.version>3.1.0</stax.impl.version>
> >          <stax.api.version>1.0.1</stax.api.version>
> >      </properties>
> >
> >
> >
> >
> >
> >
> >
> > On 12/2/06, Asankha C. Perera <as...@wso2.com> wrote:
> > >
> > >  Thanks Rajith, will do this...
> > >
> > >  asankha
> > >
> > >
> > >  Rajith Attapattu wrote:
> > > Please change the group id from "sandesha2" to "org.apache.sandesha2"
> and it
> > > will work.
> > >
> > >  Rajith
> > >
> > >
> > > On 11/30/06, Rajith Attapattu < rajith77@gmail.com> wrote:
> > > > Hi Guys,
> > > >
> > > > I get the following error with sandsesha2 policy jar.
> > > >
> > > > [INFO] Failed to resolve artifact.
> > > >
> > > > Missing:
> > > > ----------
> > > > 1) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
> > > >
> > > >   Try downloading the file manually from the project website.
> > > >
> > > >   Then, install it using the command:
> > > >       mvn install:install-file -DgroupId=sandesha2
> > > -DartifactId=sandesha2-policy \
> > > >           -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > > >
> > > >   Path to dependency:
> > > >         1)
> > >
> org.apache.synapse:synapse-incubating-core:jar:0.90-SNAPSHOT
> > > >         2) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
> > > >
> > > > ----------
> > > > 1 required artifact is missing.
> > > >
> > > > Regards,
> > > >
> > > > Rajith
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > synapse-dev-unsubscribe@ws.apache.org For additional
> > > commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
>
>

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


Re: Build break due to unresolved dependency

Posted by ant elder <an...@gmail.com>.
Thanks Phil, I've made these changes and also dropped the Axis2 release from
1.1.1-SNAPSHOT back down to 1.1.  Not sure if we needed something specific
in the 1.1.1-SNAPSHOT build but it seemed better to have the build working
while we sort that out. I've tested this by deleting my local maven repo and
doing mvn install and mvn assembly:assembly -Drelease, and tested out the
created distro and it all works ok for me now, so could you have another
try?

   ...ant

On 12/3/06, Phil Steitz <ph...@gmail.com> wrote:
>
> This still needs to be fixed in svn.  My build also can't seem to locate
> org.apache.axis2:axis2:jar:1.1.1-SNAPSHOT
> Maybe this needs to be published to ws.zones.apache.org ?
>
> I think the location of the wstx-asl jar also needs to be fixed.  Here
> is what I did to fix that and the sandesha problem (but I am still
> failing due to missing axis2 core jar).
>
> Phil
>
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 481691)
> +++ pom.xml     (working copy)
> @@ -279,7 +279,7 @@
>          </dependency>
>
>          <dependency>
> -            <groupId>sandesha2</groupId>
> +            <groupId>org.apache.sandesha2</groupId>
>              <artifactId>sandesha2-policy</artifactId>
>              <version>${sandesha2.version}</version>
>          </dependency>
> @@ -311,7 +311,7 @@
>          </dependency>
>
>          <dependency>
> -            <groupId>sandesha2</groupId>
> +            <groupId>org.apache.sandesha2</groupId>
>              <artifactId>sandesha2</artifactId>
>              <version>${sandesha2.version}</version>
>              <type>mar</type>
> @@ -600,9 +600,9 @@
>          <activation.version>1.1</activation.version>
>          <geronimo.spec.jms.version>1.1-rc4</geronimo.spec.jms.version>
>
> -        <stax.impl.groupid>woodstox</stax.impl.groupid>
> -        <stax.impl.artifactid>wstx</stax.impl.artifactid>
> -        <stax.impl.version>asl-3.1.0</stax.impl.version>
> +        <stax.impl.groupid>org.codehaus.woodstox</stax.impl.groupid>
> +        <stax.impl.artifactid>wstx-asl</stax.impl.artifactid>
> +        <stax.impl.version>3.1.0</stax.impl.version>
>          <stax.api.version>1.0.1</stax.api.version>
>      </properties>
>
>
>
>
>
>
>
> On 12/2/06, Asankha C. Perera <as...@wso2.com> wrote:
> >
> >  Thanks Rajith, will do this...
> >
> >  asankha
> >
> >
> >  Rajith Attapattu wrote:
> > Please change the group id from "sandesha2" to "org.apache.sandesha2"
> and it
> > will work.
> >
> >  Rajith
> >
> >
> > On 11/30/06, Rajith Attapattu < rajith77@gmail.com> wrote:
> > > Hi Guys,
> > >
> > > I get the following error with sandsesha2 policy jar.
> > >
> > > [INFO] Failed to resolve artifact.
> > >
> > > Missing:
> > > ----------
> > > 1) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
> > >
> > >   Try downloading the file manually from the project website.
> > >
> > >   Then, install it using the command:
> > >       mvn install:install-file -DgroupId=sandesha2
> > -DartifactId=sandesha2-policy \
> > >           -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > >
> > >   Path to dependency:
> > >         1)
> > org.apache.synapse:synapse-incubating-core:jar:0.90-SNAPSHOT
> > >         2) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
> > >
> > > ----------
> > > 1 required artifact is missing.
> > >
> > > Regards,
> > >
> > > Rajith
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > synapse-dev-unsubscribe@ws.apache.org For additional
> > commands, e-mail: synapse-dev-help@ws.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>

Re: Build break due to unresolved dependency

Posted by Phil Steitz <ph...@gmail.com>.
This still needs to be fixed in svn.  My build also can't seem to locate
org.apache.axis2:axis2:jar:1.1.1-SNAPSHOT
Maybe this needs to be published to ws.zones.apache.org ?

I think the location of the wstx-asl jar also needs to be fixed.  Here
is what I did to fix that and the sandesha problem (but I am still
failing due to missing axis2 core jar).

Phil

Index: pom.xml
===================================================================
--- pom.xml     (revision 481691)
+++ pom.xml     (working copy)
@@ -279,7 +279,7 @@
         </dependency>

         <dependency>
-            <groupId>sandesha2</groupId>
+            <groupId>org.apache.sandesha2</groupId>
             <artifactId>sandesha2-policy</artifactId>
             <version>${sandesha2.version}</version>
         </dependency>
@@ -311,7 +311,7 @@
         </dependency>

         <dependency>
-            <groupId>sandesha2</groupId>
+            <groupId>org.apache.sandesha2</groupId>
             <artifactId>sandesha2</artifactId>
             <version>${sandesha2.version}</version>
             <type>mar</type>
@@ -600,9 +600,9 @@
         <activation.version>1.1</activation.version>
         <geronimo.spec.jms.version>1.1-rc4</geronimo.spec.jms.version>

-        <stax.impl.groupid>woodstox</stax.impl.groupid>
-        <stax.impl.artifactid>wstx</stax.impl.artifactid>
-        <stax.impl.version>asl-3.1.0</stax.impl.version>
+        <stax.impl.groupid>org.codehaus.woodstox</stax.impl.groupid>
+        <stax.impl.artifactid>wstx-asl</stax.impl.artifactid>
+        <stax.impl.version>3.1.0</stax.impl.version>
         <stax.api.version>1.0.1</stax.api.version>
     </properties>







On 12/2/06, Asankha C. Perera <as...@wso2.com> wrote:
>
>  Thanks Rajith, will do this...
>
>  asankha
>
>
>  Rajith Attapattu wrote:
> Please change the group id from "sandesha2" to "org.apache.sandesha2" and it
> will work.
>
>  Rajith
>
>
> On 11/30/06, Rajith Attapattu < rajith77@gmail.com> wrote:
> > Hi Guys,
> >
> > I get the following error with sandsesha2 policy jar.
> >
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=sandesha2
> -DartifactId=sandesha2-policy \
> >           -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1)
> org.apache.synapse:synapse-incubating-core:jar:0.90-SNAPSHOT
> >         2) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> >
> > Regards,
> >
> > Rajith
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> synapse-dev-unsubscribe@ws.apache.org For additional
> commands, e-mail: synapse-dev-help@ws.apache.org

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


Re: Build break due to unresolved dependency

Posted by Rajith Attapattu <ra...@gmail.com>.
Please change the group id from "sandesha2" to "org.apache.sandesha2" and it
will work.

Rajith

On 11/30/06, Rajith Attapattu <ra...@gmail.com> wrote:
>
> Hi Guys,
>
> I get the following error with sandsesha2 policy jar.
>
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=sandesha2
> -DartifactId=sandesha2-policy \
>           -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) org.apache.synapse:synapse-incubating-core:jar:0.90-SNAPSHOT
>         2) sandesha2:sandesha2-policy:jar:1.1-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> Regards,
>
> Rajith
>