On 17 January 2012 21:59, Ian Brandt <i...@ianbrandt.com> wrote:
>
> Greetings,
>
> I'm shifting discussion to here from "Bug 49753 - Please publish jMeter 
> artifacts on Maven central repository" [1].
>
> Considering an outright switch to Maven is a no go [2],

IMO Maven works well for some projects, particularly single component
(module) builds.
Multi-module Maven does not work as well; in particular the test phase
requires the project to be (re)installed first.

> what do developers think about delegating dependency management in the JMeter 
> Ant build to the Maven Ant Tasks or Apache Ivy?  The primary benefit would be 
> that POMs could be generated to satisfy Bug 49753 that would be based on the 
> same dependencies used by Ant to compile and execute tests.

JMeter dependencies don't tend to change very frequently, so the
question is: is the effort required to introduce Ivy/MAT worth it?

> Using Ivy as an example (the Maven Ant Tasks have synonymous functionality), 
> the change would roughly entail the following:
>
> - Dependency information in build.properties would move to a corresponding 
> ivy.xml [3] file.
> - The _process_all_jars Ant target and friends would be implemented with the 
> Ivy resolve [4] and retrieve [5] tasks.
> - Corresponding classpaths would be generated with the cachepath [6] task.
> - Equivalent POMs would be generated with the makepom [7] task.
> - JMeter JARs would be published to Nexus [8] with the publish [9] task.

I assume that the main build and release procedures would be unaffected?
Is that correct?

Does Ivy generate source jars? Javadoc jars?
If so, what configuration is needed?
Can the config be re-used for the compilation phase?

> Regards,
>
> Ian
>
>
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=49753
> [2] https://issues.apache.org/bugzilla/show_bug.cgi?id=50324
> [3] http://ant.apache.org/ivy/history/2.2.0/ivyfile.html
> [4] http://ant.apache.org/ivy/history/2.2.0/use/resolve.html
> [5] http://ant.apache.org/ivy/history/2.2.0/use/retrieve.html
> [6] http://ant.apache.org/ivy/history/2.2.0/use/cachepath.html
> [7] http://ant.apache.org/ivy/history/2.2.0/use/makepom.html
> [8] https://issues.apache.org/jira/browse/INFRA-4332
> [9] http://ant.apache.org/ivy/history/2.2.0/use/publish.html
>

Reply via email to