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/05/08 10:30:14 UTC

Error with Spring Security Tagblib download

Hi,

I'm trying different combinations of:

<dependency org="org.springframework.security" name="spring-security-acl"
rev="2.0.1" conf="compile->default" force="true">
  <artifact name="spring-security-acl" type="jar" />
</dependency>

<dependency org="org.springframework.security"
name="spring-security-taglibs" rev="2.0.1" conf="package_war->default">
  <artifact name="spring-security-taglibs" type="jar" />
  <artifact name="spring-security-acl" type="jar" />
</dependency>

The spring-security-acl-2.0.1.jar is downloaded but the taglib fails with:

[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          [NOT FOUND  ]
org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
(375ms)
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
[ivy:retrieve]          [NOT FOUND  ]
org.springframework.security#spring-security-taglibs;2.0.1!spring-security-acl.jar
(375ms)
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.ja
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::              FAILED DOWNLOADS            ::
[ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::
org.springframework.security#spring-security-taglibs;2.0.1!spring-security-acl.jar
[ivy:retrieve]          ::
org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::

Any ideas?

Regards,

Re: Error with Spring Security Tagblib download

Posted by Jim White <ji...@pagesmiths.com>.
Nicolas Lalevée wrote:
> 
> Le 8 mai 08 à 17:11, Jose Noheda a écrit :
> 
>> Hi,
>>
>> The weird thing is anytime I add
>>
>> <dependency org="org.springframework.security"
>> name="spring-security-taglibs" rev="2.0.1">
>>    <artifact name="spring-security-taglibs" type="jar" />
>> </dependency>
>>
>> The resolve fails with
>>
>> [ivy:retrieve] :::: WARNINGS
>> [ivy:retrieve]          [NOT FOUND  ]
>> org.springframework.security#spring-security-acl;2.0.1!spring- 
>> security-acl.bundle
>> (360ms)
>> [ivy:retrieve]  ==== public: tried
>> [ivy:retrieve]
>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle 
>>
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
>> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]          ::
>> org.springframework.security#spring-security-acl;2.0.1!spring- 
>> security-acl.bundle
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>>
>> So I tried adding and excluding spring-security-acl from the  dependency
>> declaration to no avail. Of course, the spring-security- acl-2.0.1.jar is
>> actually downloaded and available in the .ivy2/cache folder
> 
> 
> In fact your main problem is due to IVY-633. The declared packaging is  
> "bundle". Maven knows that it is actually a .jar. Ivy doesn't.
> And as far as I know there is no workaround so it needs to be fixed in  
> Ivy.

The workaround is to add an artifact element with ext='jar' to your 
dependenency.

 From my post on 5/2:

http://marc.info/?l=ivy-user&m=120842825928326&w=2
http://marc.info/?l=ivy-user&m=120842941430186&w=2

Add this within the <dependency> element:

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

Jim

Re: Error with Spring Security Tagblib download

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

This finally worked (I could swear I had tried it in the morning):

<dependency org="org.springframework.security"
name="spring-security-taglibs" rev="2.0.1">
   <artifact name="spring-security-taglibs" type="jar" />
   <exclude module="spring-security-acl" />
</dependency>

Go figure..

Regards

On Thu, May 8, 2008 at 5:33 PM, Nicolas Lalevée <ni...@hibnet.org>
wrote:

>
> Le 8 mai 08 à 17:11, Jose Noheda a écrit :
>
>  Hi,
>>
>> The weird thing is anytime I add
>>
>> <dependency org="org.springframework.security"
>> name="spring-security-taglibs" rev="2.0.1">
>>   <artifact name="spring-security-taglibs" type="jar" />
>> </dependency>
>>
>> The resolve fails with
>>
>> [ivy:retrieve] :::: WARNINGS
>> [ivy:retrieve]          [NOT FOUND  ]
>>
>> org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
>> (360ms)
>> [ivy:retrieve]  ==== public: tried
>> [ivy:retrieve]
>>
>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
>> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]          ::
>>
>> org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>>
>> So I tried adding and excluding spring-security-acl from the dependency
>> declaration to no avail. Of course, the spring-security-acl-2.0.1.jar is
>> actually downloaded and available in the .ivy2/cache folder
>>
>
> In fact your main problem is due to IVY-633. The declared packaging is
> "bundle". Maven knows that it is actually a .jar. Ivy doesn't.
> And as far as I know there is no workaround so it needs to be fixed in Ivy.
>
> Nicolas
>
>
>
>
>>
>> Regards,
>>
>> On Thu, May 8, 2008 at 5:00 PM, Nicolas Lalevée <
>> nicolas.lalevee@hibnet.org>
>> wrote:
>>
>>
>>> Le 8 mai 08 à 10:30, Jose Noheda a écrit :
>>>
>>>
>>> Hi,
>>>
>>>>
>>>> I'm trying different combinations of:
>>>>
>>>> <dependency org="org.springframework.security"
>>>> name="spring-security-acl"
>>>> rev="2.0.1" conf="compile->default" force="true">
>>>> <artifact name="spring-security-acl" type="jar" />
>>>> </dependency>
>>>>
>>>> <dependency org="org.springframework.security"
>>>> name="spring-security-taglibs" rev="2.0.1" conf="package_war->default">
>>>> <artifact name="spring-security-taglibs" type="jar" />
>>>> <artifact name="spring-security-acl" type="jar" />
>>>> </dependency>
>>>>
>>>> The spring-security-acl-2.0.1.jar is downloaded but the taglib fails
>>>> with:
>>>>
>>>> [ivy:retrieve] :: problems summary ::
>>>> [ivy:retrieve] :::: WARNINGS
>>>> [ivy:retrieve]          [NOT FOUND  ]
>>>>
>>>>
>>>> org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
>>>> (375ms)
>>>> [ivy:retrieve]  ==== public: tried
>>>> [ivy:retrieve]
>>>>
>>>>
>>>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
>>>> [ivy:retrieve]          [NOT FOUND  ]
>>>>
>>>>
>>>> org.springframework.security#spring-security-taglibs;2.0.1!spring-security-acl.jar
>>>> (375ms)
>>>> [ivy:retrieve]  ==== public: tried
>>>> [ivy:retrieve]
>>>>
>>>>
>>>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.ja
>>>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
>>>> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
>>>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>>>> [ivy:retrieve]          ::
>>>>
>>>>
>>>> org.springframework.security#spring-security-taglibs;2.0.1!spring-security-acl.jar
>>>> [ivy:retrieve]          ::
>>>>
>>>>
>>>> org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
>>>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>>>>
>>>> Any ideas?
>>>>
>>>>
>>> yep, see https://issues.apache.org/jira/browse/IVY-633
>>>
>>> And there is another error in your dependency declaration :
>>>
>>> <dependency org="org.springframework.security"
>>>
>>>> name="spring-security-taglibs" rev="2.0.1" conf="package_war->default">
>>>> <artifact name="spring-security-taglibs" type="jar" />
>>>> <artifact name="spring-security-acl" type="jar" />
>>>> </dependency>
>>>>
>>>>
>>> you say here that you want the artifact with the name spring-security-acl
>>> for the module spring-security-taglibs:
>>>
>>>
>>>
>>>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.jar
>>>>
>>>>
>>> which obviously doesn't exists.
>>>
>>> Nicolas
>>>
>>>
>>>
>

