Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5007

Enhance the distribution script to detect missing artifacts

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Alpha1, 7.0.3.Final
    • 7.0.2.Final
    • Build
    • None

      The build should fail if the maven artifacts to be copied into the distribution jar are not found.

      To reproduce the issue apply this patch (the build will succeed but the distribution .zip will not contain the uberjars):

      diff --git a/all/pom.xml b/all/pom.xml
      index cecd6c6..779ed97 100644
      --- a/all/pom.xml
      +++ b/all/pom.xml
      @@ -25,7 +25,7 @@
                      <executions>
                         <execution>
                            <id>mrproper</id>
      -                     <phase>prepare-package</phase>
      +                     <phase>initialize</phase>
                            <goals>
                               <goal>clean</goal>
                            </goals>
      

              isavin_jira Ion Savin (Inactive)
              isavin_jira Ion Savin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: