You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Jose Noheda <jo...@gmail.com> on 2008/04/17 11:00:33 UTC

Spring Security 2.0 error

Hi,

I'm getting the following error when downloading Spring Security:

[ivy:retrieve]
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::              FAILED DOWNLOADS            ::
[ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::
org.springframework.security#spring-security-core;2.0.0!spring-security-core.bundle
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]

The ivy.xml is as follows

<dependency org="org.springframework.security" name="spring-security-core"
rev="2.0.0" conf="compile->default;package_war->default" />

I've even tried (to no avail, of course)

<dependency org="org.springframework.security" name="spring-security-core"
rev="2.0.0" conf="compile->default;package_war->default">
   <exclude module="spring-security-core.bundle" />
</dependency>

Can someone confirm there's a problem with it?

Regards

Re: Spring Security 2.0 error

Posted by Jose Noheda <jo...@gmail.com>.
Hi,

Done (http://issues.apache.org/jira/browse/IVY-799)

Regards,

On Thu, Apr 17, 2008 at 11:30 AM, Nicolas Lalevée <
nicolas.lalevee@anyware-tech.com> wrote:

> Le jeudi 17 avril 2008, Jose Noheda a écrit :
> > Hi,
> >
> > I'm getting the following error when downloading Spring Security:
> >
> > [ivy:retrieve]
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> > [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::
> >
> org.springframework.security#spring-security-core;2.0.0!spring-security-cor
> >e.bundle [ivy:retrieve]
> > :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve]
> >
> > The ivy.xml is as follows
> >
> > <dependency org="org.springframework.security"
> name="spring-security-core"
> > rev="2.0.0" conf="compile->default;package_war->default" />
> >
> > I've even tried (to no avail, of course)
> >
> > <dependency org="org.springframework.security"
> name="spring-security-core"
> > rev="2.0.0" conf="compile->default;package_war->default">
> >    <exclude module="spring-security-core.bundle" />
> > </dependency>
> >
> > Can someone confirm there's a problem with it?
>
> I think there is an issue in Ivy's pom parser which doesn't understand
> that
> a "bundle" packaging is actually a .jar file.
>
> Could you open an Jira issue ?
>
> cheers,
> Nicolas
>

Re: Spring Security 2.0 error

Posted by Nicolas Lalevée <ni...@anyware-tech.com>.
Le jeudi 17 avril 2008, Jose Noheda a écrit :
> Hi,
>
> I'm getting the following error when downloading Spring Security:
>
> [ivy:retrieve]
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::
> org.springframework.security#spring-security-core;2.0.0!spring-security-cor
>e.bundle [ivy:retrieve]         
> :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve]
>
> The ivy.xml is as follows
>
> <dependency org="org.springframework.security" name="spring-security-core"
> rev="2.0.0" conf="compile->default;package_war->default" />
>
> I've even tried (to no avail, of course)
>
> <dependency org="org.springframework.security" name="spring-security-core"
> rev="2.0.0" conf="compile->default;package_war->default">
>    <exclude module="spring-security-core.bundle" />
> </dependency>
>
> Can someone confirm there's a problem with it?

I think there is an issue in Ivy's pom parser which doesn't understand that 
a "bundle" packaging is actually a .jar file.

Could you open an Jira issue ?

cheers,
Nicolas

Re: Spring Security 2.0 error

Posted by Jim White <ji...@pagesmiths.com>.
Jose Noheda wrote:

> Thank you. Adding artifact tag worked. Should I keep the issue open anyway?

I think so.  If it is not a bug then they'll just close it.

And to be more correct in the intention, I should have said to specify 
the extension rather than type in the artifact element.

<artifact name="spring-security-core" ext="jar"/>

Jim


Re: Spring Security 2.0 error

Posted by Xavier Hanin <xa...@gmail.com>.
On Thu, Apr 17, 2008 at 12:40 PM, Jose Noheda <jo...@gmail.com> wrote:

