jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-564) Remove geronimo JTA as a runtime dependency
Date Thu, 07 Sep 2006 12:28:25 GMT
    [ http://issues.apache.org/jira/browse/JCR-564?page=comments#action_12433095 ] 
            
Dominique Pfister commented on JCR-564:
---------------------------------------

You probably allude to the following lines in jackrabbit/trunk/jcr-server/webapp/project.xml:

<dependency>
  <groupId>geronimo-spec</groupId>
  <artifactId>geronimo-spec-jta</artifactId>
  <version>1.0-M1</version>
  <properties>
    <war.bundle>true</war.bundle>
  </properties>
</dependency>

Actually, Jackrabbit's session implementation o.a.j.core.XASessionImpl references XAResource
from the javax.transaction.xa package. Being of course a mandatory part of an application
server, this jar has been included in the web application when used in servlet container environments,
where it is optional. If you still need the "geronimo-free" web application, changing the
value of the property "war.bundle" to "false" in your local copy should do the trick.

> Remove geronimo JTA as a runtime dependency
> -------------------------------------------
>
>                 Key: JCR-564
>                 URL: http://issues.apache.org/jira/browse/JCR-564
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 1.0.1
>            Reporter: Michael Neale
>            Priority: Critical
>
> Geronimo JTA is marked as a dependency for runtime when it should be (at most) a compile
time dependency. 
> Is it possible to remedy this so when using the war or building your own, you don't get
the geronimo jar stowing away?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message