Re: Error with Spring Security Tagblib download

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 8 mai 08 à 17:11, Jose Noheda a écrit :

> Hi,
>
> The weird thing is anytime I add
>
> <dependency org="org.springframework.security"
> name="spring-security-taglibs" rev="2.0.1">
>    <artifact name="spring-security-taglibs" type="jar" />
> </dependency>
>
> The resolve fails with
>
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]          [NOT FOUND  ]
> org.springframework.security#spring-security-acl;2.0.1!spring- 
> security-acl.bundle
> (360ms)
> [ivy:retrieve]  ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::
> org.springframework.security#spring-security-acl;2.0.1!spring- 
> security-acl.bundle
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>
> So I tried adding and excluding spring-security-acl from the  
> dependency
> declaration to no avail. Of course, the spring-security- 
> acl-2.0.1.jar is
> actually downloaded and available in the .ivy2/cache folder

In fact your main problem is due to IVY-633. The declared packaging is  
"bundle". Maven knows that it is actually a .jar. Ivy doesn't.
And as far as I know there is no workaround so it needs to be fixed in  
Ivy.

Nicolas


>
>
> Regards,
>
> On Thu, May 8, 2008 at 5:00 PM, Nicolas Lalevée <nicolas.lalevee@hibnet.org 
> >
> wrote:
>
>>
>> Le 8 mai 08 à 10:30, Jose Noheda a écrit :
>>
>>
>> Hi,
>>>
>>> I'm trying different combinations of:
>>>
>>> <dependency org="org.springframework.security" name="spring- 
>>> security-acl"
>>> rev="2.0.1" conf="compile->default" force="true">
>>> <artifact name="spring-security-acl" type="jar" />
>>> </dependency>
>>>
>>> <dependency org="org.springframework.security"
>>> name="spring-security-taglibs" rev="2.0.1" conf="package_war- 
>>> >default">
>>> <artifact name="spring-security-taglibs" type="jar" />
>>> <artifact name="spring-security-acl" type="jar" />
>>> </dependency>
>>>
>>> The spring-security-acl-2.0.1.jar is downloaded but the taglib  
>>> fails with:
>>>
>>> [ivy:retrieve] :: problems summary ::
>>> [ivy:retrieve] :::: WARNINGS
>>> [ivy:retrieve]          [NOT FOUND  ]
>>>
>>> org.springframework.security#spring-security-acl;2.0.1!spring- 
>>> security-acl.bundle
>>> (375ms)
>>> [ivy:retrieve]  ==== public: tried
>>> [ivy:retrieve]
>>>
>>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
>>> [ivy:retrieve]          [NOT FOUND  ]
>>>
>>> org.springframework.security#spring-security-taglibs;2.0.1!spring- 
>>> security-acl.jar
>>> (375ms)
>>> [ivy:retrieve]  ==== public: tried
>>> [ivy:retrieve]
>>>
>>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.ja
>>> [ivy:retrieve 
>>> ]          ::::::::::::::::::::::::::::::::::::::::::::::
>>> [ivy:retrieve]          ::              FAILED  
>>> DOWNLOADS            ::
>>> [ivy:retrieve]          :: ^ see resolution messages for details   
>>> ^ ::
>>> [ivy:retrieve 
>>> ]          ::::::::::::::::::::::::::::::::::::::::::::::
>>> [ivy:retrieve]          ::
>>>
>>> org.springframework.security#spring-security-taglibs;2.0.1!spring- 
>>> security-acl.jar
>>> [ivy:retrieve]          ::
>>>
>>> org.springframework.security#spring-security-acl;2.0.1!spring- 
>>> security-acl.bundle
>>> [ivy:retrieve 
>>> ]          ::::::::::::::::::::::::::::::::::::::::::::::
>>>
>>> Any ideas?
>>>
>>
>> yep, see https://issues.apache.org/jira/browse/IVY-633
>>
>> And there is another error in your dependency declaration :
>>
>> <dependency org="org.springframework.security"
>>> name="spring-security-taglibs" rev="2.0.1" conf="package_war- 
>>> >default">
>>> <artifact name="spring-security-taglibs" type="jar" />
>>> <artifact name="spring-security-acl" type="jar" />
>>> </dependency>
>>>
>>
>> you say here that you want the artifact with the name spring- 
>> security-acl
>> for the module spring-security-taglibs:
>>
>>
>>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.jar
>>>
>>
>> which obviously doesn't exists.
>>
>> Nicolas
>>
>>