> Thank you. Adding artifact tag worked. Should I keep the issue open
> anyway?

I think so, except that I'm not sure it's not a duplicate.

Xavier

Re: Spring Security 2.0 error

Posted by Jose Noheda <jo...@gmail.com>.
Thank you. Adding artifact tag worked. Should I keep the issue open anyway?

On Thu, Apr 17, 2008 at 12:30 PM, Jim White <ji...@pagesmiths.com> wrote:

> Yes, fails for me as well.
>
> :: problems summary ::
>
> [FAILED     ]
> org.springframework.security#spring-security-core;2.0.0!spring-security-core.bundle:
>
>
> ==== public: tried
>
> http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/2.0.0/spring-security-core-2.0.0.bundle
>
> There is a spring-security-core-2.0.0.jar but not
> spring-security-core-2.0.0.bundle.
>
> [FAILED     ]
> javax.transaction#jta;1.0.1B!jta.jar:
>
> ==== public: tried
> http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>
> There is a jta-1.0.1B.pom but no jta-1.0.1B.jar.
>
> The JBoss M2 repo has the JTA JAR but not Spring Security.
>
> http://repository.jboss.com/maven2/javax/transaction/jta/1.0.1B/
>
> Adding an <artifact name="spring-security-core" type="jar"/> to that
> dependency will solve that problem (assuming the JAR is in fact the correct
> artifact, which it probably is).
>
> Jim
>
>
> Jose Noheda wrote:
>
>  Hi,
> >
> > I'm getting the following error when downloading Spring Security:
> >
> > [ivy:retrieve]
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> > [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::
> >
> > org.springframework.security#spring-security-core;2.0.0!spring-security-core.bundle
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]
> >
> > The ivy.xml is as follows
> >
> > <dependency org="org.springframework.security"
> > name="spring-security-core"
> > rev="2.0.0" conf="compile->default;package_war->default" />
> >
> > I've even tried (to no avail, of course)
> >
> > <dependency org="org.springframework.security"
> > name="spring-security-core"
> > rev="2.0.0" conf="compile->default;package_war->default">
> >   <exclude module="spring-security-core.bundle" />
> > </dependency>
> >
> > Can someone confirm there's a problem with it?
> >
> > Regards
> >
> >
>

Re: Spring Security 2.0 error

Posted by Jim White <ji...@pagesmiths.com>.
Yes, fails for me as well.

:: problems summary ::

[FAILED     ]
org.springframework.security#spring-security-core;2.0.0!spring-security-core.bundle: 


==== public: tried
http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/2.0.0/spring-security-core-2.0.0.bundle

There is a spring-security-core-2.0.0.jar but not 
spring-security-core-2.0.0.bundle.

[FAILED     ]
javax.transaction#jta;1.0.1B!jta.jar:

==== public: tried
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar

There is a jta-1.0.1B.pom but no jta-1.0.1B.jar.

The JBoss M2 repo has the JTA JAR but not Spring Security.

http://repository.jboss.com/maven2/javax/transaction/jta/1.0.1B/

Adding an <artifact name="spring-security-core" type="jar"/> to that 
dependency will solve that problem (assuming the JAR is in fact the 
correct artifact, which it probably is).

Jim

Jose Noheda wrote:

> Hi,
> 
> I'm getting the following error when downloading Spring Security:
> 
> [ivy:retrieve]
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::
> org.springframework.security#spring-security-core;2.0.0!spring-security-core.bundle
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> 
> The ivy.xml is as follows
> 
> <dependency org="org.springframework.security" name="spring-security-core"
> rev="2.0.0" conf="compile->default;package_war->default" />
> 
> I've even tried (to no avail, of course)
> 
> <dependency org="org.springframework.security" name="spring-security-core"
> rev="2.0.0" conf="compile->default;package_war->default">
>    <exclude module="spring-security-core.bundle" />
> </dependency>
> 
> Can someone confirm there's a problem with it?
> 
> Regards
>