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

A non-full build should not generate javadocs and run the enforcer rules twice

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 8.1.0.Final
    • None
    • None
    • None

      To reproduce: run "mvn clean -DskipTests" for optaplanner-persistence-jackson on 8.x and 7.x. On 7.x it takes 0.5 seconds, on master it takes 2.5 seconds.
      Same applies to all other jars.
      This is a side effect of dropping OSGi, which changed the pom type from "bundle" to "jar", with jboss-parent and optaplanner-build-parent in the mix.

      Any changes should probably be applied to optaplanner-build-parent.
      Do note that optaplanner-build-parent stills contains a bunch of garbage and good stuff copy-pasted from kie-parent. Not all the garbage has been removed yet, but that's a different issue (although feel free to clean some bits up too if you so desire).

      Also see:
      https://kie.zulipchat.com/#narrow/stream/232679-optaplanner/topic/slower.20builds.20in.208.2Ex

      Important: a -Dfull build should generate javadocs. (even if we stop distributing in the zip because Javadocs must be validated during CI checks and javadocs jars must make it to maven central).

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

              Created:
              Updated:
              Resolved: