You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Jason M Jones (JIRA)" <ji...@apache.org> on 2010/11/05 21:26:42 UTC

[jira] Created: (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Fix OSGI Exports and Imports for org.apache.shiro.ehcache
---------------------------------------------------------

                 Key: SHIRO-214
                 URL: https://issues.apache.org/jira/browse/SHIRO-214
             Project: Shiro
          Issue Type: Bug
          Components: Caching 
    Affects Versions: 1.1.0
            Reporter: Jason M Jones


Shiro Eh-cache has no exports in the Manifest.MF

Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.

I would suggest changing the Import-Package and Export-Package declarations to:

Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
 o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
 .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
 ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
Export-Package: org.apache.shiro.cache.ehcache

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Posted by "Tuomas Kiviaho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263348#comment-13263348 ] 

Tuomas Kiviaho commented on SHIRO-214:
--------------------------------------

It should start as org.apache.shiro.cache.ehcache* where EHCacheManager resides and not as org.apache.shiro.ehcache* which doesn't even exist.

As a side note: There doesn't seem to be 1.2.1-SNAPSHOT available in the https://repository.apache.org/ although 1.3.0-SNAPSHOT exists.
                
> Fix OSGI Exports and Imports for org.apache.shiro.ehcache
> ---------------------------------------------------------
>
>                 Key: SHIRO-214
>                 URL: https://issues.apache.org/jira/browse/SHIRO-214
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.1.0
>            Reporter: Jason M Jones
>             Fix For: 1.2.0
>
>
> Shiro Eh-cache has no exports in the Manifest.MF
> Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.
> I would suggest changing the Import-Package and Export-Package declarations to:
> Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
>  o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
>  .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
>  ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
> Export-Package: org.apache.shiro.cache.ehcache

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928975#action_12928975 ] 

Alan Cabrera commented on SHIRO-214:
------------------------------------

I was thinking that using PAX Exam to test the headers might be a good idea.

> Fix OSGI Exports and Imports for org.apache.shiro.ehcache
> ---------------------------------------------------------
>
>                 Key: SHIRO-214
>                 URL: https://issues.apache.org/jira/browse/SHIRO-214
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.1.0
>            Reporter: Jason M Jones
>
> Shiro Eh-cache has no exports in the Manifest.MF
> Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.
> I would suggest changing the Import-Package and Export-Package declarations to:
> Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
>  o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
>  .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
>  ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
> Export-Package: org.apache.shiro.cache.ehcache

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Resolved] (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved SHIRO-214.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0

This was fixed as a result of finishing SHIRO-274.  If you believe this to be incorrect, please reopen the issue.

> Fix OSGI Exports and Imports for org.apache.shiro.ehcache
> ---------------------------------------------------------
>
>                 Key: SHIRO-214
>                 URL: https://issues.apache.org/jira/browse/SHIRO-214
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.1.0
>            Reporter: Jason M Jones
>             Fix For: 1.2.0
>
>
> Shiro Eh-cache has no exports in the Manifest.MF
> Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.
> I would suggest changing the Import-Package and Export-Package declarations to:
> Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
>  o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
>  .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
>  ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
> Export-Package: org.apache.shiro.cache.ehcache

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Posted by "Tuomas Kiviaho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262611#comment-13262611 ] 

Tuomas Kiviaho commented on SHIRO-214:
--------------------------------------

Please reopen the issue since export clause in pom.xml is not correct.
                
> Fix OSGI Exports and Imports for org.apache.shiro.ehcache
> ---------------------------------------------------------
>
>                 Key: SHIRO-214
>                 URL: https://issues.apache.org/jira/browse/SHIRO-214
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.1.0
>            Reporter: Jason M Jones
>             Fix For: 1.2.0
>
>
> Shiro Eh-cache has no exports in the Manifest.MF
> Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.
> I would suggest changing the Import-Package and Export-Package declarations to:
> Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
>  o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
>  .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
>  ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
> Export-Package: org.apache.shiro.cache.ehcache

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262682#comment-13262682 ] 

Les Hazlewood commented on SHIRO-214:
-------------------------------------

What does it need to be changed to?
                
> Fix OSGI Exports and Imports for org.apache.shiro.ehcache
> ---------------------------------------------------------
>
>                 Key: SHIRO-214
>                 URL: https://issues.apache.org/jira/browse/SHIRO-214
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.1.0
>            Reporter: Jason M Jones
>             Fix For: 1.2.0
>
>
> Shiro Eh-cache has no exports in the Manifest.MF
> Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.
> I would suggest changing the Import-Package and Export-Package declarations to:
> Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
>  o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
>  .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
>  ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
> Export-Package: org.apache.shiro.cache.ehcache

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SHIRO-214) Fix OSGI Exports and Imports for org.apache.shiro.ehcache

Posted by "Les Hazlewood (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood closed SHIRO-214.
-------------------------------


Closing with the 1.2.0 release.
                
> Fix OSGI Exports and Imports for org.apache.shiro.ehcache
> ---------------------------------------------------------
>
>                 Key: SHIRO-214
>                 URL: https://issues.apache.org/jira/browse/SHIRO-214
>             Project: Shiro
>          Issue Type: Bug
>          Components: Caching 
>    Affects Versions: 1.1.0
>            Reporter: Jason M Jones
>             Fix For: 1.2.0
>
>
> Shiro Eh-cache has no exports in the Manifest.MF
> Also, it requires a version of 1.4.0 to 2.0.0 for net.sf.ehcache, but upon reviewing the requirements, it requires version 2.2.0 of the Jar.
> I would suggest changing the Import-Package and Export-Package declarations to:
> Import-Package: net.sf.ehcache;version="[1.4.0,3.0.0)",org.apache.shir
>  o.cache;version="[1.1.0,2.0.0)",org.apache.shiro.config;version="[1.1
>  .0,2.0.0)",org.apache.shiro.io;version="[1.1.0,2.0.0)",org.apache.shi
>  ro.util;version="[1.1.0,2.0.0)",org.slf4j;version="1.6"
> Export-Package: org.apache.shiro.cache.ehcache

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira