[ 
https://issues.apache.org/jira/browse/DRILL-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Barclay (Drill) updated DRILL-3748:
------------------------------------------
    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:

{noformat}
mvn install -DskipTests -Papache-release -Dgpg.skip=true
{noformat}

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

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

That yields error as in:

{noformat}
[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.
{noformat}



  was:
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:

{noformat}
mvn install -DskipTests -Papache-release -Dgpg.skip=true
{noformat}

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

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



> Maven apache-release profile on single module fails
> ---------------------------------------------------
>
>                 Key: DRILL-3748
>                 URL: https://issues.apache.org/jira/browse/DRILL-3748
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>            Reporter: Daniel Barclay (Drill)
>
> 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:
> {noformat}
> mvn install -DskipTests -Papache-release -Dgpg.skip=true
> {noformat}
> executing the following (even right after the above command) fails:
> {noformat}
> cd exec/jdbc-all
> mvn install -DskipTests -Papache-release -Dgpg.skip=true
> {noformat}
> That yields error as in:
> {noformat}
> [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.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to