Re: Error with Spring Security Tagblib download

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

The weird thing is anytime I add

<dependency org="org.springframework.security"
name="spring-security-taglibs" rev="2.0.1">
    <artifact name="spring-security-taglibs" type="jar" />
</dependency>

The resolve fails with

[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          [NOT FOUND  ]
org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
(360ms)
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::              FAILED DOWNLOADS            ::
[ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::
org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::

So I tried adding and excluding spring-security-acl from the dependency
declaration to no avail. Of course, the spring-security-acl-2.0.1.jar is
actually downloaded and available in the .ivy2/cache folder

Regards,

On Thu, May 8, 2008 at 5:00 PM, Nicolas Lalevée <ni...@hibnet.org>
wrote:

>
> Le 8 mai 08 à 10:30, Jose Noheda a écrit :
>
>
>  Hi,
>>
>> I'm trying different combinations of:
>>
>> <dependency org="org.springframework.security" name="spring-security-acl"
>> rev="2.0.1" conf="compile->default" force="true">
>>  <artifact name="spring-security-acl" type="jar" />
>> </dependency>
>>
>> <dependency org="org.springframework.security"
>> name="spring-security-taglibs" rev="2.0.1" conf="package_war->default">
>>  <artifact name="spring-security-taglibs" type="jar" />
>>  <artifact name="spring-security-acl" type="jar" />
>> </dependency>
>>
>> The spring-security-acl-2.0.1.jar is downloaded but the taglib fails with:
>>
>> [ivy:retrieve] :: problems summary ::
>> [ivy:retrieve] :::: WARNINGS
>> [ivy:retrieve]          [NOT FOUND  ]
>>
>> org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
>> (375ms)
>> [ivy:retrieve]  ==== public: tried
>> [ivy:retrieve]
>>
>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
>> [ivy:retrieve]          [NOT FOUND  ]
>>
>> org.springframework.security#spring-security-taglibs;2.0.1!spring-security-acl.jar
>> (375ms)
>> [ivy:retrieve]  ==== public: tried
>> [ivy:retrieve]
>>
>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.ja
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
>> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]          ::
>>
>> org.springframework.security#spring-security-taglibs;2.0.1!spring-security-acl.jar
>> [ivy:retrieve]          ::
>>
>> org.springframework.security#spring-security-acl;2.0.1!spring-security-acl.bundle
>> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>>
>> Any ideas?
>>
>
> yep, see https://issues.apache.org/jira/browse/IVY-633
>
> And there is another error in your dependency declaration :
>
>  <dependency org="org.springframework.security"
>> name="spring-security-taglibs" rev="2.0.1" conf="package_war->default">
>>  <artifact name="spring-security-taglibs" type="jar" />
>>  <artifact name="spring-security-acl" type="jar" />
>> </dependency>
>>
>
> you say here that you want the artifact with the name spring-security-acl
> for the module spring-security-taglibs:
>
>
>> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.jar
>>
>
> which obviously doesn't exists.
>
> Nicolas
>
>

Re: Error with Spring Security Tagblib download

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 8 mai 08 à 10:30, Jose Noheda a écrit :

> Hi,
>
> I'm trying different combinations of:
>
> <dependency org="org.springframework.security" name="spring-security- 
> acl"
> rev="2.0.1" conf="compile->default" force="true">
>  <artifact name="spring-security-acl" type="jar" />
> </dependency>
>
> <dependency org="org.springframework.security"
> name="spring-security-taglibs" rev="2.0.1" conf="package_war- 
> >default">
>  <artifact name="spring-security-taglibs" type="jar" />
>  <artifact name="spring-security-acl" type="jar" />
> </dependency>
>
> The spring-security-acl-2.0.1.jar is downloaded but the taglib fails  
> with:
>
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]          [NOT FOUND  ]
> org.springframework.security#spring-security-acl;2.0.1!spring- 
> security-acl.bundle
> (375ms)
> [ivy:retrieve]  ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/org/springframework/security/spring-security-acl/2.0.1/spring-security-acl-2.0.1.bundle
> [ivy:retrieve]          [NOT FOUND  ]
> org.springframework.security#spring-security-taglibs;2.0.1!spring- 
> security-acl.jar
> (375ms)
> [ivy:retrieve]  ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.ja
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::
> org.springframework.security#spring-security-taglibs;2.0.1!spring- 
> security-acl.jar
> [ivy:retrieve]          ::
> org.springframework.security#spring-security-acl;2.0.1!spring- 
> security-acl.bundle
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
>
> Any ideas?

yep, see https://issues.apache.org/jira/browse/IVY-633

And there is another error in your dependency declaration :

> <dependency org="org.springframework.security"
> name="spring-security-taglibs" rev="2.0.1" conf="package_war- 
> >default">
>  <artifact name="spring-security-taglibs" type="jar" />
>  <artifact name="spring-security-acl" type="jar" />
> </dependency>

you say here that you want the artifact with the name spring-security- 
acl for the module spring-security-taglibs:

> http://repo1.maven.org/maven2/org/springframework/security/spring-security-taglibs/2.0.1/spring-security-acl-2.0.1.jar

which obviously doesn't exists.

Nicolas