Hi folks,

that works for me

    <dependency>
      <groupId>org.quartz-scheduler</groupId>
      <artifactId>quartz</artifactId>
      <version>2.0.0</version>
      <exclusions>
        <exclusion>
          <groupId>c3p0</groupId>
          <artifactId>c3p0</artifactId>
        </exclusion>
      </exclusions>
    </dependency>    

since the DB connection pool c3p0 is only required when using a database - but 
I was wrong regarding jta and slf4j.

Cheers,

Siegfried Goeschl



----- Ursprüngliche Mail -----
Von: "Ludwig Magnusson" <lud...@itcatapult.com>
An: "Turbine Developers List" <dev@turbine.apache.org>
Gesendet: Freitag, 23. September 2011 11:17:32
Betreff: Re: [fulcrum] [VOTE] Release fulcrum-quartz-1.1.0 based on RC1

I excluded the dependencies from quartz in the fulcrum-quarz pom like this:

    <dependency>
      <groupId>org.quartz-scheduler</groupId>
      <artifactId>quartz</artifactId>
      <version>1.8.3</version>
      <exclusions>
        <exclusion>
          <groupId>javax.transaction</groupId>
          <artifactId>jta</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-log4j12</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

ran mvn clean test, all tests failed.
Does not seem like an option?
/Ludwig

-----Ursprungligt meddelande----- 
From: Thomas Vandahl
Sent: Thursday, September 22, 2011 7:06 PM
To: Turbine Developers List
Subject: Re: [fulcrum] [VOTE] Release fulcrum-quartz-1.1.0 based on RC1

Hi Siegfried,

On 20.09.11 22:14, Siegfried Göschl wrote:
> one question - the quartz library pulls in javax.transaction, c3p0 and 
> slf4j since this is defined in its pom. Do we really want those dependency 
> propagated or shall we exclude them directly for this project?

Well, I'm not able to tell whether they are needed or not. If the
dependencies are not required, the should have been made optional in the
first place. Can we define them as optional for fulcrum-quartz and
override the quartz-POM?

I have a bad feeling about excluding dependencies that might shoot users
in the foot.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org

Reply via email to