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

Enhance the distribution script to detect missing artifacts

    XMLWordPrintable

Details

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

    Description

      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>
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: