Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3748

Maven apache-release profile on single module fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Tools, Build & Test
    • None

    Description

      Running Maven with the apache-release profile enabled fails when run on just the drill-jdbc-all module.

      (Building all of Drill with that profile seems to work, but trying to re-build just the drill-jdbc-all module}} fails. That means that the edit/regenerate/check loop for JDBC Javadoc documentation (coming with DRILL-3160) takes much longer, since one can't incrementally rebuild just the drill-jdbc-all module (with the apache-release profile, which is needed for that Javadoc).)

      Specifically, although this command works:

      mvn install -DskipTests -Papache-release -Dgpg.skip=true
      

      executing the following (even right after the above command) fails:

      cd exec/jdbc-all
      mvn install -DskipTests -Papache-release -Dgpg.skip=true
      

      That yields error as in:

      [INFO] --- maven-assembly-plugin:2.4:single (source-release-assembly) @ drill-jdbc-all ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 29.923 s
      [INFO] Finished at: 2015-09-08T10:43:19-07:00
      [INFO] Final Memory: 47M/443M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (source-release-assembly) on project drill-jdbc-all: Error reading assemblies: Error locating assembly descriptor: src/main/resources/assemblies/source-assembly.xml
      [ERROR] 
      [ERROR] [1] [INFO] Searching for file location: /home/dbarclay/work/git/incubator-drill/exec/jdbc-all/src/main/resources/assemblies/source-assembly.xml
      [ERROR] 
      [ERROR] [2] [INFO] File: /home/dbarclay/work/git/incubator-drill/exec/jdbc-all/src/main/resources/assemblies/source-assembly.xml does not exist.
      [ERROR] 
      [ERROR] [3] [INFO] File: /home/dbarclay/work/git/incubator-drill/exec/jdbc-all/src/main/resources/assemblies/source-assembly.xml does not exist.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: