You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2016/05/09 20:32:12 UTC

[jira] [Reopened] (ACCUMULO-2118) Generate classloader test jars

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

Christopher Tubbs reopened ACCUMULO-2118:
-----------------------------------------

Instead of putting this in a profile, we should always build these from source, and not check in the jars.

Additionally, the script uses the path to find the correct version of java, whereas most of Maven uses $JAVA_HOME, and these scripts will break the rest of the build if the version on the path is incompatible with what $JAVA_HOME is set to (similar issue as https://github.com/mojohaus/maven-native/issues/2). The script should use $JAVA_HOME/bin/* if $JAVA_HOME is set. Rather than use a script, a mini maven project might be better (similar to the invoker stuff in maven-plugin module).

> Generate classloader test jars
> ------------------------------
>
>                 Key: ACCUMULO-2118
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2118
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Christopher Tubbs
>            Assignee: Dave Marion
>            Priority: Blocker
>             Fix For: 1.8.0
>
>
> The test jars we use to test the classloader can be built automatically from source... probably by using the maven-invoker-plugin (easiest?), or additional invocations of the maven-compiler-plugin/maven-jar-plugin.



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