Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-10

The drools-planner-benchmark artifact should not depend on itext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • None
    • None
    • optaplanner-benchmark
    • None

      itext is pdf stuff, which we don't need normally. Furthermore, the itext jar has a MANIFEST.mf classpath entry that leads to an unexisting itext-toolbox jar.

      [INFO] +- org.drools.planner:drools-planner-benchmark:jar:5.5.0-SNAPSHOT:compile
      [INFO] |  +- org.jfree:jfreechart:jar:1.0.14:compile
      [INFO] |  |  +- org.jfree:jcommon:jar:1.0.17:compile
      [INFO] |  |  +- xml-apis:xml-apis:jar:1.3.04:compile
      [INFO] |  |  \- com.lowagie:itext:jar:2.1.2:compile (version managed from 2.1.5)
      [INFO] |  |     +- bouncycastle:bcmail-jdk14:jar:138:compile
      [INFO] |  |     \- bouncycastle:bcprov-jdk14:jar:138:compile
      [INFO] |  \- org.freemarker:freemarker:jar:2.3.19:compile
      

      Which results in to this warn messages when deploying drools-planner-webexamples to jboss:

      2012/06/06 02:35:48,584 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "droolsplanner.war"
      2012/06/06 02:35:48,665 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "ROOT.war"
      2012/06/06 02:35:51,780 INFO  [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context:
      2012/06/06 02:36:00,799 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox.jar in "/content/droolsplanner.war/WEB-INF lib/itext-2.1.2.jar"  does not point to a valid jar for a Class-Path reference.
      2012/06/06 02:36:00,879 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox-2.1.2.jar in "/content/droolsplanner.war/WEB-INF/lib/itext-2.1.2.jar"  does not point to a valid jar for a Class-Path reference.
      2012/06/06 02:36:01,070 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'
      2012/06/06 02:36:02,620 INFO  [org.jboss.web] (MSC service thread 1-3) JBAS018210: Registering web context: /droolsplanner
      2012/06/06 02:36:06,433 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "droolsplanner.war"
      2012/06/06 02:36:06,608 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "ROOT.war"
      

            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: