Github user jwonders commented on the issue:

    https://github.com/apache/incubator-rya/pull/159
  
    I described some options in the Jira issue, and the maven plugin was one.  
Configurability was not a big driver of the decision.  The downside of the 
plugin approach is that IDEs do not by default know to use the plugin to start 
and stop the minicluster.  I think it is possible to configure the major ones 
to run maven goals before and after tests, but it seems like more work for the 
developer.  I usually do not like to use singletons, but I think this is a rare 
situation where a singleton is appropriate.  Note, that it would be possible to 
introduce a service loading layer to make a choice at runtime between the maven 
plugin, a lazy-singleton, and even a real accumulo cluster.  This introduces 
more complexity though so I went with what I deemed to be the simplest approach 
for both implementation and developer.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to